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) {
inventoryWarningDO.setNowInventory(allCount);
QueryWrapper<InventoryWarningDO> inventoryWarningDOQueryWrapper = new QueryWrapper<>();
inventoryWarningDOQueryWrapper.eq("item_number", number);
inventoryWarningDOQueryWrapper.eq("item_location", locationNumber);
inventoryWarningDOQueryWrapper.eq("number", number);
inventoryWarningDOQueryWrapper.eq("location_number", locationNumber);
inventoryWarningDOQueryWrapper.ne("procure_status", ProcureStatusEnum.YESPURCHASED.getCode());
List<InventoryWarningDO> inventoryWarningDOList = inventoryWarningMapper.selectList(inventoryWarningDOQueryWrapper);
if(inventoryWarningDOList.isEmpty()){

Loading…
Cancel
Save