|
|
@ -87,9 +87,10 @@ public class BPSLTask extends AbstractTask { |
|
|
|
log.info("包片上料未找到当前符合条件的点位materialType:{},",materialType); |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
task.setTask_type("3"); |
|
|
|
// 设置起点并修改创建成功状态
|
|
|
|
// 取料先去等待点
|
|
|
|
task.setTask_type("3"); |
|
|
|
task.setPoint_code1(point.getNext_wait_point()); |
|
|
|
task.setTask_status(TaskStatus.CREATED.getCode()); |
|
|
|
task.setRemark(""); |
|
|
@ -219,7 +220,7 @@ public class BPSLTask extends AbstractTask { |
|
|
|
if (startPointObj.getPoint_code().startsWith("ZJBDJW")) { |
|
|
|
startPointObj.setVehicle_qty(startPointObj.getVehicle_qty() + 1); |
|
|
|
} |
|
|
|
pointService.update(endPointObj); |
|
|
|
pointService.update(startPointObj); |
|
|
|
} |
|
|
|
taskObj.setRemark("任务取消"); |
|
|
|
taskObj.setTask_status(TaskStatus.CANCELED.getCode()); |
|
|
|