diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 1e93c6d83..c0132b0d3 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -1853,10 +1853,12 @@ and a.send_site_code=#{params.privSiteCode} and a.current_site_code=#{params.privSiteCode} - - and a.bill_code not in( select etb.bill_code from emis_tms_site_batch_dtl etb where etb.del_flag='0' ) - and bl_sign!='1' and waybill_status!='40' + + and a.bill_code=#{billCode}