This commit is contained in:
linfso 2024-08-15 18:30:33 +08:00
parent d7981e76a4
commit a7b0f47770

View File

@ -251,7 +251,7 @@
and a.id in(
select max(x.id) as id
from emis_tms_scan_record x,emis_waybill x2
where x.del_flag='0' and b.del_flag='0' and x.main_bill_code=x2.bill_code and x2.bl_sign='0'
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}
<if test="scanType != null and scanType == '20'">