提交 5a5a7b79 authored 作者: 艾庆国's avatar 艾庆国

运单预警

上级 a50e49c8
...@@ -174,7 +174,7 @@ public class VehicleWarnInfoServiceImpl implements VehicleWarnInfoService { ...@@ -174,7 +174,7 @@ public class VehicleWarnInfoServiceImpl implements VehicleWarnInfoService {
List<OrderChild> list = orderChildDao.listByChildNoList(childNoList); List<OrderChild> list = orderChildDao.listByChildNoList(childNoList);
Map<String, OrderChild> map = list.stream().collect(Collectors.toMap(item -> item.getChildNo(), item -> item)); Map<String, OrderChild> map = list.stream().collect(Collectors.toMap(item -> item.getChildNo(), item -> item));
for (VehicleWarnInfoVO record : page.getRecords()) { for (VehicleWarnInfoVO record : page.getRecords()) {
record.setStatus(map.get(record.getChildNo()).getStatus()); record.setChildStatus(map.get(record.getChildNo()).getStatus());
} }
} }
return page; return page;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论