Commit 0811b007 by 王力

Merge branch 'dev_engineer_dynamics0728' into 'develop'

修改

See merge request !302
2 parents 7213a50a cb59b4e0
...@@ -157,7 +157,8 @@ public class EngineerTimelineServiceImpl implements EngineerTimelineService { ...@@ -157,7 +157,8 @@ public class EngineerTimelineServiceImpl implements EngineerTimelineService {
s.add(t.getOrderId() + t.getSuborderId()); s.add(t.getOrderId() + t.getSuborderId());
} }
for(OrderInfo o: orders){ List<OrderInfo> records = orders.stream().sorted(Comparator.comparing(OrderInfo::getPlanStartTime)).collect(Collectors.toList());
for(OrderInfo o: records){
order_id = o.getOrderId() + o.getSubId(); order_id = o.getOrderId() + o.getSubId();
if (s.contains(order_id)) { if (s.contains(order_id)) {
continue; continue;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!