This commit is contained in:
linfso 2024-08-15 18:58:10 +08:00
parent 30c142da36
commit d011c1fced

View File

@ -181,12 +181,6 @@
<if test="scanType != null and scanType == '20'">
and a.scan_site_code=b.send_site_code
</if>
<if test="scanType != null and scanType == '30'">
and a.scan_site_code=b.dispatch_underling_site_code
</if>
<if test="scanType != null and scanType == '40'">
and a.scan_site_code=b.dispatch_underling_site_code
</if>
<if test="scanSiteCode != null and scanSiteCode != ''"> and a.scan_site_code=#{scanSiteCode}</if>
@ -214,12 +208,6 @@
<if test="scanType != null and scanType == '20'">
and a.scan_site_code=b.send_site_code
</if>
<if test="scanType != null and scanType == '30'">
and a.scan_site_code=b.dispatch_underling_site_code
</if>
<if test="scanType != null and scanType == '40'">
and a.scan_site_code=b.dispatch_underling_site_code
</if>
<if test="scanSiteCode != null and scanSiteCode != ''"> and a.scan_site_code=#{scanSiteCode}</if>
<if test="preOrNextStationCode != null and preOrNextStationCode != ''"> and a.pre_or_next_station_code=#{preOrNextStationCode}</if>
@ -257,12 +245,7 @@
<if test="scanType != null and scanType == '20'">
and x.scan_site_code=x2.send_site_code
</if>
<if test="scanType != null and scanType == '30'">
and x.scan_site_code=x2.dispatch_underling_site_code
</if>
<if test="scanType != null and scanType == '40'">
and x.scan_site_code=x2.dispatch_underling_site_code
</if>
<if test="preOrNextStationCode != null and preOrNextStationCode != ''"> and x.pre_or_next_station_code=#{preOrNextStationCode}</if>
<if test="scanManCode != null and scanManCode != ''"> and x.scan_man_code=#{scanManCode}</if>
<if test="params.beginScanDate != null and params.beginScanDate != ''">and x.scan_date <![CDATA[ >= ]]> #{params.beginScanDate}</if>