|
@ -196,7 +196,8 @@ public class BPSLTask extends AbstractTask { |
|
|
// 起点清空
|
|
|
// 起点清空
|
|
|
// 起点解锁,当前三个点位全部清空
|
|
|
// 起点解锁,当前三个点位全部清空
|
|
|
for(int i=1;i<=3;i++) { |
|
|
for(int i=1;i<=3;i++) { |
|
|
SchBasePoint point = pointService.getById(endPoint.substring(0,endPoint.length()-1)+i); |
|
|
SchBasePoint point = pointService.getById(startPoint.substring(0,startPoint.length()-1)+i); |
|
|
|
|
|
if(ObjectUtil.isNotEmpty(point)) { |
|
|
point.setIng_task_code(""); |
|
|
point.setIng_task_code(""); |
|
|
point.setVehicle_code("0"); |
|
|
point.setVehicle_code("0"); |
|
|
point.setVehicle_qty(0); |
|
|
point.setVehicle_qty(0); |
|
@ -204,6 +205,7 @@ public class BPSLTask extends AbstractTask { |
|
|
point.setIng_task_code(""); |
|
|
point.setIng_task_code(""); |
|
|
pointService.update(point); |
|
|
pointService.update(point); |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
// if (!startPointObj.getPoint_code().startsWith("ZJBDJW")) {
|
|
|
// if (!startPointObj.getPoint_code().startsWith("ZJBDJW")) {
|
|
|
// startPointObj.setVehicle_qty(startPointObj.getVehicle_qty() - 1);
|
|
|
// startPointObj.setVehicle_qty(startPointObj.getVehicle_qty() - 1);
|
|
|
// }
|
|
|
// }
|
|
|