二车间fix
This commit is contained in:
@@ -198,12 +198,6 @@ public class BPSLTask extends AbstractTask {
|
|||||||
for(int i=1;i<=3;i++) {
|
for(int i=1;i<=3;i++) {
|
||||||
SchBasePoint point = pointService.getById(startPoint.substring(0,startPoint.length()-1)+i);
|
SchBasePoint point = pointService.getById(startPoint.substring(0,startPoint.length()-1)+i);
|
||||||
if(ObjectUtil.isNotEmpty(point)) {
|
if(ObjectUtil.isNotEmpty(point)) {
|
||||||
point.setIng_task_code("");
|
|
||||||
point.setVehicle_code("");
|
|
||||||
point.setVehicle_qty(0);
|
|
||||||
point.setUpdate_time(DateUtil.now());
|
|
||||||
point.setIng_task_code("");
|
|
||||||
pointService.update(point);
|
|
||||||
//二车间三层得单独找
|
//二车间三层得单独找
|
||||||
SchBaseVehiclematerialgroup one = vehiclematerialgroupService.getOne(new LambdaQueryWrapper<SchBaseVehiclematerialgroup>()
|
SchBaseVehiclematerialgroup one = vehiclematerialgroupService.getOne(new LambdaQueryWrapper<SchBaseVehiclematerialgroup>()
|
||||||
.eq(SchBaseVehiclematerialgroup::getVehicle_code, point.getVehicle_code())
|
.eq(SchBaseVehiclematerialgroup::getVehicle_code, point.getVehicle_code())
|
||||||
@@ -220,6 +214,12 @@ public class BPSLTask extends AbstractTask {
|
|||||||
one.setUpdate_time(DateUtil.now());
|
one.setUpdate_time(DateUtil.now());
|
||||||
vehiclematerialgroupService.updateById(one);
|
vehiclematerialgroupService.updateById(one);
|
||||||
}
|
}
|
||||||
|
point.setIng_task_code("");
|
||||||
|
point.setVehicle_code("");
|
||||||
|
point.setVehicle_qty(0);
|
||||||
|
point.setUpdate_time(DateUtil.now());
|
||||||
|
point.setIng_task_code("");
|
||||||
|
pointService.update(point);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if (!startPointObj.getPoint_code().startsWith("ZJBDJW")) {
|
// if (!startPointObj.getPoint_code().startsWith("ZJBDJW")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user