|
@@ -908,10 +908,10 @@ public class OrderServiceImpl extends SuperServiceImpl<OrderMapper, Order> imple
|
|
|
Machine machine = machindeIterator.next().getValue();
|
|
|
// 查找该设备正在进行中的任务
|
|
|
Map params = new HashMap();
|
|
|
- params.put("resoureId",machine.getId());
|
|
|
+ params.put("resourceId",machine.getId());
|
|
|
params.put("status","2");
|
|
|
int total = taskService.selectTotalMachineUseTime(params);
|
|
|
- machine.setAssignedTaskWork(total);
|
|
|
+ machine.setHisAssignedTaskWork(total);
|
|
|
}
|
|
|
// end modify by yejian on 20220504 遍历设备查找设备上正在加工的工序时间累积,解决多设备排产时设备分配不均匀问题
|
|
|
|