This commit is contained in:
linfso 2024-10-07 18:39:47 +08:00
parent 88f1580724
commit 45bc2c59fd

View File

@ -257,7 +257,7 @@
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 (
and x.main_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)
)
<if test="scanType != null and scanType == '20'">