Commit 30b5a49e authored by Tong Li's avatar Tong Li

优先级

parent 1c3a79db
...@@ -655,7 +655,9 @@ order.setDueDate(LocalDateTime.of(2025, 12, 1,0,0,0)); ...@@ -655,7 +655,9 @@ order.setDueDate(LocalDateTime.of(2025, 12, 1,0,0,0));
Map<Integer,Object> list= InitEntrys(SceneId,ProdEquipments,orders); Map<Integer,Object> list= InitEntrys(SceneId,ProdEquipments,orders);
List<Entry> entrys=(List<Entry>)list.get(1); List<Entry> entrys=(List<Entry>)list.get(1);
List<GroupResult> entryRel=(List<GroupResult>)list.get(2); List<GroupResult> entryRel=(List<GroupResult>)list.get(2);
entrys.sort(
Comparator.comparing(Entry::getPriority)
);
Set<Long> machineIds=(Set<Long>)list.get(3); Set<Long> machineIds=(Set<Long>)list.get(3);
machines= machines.stream().filter(t->machineIds.contains(t.getId())).collect(Collectors.toList()); machines= machines.stream().filter(t->machineIds.contains(t.getId())).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