diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
index 4982e7594..8c85f2aa4 100644
--- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
@@ -115,25 +115,27 @@
and DATE(b.send_date)=#{params.sendDay}
-
- and b.send_site_code= #{sendSiteCode}
+
+ and b.send_site_code= #{params.sendSiteCode}
+
+ and b.send_center_code= #{params.sendCenterCode}
+
+
+ and b.dispatch_underling_site_code= #{params.dispatchUnderlingSiteCode}
+
+
+ and b.destination_center_code= #{params.destinationCenterCode}
+
and b.send_date = ]]> #{params.beginSendDate}
and b.send_date #{params.endSendDate}
- and b.send_site_code= #{sendSiteCode}
- and b.send_center_code= #{sendCenterCode}
-
- and b.dispatch_underling_site_code= #{dispatchUnderlingSiteCode}
-
-
- and b.destination_center_code= #{destinationCenterCode}
-
-
+
+
and (
a.dispatch_underling_site_code in (
SELECT t1.site_code FROM (