Commit 995336dd by songyinghui

feat: 数据转换

parent d9798019
...@@ -351,7 +351,9 @@ public class MaterialDataAdaptor { ...@@ -351,7 +351,9 @@ public class MaterialDataAdaptor {
jsonObjects.stream() jsonObjects.stream()
.map(item -> { .map(item -> {
MaterialStoreUsedDataVO temp = JSONObject.parseObject(item.toJSONString(), MaterialStoreUsedDataVO.class); MaterialStoreUsedDataVO temp = JSONObject.parseObject(item.toJSONString(), MaterialStoreUsedDataVO.class);
//temp.setDayAvgUseMatlNum(); temp.setDayAvgUseRate(item.getBigDecimal("dayAvgUseBindProportion"));
temp.setClickUserNum(item.getInteger("userClickNum"));
temp.setConvSalesNmt(item.getBigDecimal("convSalesAmt"));
return temp; return temp;
}) })
.collect(Collectors.toList()); .collect(Collectors.toList());
......
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