fix:单独上料
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user