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} ) )