是否下发查询;
This commit is contained in:
+3
-3
@@ -419,7 +419,7 @@
|
||||
and a.create_time >= #{createTimeStart}
|
||||
</if>
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and a.create_time <![CDATA[ < ]]> date_add(#{createTimeEnd}, interval 1 day)
|
||||
and a.create_time <![CDATA[ < ]]> #{createTimeEnd} + INTERVAL '1' DAY
|
||||
</if>
|
||||
<if test="pushTimeStart != null">
|
||||
and PUSH_TIME <![CDATA[>=]]> #{pushTimeStart}
|
||||
@@ -446,13 +446,13 @@
|
||||
and a.storage_time >= #{storageTimeStart}
|
||||
</if>
|
||||
<if test="storageTimeEnd != null and storageTimeEnd != ''">
|
||||
and a.storage_time <![CDATA[ < ]]> date_add(#{storageTimeEnd}, interval 1 day)
|
||||
and a.storage_time <![CDATA[ < ]]> #{storageTimeEnd} + INTERVAL '1' DAY
|
||||
</if>
|
||||
<if test="expectTimeStart != null and expectTimeStart != ''">
|
||||
and a.expect_time >= #{expectTimeStart}
|
||||
</if>
|
||||
<if test="expectTimeEnd != null and expectTimeEnd != ''">
|
||||
and a.expect_time <![CDATA[ < ]]> date_add(#{expectTimeEnd}, interval 1 day)
|
||||
and a.expect_time <![CDATA[ < ]]> #{expectTimeEnd} + INTERVAL '1' DAY
|
||||
</if>
|
||||
<if test="xfStatus != null and xfStatus != '' and xfStatus == '已下发'">
|
||||
and a.issue_time is not null
|
||||
|
||||
+2
-2
@@ -340,13 +340,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and a.create_time >= #{createTimeStart}
|
||||
</if>
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and a.create_time <![CDATA[ < ]]> date_add(#{createTimeEnd}, interval 1 day)
|
||||
and a.create_time <![CDATA[ < ]]> #{createTimeEnd} + INTERVAL '1' DAY
|
||||
</if>
|
||||
<if test="outboundDateStart != null and outboundDateStart != ''">
|
||||
and a.outbound_date >= #{outboundDateStart}
|
||||
</if>
|
||||
<if test="outboundDateEnd != null and outboundDateEnd != ''">
|
||||
and a.outbound_date <![CDATA[ < ]]> date_add(#{outboundDateEnd}, interval 1 day)
|
||||
and a.outbound_date <![CDATA[ < ]]> #{outboundDateEnd} + INTERVAL '1' DAY
|
||||
</if>
|
||||
<if test="organizationId != null ">
|
||||
and a.organization_id = #{organizationId}
|
||||
|
||||
Reference in New Issue
Block a user