From 3c481bc569243ece3917f771ce0f953fb62a8762 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:36:20 +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 bab114ef5..570183f2b 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 date_add(#{createTimeEnd}, interval 1 day) + and a.create_time #{createTimeEnd} + INTERVAL '1' DAY and PUSH_TIME =]]> #{pushTimeStart} @@ -446,13 +446,13 @@ and a.storage_time >= #{storageTimeStart} - and a.storage_time date_add(#{storageTimeEnd}, interval 1 day) + and a.storage_time #{storageTimeEnd} + INTERVAL '1' DAY and a.expect_time >= #{expectTimeStart} - and a.expect_time date_add(#{expectTimeEnd}, interval 1 day) + and a.expect_time #{expectTimeEnd} + INTERVAL '1' DAY 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 0a8df156d..eabc30186 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 date_add(#{createTimeEnd}, interval 1 day) + and a.create_time #{createTimeEnd} + INTERVAL '1' DAY and a.outbound_date >= #{outboundDateStart} - and a.outbound_date date_add(#{outboundDateEnd}, interval 1 day) + and a.outbound_date #{outboundDateEnd} + INTERVAL '1' DAY and a.organization_id = #{organizationId}