md
This commit is contained in:
parent
84eec20982
commit
1538ea228d
@ -115,25 +115,27 @@
|
||||
<if test="params.sendDay != null and params.sendDay != ''">
|
||||
and DATE(b.send_date)=#{params.sendDay}
|
||||
</if>
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''">
|
||||
and b.send_site_code= #{sendSiteCode}
|
||||
<if test="params.sendSiteCode != null and params.sendSiteCode != ''">
|
||||
and b.send_site_code= #{params.sendSiteCode}
|
||||
</if>
|
||||
<if test="params.sendCenterCode != null and params.sendCenterCode != ''">
|
||||
and b.send_center_code= #{params.sendCenterCode}
|
||||
</if>
|
||||
<if test="params.dispatchUnderlingSiteCode != null and params.dispatchUnderlingSiteCode != ''">
|
||||
and b.dispatch_underling_site_code= #{params.dispatchUnderlingSiteCode}
|
||||
</if>
|
||||
<if test="params.destinationCenterCode != null and params.destinationCenterCode != ''">
|
||||
and b.destination_center_code= #{params.destinationCenterCode}
|
||||
</if>
|
||||
<if test="params.beginSendDate != null">
|
||||
and b.send_date <![CDATA[ >= ]]> #{params.beginSendDate}
|
||||
</if>
|
||||
<if test="params.endSendDate != null ">
|
||||
and b.send_date <![CDATA[ <= ]]> #{params.endSendDate}
|
||||
</if>
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''"> and b.send_site_code= #{sendSiteCode}</if>
|
||||
<if test="sendCenterCode != null and sendCenterCode != ''"> and b.send_center_code= #{sendCenterCode}</if>
|
||||
<if test="dispatchUnderlingSiteCode != null and dispatchUnderlingSiteCode != ''">
|
||||
and b.dispatch_underling_site_code= #{dispatchUnderlingSiteCode}
|
||||
</if>
|
||||
<if test="destinationCenterCode != null and destinationCenterCode != ''">
|
||||
and b.destination_center_code= #{destinationCenterCode}
|
||||
</if>
|
||||
|
||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||
|
||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||
and (
|
||||
a.dispatch_underling_site_code in (
|
||||
SELECT t1.site_code FROM (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user