From 1382897b2278f268c70227209b1f8ed2d62a1bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com> Date: Wed, 3 Jun 2026 09:18:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E6=97=A5=E6=9C=9F=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=8A=A5=E9=94=99;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InventoryAdjustmentRecordMapper.xml | 4 ++-- .../InventoryAdjustmentRecordMapper.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mhd_oms/src/main/resources/mapper/reservationInventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml b/mhd_oms/src/main/resources/mapper/reservationInventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml index aace2a765..1e4cecbe1 100644 --- a/mhd_oms/src/main/resources/mapper/reservationInventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml +++ b/mhd_oms/src/main/resources/mapper/reservationInventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml @@ -196,10 +196,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.create_by_name like concat('%', #{createByName}, '%') - AND DATE(b.expiry_date) = #{expiryDate} + AND TO_CHAR(b.expiry_date, 'yyyy-MM-dd') = #{expiryDate} - AND DATE(b.production_date) = #{productionDate} + AND TO_CHAR(b.production_date, 'yyyy-MM-dd') = #{productionDate} and a.update_by_name like concat('%', #{updateByName}, '%') diff --git a/mhd_wms/src/main/resources/mapper/inventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml b/mhd_wms/src/main/resources/mapper/inventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml index 0c9a73edf..cd6ca9eb0 100644 --- a/mhd_wms/src/main/resources/mapper/inventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml +++ b/mhd_wms/src/main/resources/mapper/inventoryAdjustmentRecord/InventoryAdjustmentRecordMapper.xml @@ -124,10 +124,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and b.lot_number = #{lotNumber} - AND DATE(b.expiry_date) = #{expiryDate} + AND TO_CHAR(b.expiry_date, 'yyyy-MM-dd') = #{expiryDate} - AND DATE(b.production_date) = #{productionDate} + AND TO_CHAR(b.production_date, 'yyyy-MM-dd') = #{productionDate} and a.shipper_id = #{shipperId}