Browse Source

修改备货查询判断

training
caoyizhong 1 year ago
parent
commit
83c74fca5c
  1. 3
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

3
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/appcontroller/DistributionStockupAppController.java

@ -752,6 +752,9 @@ public class DistributionStockupAppController extends BladeController {
if(ObjectUtils.isNotNull(list) && list.size() > 1){
throw new ServiceException("查询到重复包条信息!!");
}
if(ObjectUtils.isNull(list)){
throw new ServiceException("没有查询到包件信息");
}
WarehouseUpdownGoodsEntity warehouseUpdownGoodsEntity = new WarehouseUpdownGoodsEntity();
warehouseUpdownGoodsEntity.setAllocationId(stockupDTO.getAllocationId());
warehouseUpdownGoodsEntity.setAssociationId(list.get(0).getId());

Loading…
Cancel
Save