|
|
|
@ -211,14 +211,14 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
QueryWrapper<WarehouseUpdownGoodsEntity> updownGoodsEntityQueryWrapper = new QueryWrapper<>(); |
|
|
|
|
updownGoodsEntityQueryWrapper.eq("association_value",code); |
|
|
|
|
WarehouseUpdownGoodsEntity updownGoodsEntity = warehouseUpdownGoodsService.getOne(updownGoodsEntityQueryWrapper); |
|
|
|
|
if(Objects.isNull(updownGoodsEntity)){ |
|
|
|
|
if(!Objects.isNull(updownGoodsEntity)){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 包件已上架 code={}",code); |
|
|
|
|
throw new CustomerException(403,"包件已上架"); |
|
|
|
|
} |
|
|
|
|
QueryWrapper<WarehouseTrayGoodsEntity> trayGoodsEntityQueryWrapper = new QueryWrapper<>(); |
|
|
|
|
trayGoodsEntityQueryWrapper.eq("association_value",code); |
|
|
|
|
WarehouseTrayGoodsEntity trayGoodsEntity = warehouseTrayGoodsService.getOne(trayGoodsEntityQueryWrapper); |
|
|
|
|
if(Objects.isNull(trayGoodsEntity)){ |
|
|
|
|
if(!Objects.isNull(trayGoodsEntity)){ |
|
|
|
|
log.warn("#################findUpShelfScanGoods: 包件已打托 code={}",code); |
|
|
|
|
throw new CustomerException(403,"包件已打托"); |
|
|
|
|
} |
|
|
|
|