From 2c27ce7031df5ef3b950c24a0f930528c3b95efb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com>
Date: Tue, 3 Feb 2026 10:33:29 +0800
Subject: [PATCH] =?UTF-8?q?sql=E4=BF=AE=E6=94=B9;?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/materialInventory/MaterialInventoryMapper.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml b/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml
index e1f020cf7..4a0019a6e 100644
--- a/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml
+++ b/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml
@@ -703,19 +703,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.storage_location_id = #{storageLocationId}
- AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{inventoryDate})
+ AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{extAttr4})
- AND TRUNC(a.EXT_ATTR_3) = TRUNC(#{inventoryDate})
+ AND TRUNC(a.EXT_ATTR_3) = TRUNC(#{extAttr3})
AND TRUNC(a.inventory_date) = TRUNC(#{inventoryDate})
- AND TRUNC(a.EXPIRY_DATE) = TRUNC(#{inventoryDate})
+ AND TRUNC(a.EXPIRY_DATE) = TRUNC(#{expiryDate})
- AND TRUNC(a.PRODUCTION_DATE) = TRUNC(#{inventoryDate})
+ AND TRUNC(a.PRODUCTION_DATE) = TRUNC(#{productionDate})
AND a.EXT_ATTR_2 = #{extAttr2}