From 5cdd7373a9209dd04f257dc2ada037d06e31ca26 Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 6 Jan 2025 06:05:14 +0800 Subject: [PATCH] md --- emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 (