From 1e23e609738dafcfd65f50d3b152f759b0bb58a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com> Date: Thu, 4 Jun 2026 18:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=AF=E5=90=A6=E4=B8=8B=E5=8F=91=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ReservationStockInOrderMapper.xml | 6 +++--- .../ReservationStockOutOrderMapper.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml b/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml index 570183f2b..ad985ac22 100644 --- a/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml +++ b/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml @@ -419,7 +419,7 @@ and a.create_time >= #{createTimeStart} - and a.create_time #{createTimeEnd} + INTERVAL '1' DAY + and a.create_time DATEADD(DAY, 1, #{createTimeEnd}) and PUSH_TIME =]]> #{pushTimeStart} @@ -446,13 +446,13 @@ and a.storage_time >= #{storageTimeStart} - and a.storage_time #{storageTimeEnd} + INTERVAL '1' DAY + and a.storage_time DATEADD(DAY, 1, #{storageTimeEnd}) and a.expect_time >= #{expectTimeStart} - and a.expect_time #{expectTimeEnd} + INTERVAL '1' DAY + and a.expect_time DATEADD(DAY, 1, #{expectTimeEnd}) and a.issue_time is not null diff --git a/mhd_oms/src/main/resources/mapper/reservationStockOutOrder/ReservationStockOutOrderMapper.xml b/mhd_oms/src/main/resources/mapper/reservationStockOutOrder/ReservationStockOutOrderMapper.xml index eabc30186..8cc70cf7f 100644 --- a/mhd_oms/src/main/resources/mapper/reservationStockOutOrder/ReservationStockOutOrderMapper.xml +++ b/mhd_oms/src/main/resources/mapper/reservationStockOutOrder/ReservationStockOutOrderMapper.xml @@ -340,13 +340,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.create_time >= #{createTimeStart} - and a.create_time #{createTimeEnd} + INTERVAL '1' DAY + and a.create_time DATEADD(DAY, 1, #{createTimeEnd}) and a.outbound_date >= #{outboundDateStart} - and a.outbound_date #{outboundDateEnd} + INTERVAL '1' DAY + and a.outbound_date DATEADD(DAY, 1, #{outboundDateEnd}) and a.organization_id = #{organizationId}