代码更新:
1. 站台数量修正代码
This commit is contained in:
parent
baa94e47ea
commit
ca6b2fd716
|
|
@ -1889,6 +1889,7 @@ public class TaskController {
|
|||
String lockMessage;
|
||||
if (standService.update(new LambdaUpdateWrapper<Stand>()
|
||||
.set(Stand::getStandStatus, 1)
|
||||
.set(Stand::getPickVehicleCount, 0)
|
||||
.eq(Stand::getStandId, standId))) {
|
||||
lockMessage = "锁定站台成功,整理完大盒子请点击整理结束按钮解锁。";
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -192,6 +192,7 @@ public class WmsTaskServiceImplements implements IWmsTaskService {
|
|||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成物料出库任务
|
||||
*
|
||||
|
|
@ -601,7 +602,8 @@ public class WmsTaskServiceImplements implements IWmsTaskService {
|
|||
pickTaskService.saveOrUpdateBatch(pickTaskMap.values());
|
||||
// 更新站台的拣选数量
|
||||
standService.update(new LambdaUpdateWrapper<Stand>()
|
||||
.setSql("pick_vehicle_count = pick_vehicle_count + " + addNum)
|
||||
.setIncrBy(Stand::getPickVehicleCount, addNum)
|
||||
// .setSql("pick_vehicle_count = pick_vehicle_count + " + addNum)
|
||||
.eq(Stand::getStandId, workStation));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user