Commit 977cc5d7 authored by shiyu's avatar shiyu

成交详情

parent 8b1cc87a
...@@ -111,6 +111,12 @@ public class QueryPriceServiceImpl implements QueryPriceService { ...@@ -111,6 +111,12 @@ public class QueryPriceServiceImpl implements QueryPriceService {
List<Map<String, Object>> mapList = new ArrayList<>(); List<Map<String, Object>> mapList = new ArrayList<>();
itemList.stream().forEach(i -> { itemList.stream().forEach(i -> {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
if (StringUtils.isEmpty(i.getVideos())){
map.put("hasVideo", false);
} else {
map.put("hasVideo", true);
}
map.put("id", i.getId());
map.put("bidTime", i.getBidTime()); map.put("bidTime", i.getBidTime());
map.put("price", Math.round(i.getPrice() / (double) 100)); map.put("price", Math.round(i.getPrice() / (double) 100));
map.put("platform", "电商平台"); map.put("platform", "电商平台");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment