From 9aa72e44d79b2b88cebe3295915b870be7a2c398 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com>
Date: Fri, 30 Jan 2026 10:49:44 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E4=BF=AE=E6=94=B9=E5=BA=93?=
=?UTF-8?q?=E5=AD=98;?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../MaterialInventoryMapper.xml | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml b/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml
index 6d248e931..7697ca601 100644
--- a/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml
+++ b/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml
@@ -650,35 +650,35 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.storage_location_id = #{storageLocationId}
-
- AND a.storage_location_id = #{extAttr4}
+
+ AND DATE(a.EXT_ATTR_4) = DATE(#{inventoryDate})
-
- AND a.storage_location_id = #{extAttr3}
+
+ AND DATE(a.EXT_ATTR_3) = DATE(#{inventoryDate})
-
- AND a.storage_location_id = #{inventoryDate}
+
+ AND DATE(a.inventory_date) = DATE(#{inventoryDate})
-
- AND a.storage_location_id = #{expiryDate}
+
+ AND DATE(a.EXPIRY_DATE) = DATE(#{inventoryDate})
- AND a.storage_location_id = #{productionDate}
+ AND DATE(a.PRODUCTION_DATE) = DATE(#{inventoryDate})
- AND a.storage_location_id = #{extAttr2}
+ AND a.EXT_ATTR_2 = #{extAttr2}
- AND a.storage_location_id = #{extAttr1}
+ AND a.EXT_ATTR_1 = #{extAttr1}
- AND a.storage_location_id = #{boxPalletNo}
+ AND a.BOX_PALLET_NO = #{boxPalletNo}
- AND a.storage_location_id = #{sheetRefNo}
+ AND a.SHEET_REF_NO = #{sheetRefNo}
- AND a.storage_location_id = #{batchRefNo}
+ AND a.BATCH_REF_NO = #{batchRefNo}
\ No newline at end of file