修改、修改排单逻辑

This commit is contained in:
yangsb
2024-05-07 16:36:36 +08:00
parent f3d13533b5
commit edf06e059d
@@ -132,7 +132,6 @@ public class PlanServiceImpl implements PlanService {
Long planId = plan.getId();
/*planOrderMapper.delete(new LambdaQueryWrapperX<PlanOrderDO>().eq(PlanOrderDO::getPlanId, planId));*/
planItemMapper.delete(new LambdaQueryWrapperX<PlanItemDO>().eq(PlanItemDO::getPlanId, planId));
/* List<Long> orderIds = updateReqVO.getOrderIds();
if (CollectionUtil.isNotEmpty(orderIds)) {
@@ -145,6 +144,7 @@ public class PlanServiceImpl implements PlanService {
}
planOrderMapper.insertBatch(planOrderDOS);
}*/
/* planItemMapper.delete(new LambdaQueryWrapperX<PlanItemDO>().eq(PlanItemDO::getPlanId, planId));
List<Long> plateIds = updateReqVO.getPlateIds();
if (CollectionUtil.isNotEmpty(plateIds)) {
ArrayList<PlanItemDO> planItemDOS = new ArrayList<>();
@@ -155,7 +155,7 @@ public class PlanServiceImpl implements PlanService {
.build());
}
planItemMapper.insertBatch(planItemDOS);
}
}*/
}