diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
index ee1effda8..c5ae221fe 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
@@ -935,7 +935,7 @@
- and a.order_status='3'and exists (
+ and a.order_status in('0','3') and exists (
select 1 from emis_waybill_change_to ewcto where a.bill_code=ewcto.bill_code and ewcto.change_from=#{params.privEmpCode}
)
@@ -1240,7 +1240,7 @@
- and a.order_status='3'and exists (
+ and a.order_status in('0','3') and exists (
select 1 from emis_waybill_change_to ewcto where a.bill_code=ewcto.bill_code and ewcto.change_from=#{params.privEmpCode}
)
@@ -1781,7 +1781,7 @@
- and a.order_status='3'and exists (
+ and a.order_status in('0','3') and exists (
select 1 from emis_waybill_change_to ewcto where a.bill_code=ewcto.bill_code and ewcto.change_from=#{params.privEmpCode}
)
@@ -2171,7 +2171,7 @@
select count(1) as hasChangeToCount
from emis_waybill a
where a.del_flag='0'
- and a.order_status='3'
+ and a.order_status in('0','3')
and a.send_site_code in (
SELECT t1.site_code FROM (