Browse Source

BUG修改

master
parent
commit
0875288036
  1. 4
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemoutlocation/ItemOutLocationServiceImpl.java

4
win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemoutlocation/ItemOutLocationServiceImpl.java

@ -121,8 +121,8 @@ public class ItemOutLocationServiceImpl implements ItemOutLocationService {
if (allCount.compareTo(itemDO.getMinInventory()) == -1) { if (allCount.compareTo(itemDO.getMinInventory()) == -1) {
inventoryWarningDO.setNowInventory(allCount); inventoryWarningDO.setNowInventory(allCount);
QueryWrapper<InventoryWarningDO> inventoryWarningDOQueryWrapper = new QueryWrapper<>(); QueryWrapper<InventoryWarningDO> inventoryWarningDOQueryWrapper = new QueryWrapper<>();
inventoryWarningDOQueryWrapper.eq("item_number", number); inventoryWarningDOQueryWrapper.eq("number", number);
inventoryWarningDOQueryWrapper.eq("item_location", locationNumber); inventoryWarningDOQueryWrapper.eq("location_number", locationNumber);
inventoryWarningDOQueryWrapper.ne("procure_status", ProcureStatusEnum.YESPURCHASED.getCode()); inventoryWarningDOQueryWrapper.ne("procure_status", ProcureStatusEnum.YESPURCHASED.getCode());
List<InventoryWarningDO> inventoryWarningDOList = inventoryWarningMapper.selectList(inventoryWarningDOQueryWrapper); List<InventoryWarningDO> inventoryWarningDOList = inventoryWarningMapper.selectList(inventoryWarningDOQueryWrapper);
if(inventoryWarningDOList.isEmpty()){ if(inventoryWarningDOList.isEmpty()){

Loading…
Cancel
Save