|
|
|
@ -192,6 +192,9 @@
|
|
|
|
|
<if test="lastModifiedBy != null and lastModifiedBy != ''">and wms_raw_order_in.last_modified_by = #{lastModifiedBy}</if>
|
|
|
|
|
<if test="gmtModified != null ">and wms_raw_order_in.gmt_modified = #{gmtModified}</if>
|
|
|
|
|
<if test="activeFlag != null and activeFlag != ''">and wms_raw_order_in.active_flag = #{activeFlag}</if>
|
|
|
|
|
<if test="activeFlag != null and activeFlag != ''">and wms_raw_order_in.active_flag = #{activeFlag}</if>
|
|
|
|
|
<if test="deliveryTimeStart != null and deliveryTimeStart != ''">and CONVERT(varchar(16), wms_raw_order_in.request_time, 120) >= #{deliveryTimeStart}</if>
|
|
|
|
|
<if test="deliveryTimeEnd != null and deliveryTimeEnd != ''">and #{deliveryTimeEnd} >= CONVERT(varchar(16), wms_raw_order_in.request_time, 120)</if>
|
|
|
|
|
</where>
|
|
|
|
|
ORDER BY wms_raw_order_in.gmt_create DESC
|
|
|
|
|
</select>
|
|
|
|
|