This commit is contained in:
linfso 2024-10-07 18:39:05 +08:00
parent 034d194377
commit 88f1580724

View File

@ -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)
)
<if test="scanType != null and scanType == '20'">
and x.scan_site_code=x2.send_site_code
</if>