|
|
|
@ -133,7 +133,18 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("#################findUpShelfScanGoods: 包件信息不存在 code={}",code); |
|
|
|
|
throw new CustomerException(403,"包件信息不存在"); |
|
|
|
|
} |
|
|
|
|
String serviceNumber = parcelListEntity.getServiceNumber(); |
|
|
|
|
String orderCode = parcelListEntity.getOrderCode(); |
|
|
|
|
DistributionStockArticleEntity stockArticleEntity = distributionStockArticleClient.findStockArticleByOrderCode(orderCode); |
|
|
|
|
if(Objects.isNull(stockArticleEntity)){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 订单信息不存在 orderCode={}",orderCode); |
|
|
|
|
throw new CustomerException(403,"订单信息不存在"); |
|
|
|
|
} |
|
|
|
|
Integer genre = stockArticleEntity.getGenre(); |
|
|
|
|
if(genre == 2){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 该包件订单已转库存品 orderCode={}",orderCode); |
|
|
|
|
throw new CustomerException(403,"该包件订单已转库存品"); |
|
|
|
|
} |
|
|
|
|
String serviceNumber = stockArticleEntity.getServiceNumber(); |
|
|
|
|
List<Map> ls = distributionStockArticleClient.fingListByServiceNumber(serviceNumber); |
|
|
|
|
List<UpShelfDataVO> list = new ArrayList<>(); |
|
|
|
|
for (Map map:ls){ |
|
|
|
@ -158,6 +169,12 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("#################findUpShelfScanGoods: 订单信息不存在 orderCode={}",orderCode); |
|
|
|
|
throw new CustomerException(403,"订单信息不存在"); |
|
|
|
|
} |
|
|
|
|
Integer genre = stockArticleEntity.getGenre(); |
|
|
|
|
if(genre == 2){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 该包件订单已转库存品 orderCode={}",orderCode); |
|
|
|
|
throw new CustomerException(403,"该包件订单已转库存品"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
List<UpShelfDataVO> ls = new ArrayList<>(); |
|
|
|
|
UpShelfDataVO dataVO = new UpShelfDataVO(); |
|
|
|
|
dataVO.setServiceNum(stockArticleEntity.getServiceNumber()); |
|
|
|
@ -173,6 +190,18 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("#################findUpShelfScanGoods: 包件信息不存在 code={}",code); |
|
|
|
|
throw new CustomerException(403,"包件信息不存在"); |
|
|
|
|
} |
|
|
|
|
String orderCode = parcelListEntity.getOrderCode(); |
|
|
|
|
DistributionStockArticleEntity stockArticleEntity = distributionStockArticleClient.findStockArticleByOrderCode(orderCode); |
|
|
|
|
if(Objects.isNull(stockArticleEntity)){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 订单信息不存在 orderCode={}",orderCode); |
|
|
|
|
throw new CustomerException(403,"订单信息不存在"); |
|
|
|
|
} |
|
|
|
|
Integer genre = stockArticleEntity.getGenre(); |
|
|
|
|
if(genre == 2){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 该包件订单已转库存品 orderCode={}",orderCode); |
|
|
|
|
throw new CustomerException(403,"该包件订单已转库存品"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
String orderPackageGroundingStatus = parcelListEntity.getOrderPackageGroundingStatus(); |
|
|
|
|
// if("20".equals(orderPackageGroundingStatus)){
|
|
|
|
|
// log.warn("#################findUpShelfScanGoods: 包件已上架 code={}",code);
|
|
|
|
|