|
|
@ -2161,7 +2161,8 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu |
|
|
|
.eq(DistributionParcelListEntity::getStockArticleId, s.getId()) |
|
|
|
.eq(DistributionParcelListEntity::getStockArticleId, s.getId()) |
|
|
|
.ne(DistributionParcelListEntity::getOrderPackageLoadingStatus, OrderPackageLoadingStatusConstant.yizhuangche.getValue()) |
|
|
|
.ne(DistributionParcelListEntity::getOrderPackageLoadingStatus, OrderPackageLoadingStatusConstant.yizhuangche.getValue()) |
|
|
|
.ne(DistributionParcelListEntity::getOrderPackageReservationStatus, OrderPackageReservationStatusConstant.yiyueyue.getValue()) |
|
|
|
.ne(DistributionParcelListEntity::getOrderPackageReservationStatus, OrderPackageReservationStatusConstant.yiyueyue.getValue()) |
|
|
|
.notIn(DistributionParcelListEntity::getOrderPackageStatus, new String[]{OrderPackageStatusConstant.yichuku.getValue(), OrderPackageStatusConstant.yiqianshou.getValue()})); |
|
|
|
.ne(DistributionParcelListEntity::getOrderPackageLoadingStatus, OrderPackageLoadingStatusConstant.yizhuangche.getValue()) |
|
|
|
|
|
|
|
.ne(DistributionParcelListEntity::getOrderPackageStatus, OrderPackageStatusConstant.yiqianshou.getValue())); |
|
|
|
if (Func.isEmpty(distributionParcelListEntities)) { |
|
|
|
if (Func.isEmpty(distributionParcelListEntities)) { |
|
|
|
log.error("#########################此订单下包件列表查询为空:{}", s.getOrderCode()); |
|
|
|
log.error("#########################此订单下包件列表查询为空:{}", s.getOrderCode()); |
|
|
|
throw new RuntimeException(s.getOrderCode() + "无可用包件信息..."); |
|
|
|
throw new RuntimeException(s.getOrderCode() + "无可用包件信息..."); |
|
|
|