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}