|
|
|
@ -3303,6 +3303,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
boolean isExit = checkList(list, reservationEntity.getId(), reservationStockarticleEntity.getStockArticleId(), p.getOrderPackageCode()); |
|
|
|
|
log.info(">>>>> 修改计划 验证包件是否存在 {}", isExit); |
|
|
|
|
if (!isExit) { |
|
|
|
|
list.add(reservationPackageEntity); |
|
|
|
|
distributionReservationPackageService.save(reservationPackageEntity); |
|
|
|
|
distributionAsyncService.checkStockArticleReservationStatus(p); |
|
|
|
|
packageLockIds.add(p.getId()); |
|
|
|
@ -3353,7 +3354,6 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
JSONObject js = handleLogJSONObject(myCurrentWarehouse, AuthUtil.getUser(), parcelListEntity.getOrderPackageCode(), content, WorkNodeEnums.PLAN_DISTRIBUTION.getCode()); |
|
|
|
|
logs.add(js); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
//查找该订单没有进行包件选择的操作, 但是存在newOrder列表中 视为该订单保持计划选择
|
|
|
|
|