refactor: 出库任务,优化
This commit is contained in:
parent
f11994376f
commit
9c3143e0bf
@ -92,7 +92,8 @@ public class WmsOutTaskServiceImpl implements IWmsOutTaskService {
|
|||||||
entityQuery.setWmsOutPlanDetailId(wmsOutTask.getWmsOutPlanDetailId());
|
entityQuery.setWmsOutPlanDetailId(wmsOutTask.getWmsOutPlanDetailId());
|
||||||
List<WmsOutPlanDetailEntity> wmsOutPlanDetailEntityList = wmsOutPlanDetailEntityMapper.selectWmsOutPlanDetailEntityList(entityQuery);
|
List<WmsOutPlanDetailEntity> wmsOutPlanDetailEntityList = wmsOutPlanDetailEntityMapper.selectWmsOutPlanDetailEntityList(entityQuery);
|
||||||
|
|
||||||
wmsOutPlanDetailEntityList.forEach(nowWmsOutPlanDetailEntity -> {
|
wmsOutPlanDetailEntityList.subList(0, wmsOutTask.getOutNumber()).forEach(nowWmsOutPlanDetailEntity -> {
|
||||||
|
|
||||||
// 根据出库实例对象获取出库计划明细
|
// 根据出库实例对象获取出库计划明细
|
||||||
WmsOutPlanDetail wmsOutPlanDetail = this.wmsOutPlanMapper.selectWmsOutPlanDetailById(nowWmsOutPlanDetailEntity.getWmsOutPlanDetailId());
|
WmsOutPlanDetail wmsOutPlanDetail = this.wmsOutPlanMapper.selectWmsOutPlanDetailById(nowWmsOutPlanDetailEntity.getWmsOutPlanDetailId());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user