修正锁定过多问题

This commit is contained in:
刘名喜 2024-11-26 11:01:04 +08:00
parent 01185c654a
commit ea8f47d95e

View File

@ -160,7 +160,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
);
// 开始遍历出库计划子项
baseKnifeList.forEach(baseKnife -> {
baseKnifeList.subList(0, wmsOutPlanDetail.getPlannedQuantity()).forEach(baseKnife -> {
// 构建出库计划明细实体
WmsOutPlanDetailEntity wmsOutPlanDetailEntity = new WmsOutPlanDetailEntity();
wmsOutPlanDetailEntity.setWmsOutPlanDetailId(wmsOutPlanDetail.getWmsOutPlanDetailId());