Commit 8b1cc87a authored by shiyu's avatar shiyu

成交价格

parent df07299c
...@@ -112,7 +112,7 @@ public class QueryPriceServiceImpl implements QueryPriceService { ...@@ -112,7 +112,7 @@ public class QueryPriceServiceImpl implements QueryPriceService {
itemList.stream().forEach(i -> { itemList.stream().forEach(i -> {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("bidTime", i.getBidTime()); map.put("bidTime", i.getBidTime());
map.put("price", i.getPrice() / (double) 100); map.put("price", Math.round(i.getPrice() / (double) 100));
map.put("platform", "电商平台"); map.put("platform", "电商平台");
map.put("detail", i.getDetail()); map.put("detail", i.getDetail());
if (StringUtils.hasLength(i.getTopImage())) { if (StringUtils.hasLength(i.getTopImage())) {
......
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