diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml index e5a147ae6..9b22b29a1 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsRawOrderInMapper.xml @@ -192,6 +192,9 @@ and wms_raw_order_in.last_modified_by = #{lastModifiedBy} and wms_raw_order_in.gmt_modified = #{gmtModified} and wms_raw_order_in.active_flag = #{activeFlag} + and wms_raw_order_in.active_flag = #{activeFlag} + and CONVERT(varchar(16), wms_raw_order_in.request_time, 120) >= #{deliveryTimeStart} + and #{deliveryTimeEnd} >= CONVERT(varchar(16), wms_raw_order_in.request_time, 120) ORDER BY wms_raw_order_in.gmt_create DESC