fix:单独上料

This commit is contained in:
zhengxuming
2025-08-07 16:49:59 +08:00
parent 0d1a54a6ff
commit 3e55f8b6aa
3 changed files with 9 additions and 2 deletions

View File

@@ -182,6 +182,7 @@ public class DownEmptyUpFullTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, taskObj.getVehicle_code())
.set(SchBasePoint::getPoint_status, "3")
.set(SchBasePoint::getVehicle_qty, 1)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())
@@ -190,6 +191,7 @@ public class DownEmptyUpFullTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, null)
.set(SchBasePoint::getPoint_status, "1")
.set(SchBasePoint::getVehicle_qty, 0)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())
@@ -198,6 +200,7 @@ public class DownEmptyUpFullTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, taskObj.getVehicle_code2())
.set(SchBasePoint::getPoint_status, "2")
.set(SchBasePoint::getVehicle_qty, 1)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())
@@ -210,6 +213,7 @@ public class DownEmptyUpFullTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, null)
.set(SchBasePoint::getPoint_status, "1")
.set(SchBasePoint::getVehicle_qty, 0)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())
@@ -218,6 +222,7 @@ public class DownEmptyUpFullTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, taskObj.getVehicle_code())
.set(SchBasePoint::getPoint_status, "3")
.set(SchBasePoint::getVehicle_qty, 1)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())
@@ -226,6 +231,7 @@ public class DownEmptyUpFullTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, taskObj.getVehicle_code2())
.set(SchBasePoint::getPoint_status, "1")
.set(SchBasePoint::getVehicle_qty, 0)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())

View File

@@ -171,6 +171,7 @@ public class SeparateMaterialTask extends AbstractTask {
pointService.update(new LambdaUpdateWrapper<SchBasePoint>()
.set(SchBasePoint::getVehicle_code, taskObj.getVehicle_code())
.set(SchBasePoint::getPoint_status, "2")
.set(SchBasePoint::getVehicle_qty, 1)
.set(SchBasePoint::getUpdate_id, SecurityUtils.getCurrentUserId())
.set(SchBasePoint::getUpdate_name, SecurityUtils.getCurrentNickName())
.set(SchBasePoint::getUpdate_time, DateUtil.now())

View File

@@ -1037,7 +1037,7 @@ public class OutBillServiceImpl extends ServiceImpl<IOStorInvMapper,IOStorInv> i
task_form.put("task_type", "DownEmptyUpFullTask");
task_form.put("order_id", whereJson.getString("order_id"));
task_form.put("task_code", whereJson.getString("task_code"));
task_form.put("point_code1", whereJson.getString("point_code1"));
task_form.put("point_code1", whereJson.getString("point_code"));
task_form.put("point_code2", whereJson.getString("point_code2"));
task_form.put("point_code3", whereJson.getString("point_code3"));
task_form.put("point_code4", whereJson.getString("point_code4"));
@@ -1057,7 +1057,7 @@ public class OutBillServiceImpl extends ServiceImpl<IOStorInvMapper,IOStorInv> i
task_form2.put("point_code1", whereJson.getString("point_code2"));
task_form2.put("point_code2", whereJson.getString("point_code3"));
task_form2.put("point_code3", whereJson.getString("point_code4"));
task_form2.put("point_code4", whereJson.getString("point_code1"));
task_form2.put("point_code4", whereJson.getString("point_code"));
task_form.put("vehicle_code", ioStorInvDis.getStoragevehicle_code());
task_form.put("vehicle_code2",point3.getVehicle_code());
task_form2.put("group_id", whereJson.getString("group_id"));