From 374ba54d8100afd7bf54b1f1ba72ff21ac7d65de Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 10 Jan 2025 18:45:01 +0800 Subject: [PATCH] md --- emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index d60037f2c..dc086265a 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -1386,6 +1386,10 @@ WHERE a.del_flag='0' and a.order_status !='0' and a.order_status!='2' and create_time = ]]> DATE_SUB( CURDATE(), INTERVAL 1 MONTH ) + and a.bill_code not in ( + select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, '173,170,151' ) + ) + and ( @@ -1730,7 +1734,7 @@ and a.bill_code in ( - select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} ) + select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} ) )