This commit is contained in:
linfso 2025-01-08 12:28:58 +08:00
parent f937c9e8f8
commit 505441714d

View File

@ -232,7 +232,7 @@
and a.bl_sub_bill = '0'
and a.main_bill_code = b.bill_code
and b.bl_sign = '0'
AND b.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 b.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 a.scan_site_code=#{scanSiteCode}
and a.scan_type=#{scanType}
<if test="scanType != null and scanType == '20'">