From 88f158072442c8663a2fd12d8e27d66d0fc290c0 Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 7 Oct 2024 18:39:05 +0800 Subject: [PATCH] md --- emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml index dd67696d5..cac6c7b0e 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml @@ -257,6 +257,9 @@ where x.del_flag='0' and x2.del_flag='0' and x.main_bill_code=x2.bill_code and x2.bl_sign='0' and x.scan_site_code=#{scanSiteCode} and x.scan_type=#{scanType} + and x2.bill_code not in ( + select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and ewpi.`problem_type` in(151,173,170) + ) and x.scan_site_code=x2.send_site_code