diff --git a/mhd_wms/src/main/java/com/mhd/wms/application/service/stockOutOrder/StockOutOrderApplicationService.java b/mhd_wms/src/main/java/com/mhd/wms/application/service/stockOutOrder/StockOutOrderApplicationService.java index e940db01a..da4f96954 100644 --- a/mhd_wms/src/main/java/com/mhd/wms/application/service/stockOutOrder/StockOutOrderApplicationService.java +++ b/mhd_wms/src/main/java/com/mhd/wms/application/service/stockOutOrder/StockOutOrderApplicationService.java @@ -978,14 +978,14 @@ public class StockOutOrderApplicationService { // String batchRefNo = detail.getBatchRefNo(); // String sheetRefNo = detail.getSheetRefNo(); // String boxPalletNo = detail.getBoxPalletNo(); - Long materialBaseInfoId = detail.getMaterialBaseInfoId(); - Long warehouseId = detail.getWarehouseId(); - List materialInventories = materialInventoryMapper.selectList(new QueryWrapper().lambda() -// .eq(MaterialInventory::getBatchRefNo, batchRefNo) -// .eq(MaterialInventory::getSheetRefNo, sheetRefNo) -// .eq(MaterialInventory::getBoxPalletNo, boxPalletNo) - .eq(MaterialInventory::getWarehouseId, warehouseId) - .eq(MaterialInventory::getMaterialBaseInfoId, materialBaseInfoId)); +// Long materialBaseInfoId = detail.getMaterialBaseInfoId(); +// Long warehouseId = detail.getWarehouseId(); +// List materialInventories = materialInventoryMapper.selectList(new QueryWrapper().lambda() +//// .eq(MaterialInventory::getBatchRefNo, batchRefNo) +//// .eq(MaterialInventory::getSheetRefNo, sheetRefNo) +//// .eq(MaterialInventory::getBoxPalletNo, boxPalletNo) +// .eq(MaterialInventory::getWarehouseId, warehouseId) +// .eq(MaterialInventory::getMaterialBaseInfoId, materialBaseInfoId)); // if (materialInventories == null || materialInventories.isEmpty()) { // throw new ServiceException("库存不存在:" + batchRefNo + " " + sheetRefNo + " " + boxPalletNo); // }