Commit 995336dd by songyinghui

feat: 数据转换

parent d9798019
......@@ -351,7 +351,9 @@ public class MaterialDataAdaptor {
jsonObjects.stream()
.map(item -> {
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;
})
.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