diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml index 127b3fe24..7b8a7f1dc 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml @@ -110,7 +110,7 @@ where EXISTS( select 1 from emis_waybill b where - b.del_flag='0' and waybill_status !='0' + b.del_flag='0' and order_status !='0' and a.main_bill_code=b.bill_code