From 0875288036cbab0a2dbdb220c602a9f37c45a125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Wed, 22 May 2024 11:04:27 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/itemoutlocation/ItemOutLocationServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemoutlocation/ItemOutLocationServiceImpl.java b/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemoutlocation/ItemOutLocationServiceImpl.java index b28594a..be17199 100644 --- a/win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/service/itemoutlocation/ItemOutLocationServiceImpl.java +++ b/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 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 inventoryWarningDOList = inventoryWarningMapper.selectList(inventoryWarningDOQueryWrapper); if(inventoryWarningDOList.isEmpty()){