From 5418a0391b41fb25ffe840f121390c22fb964226 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 9 Aug 2024 13:51:49 +0800 Subject: [PATCH] md --- emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index e7e0c9de7..d1dbf5ecd 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -975,11 +975,15 @@ - and FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds}) + and a.bill_code in ( + select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} ) + ) - and + and a.bill_code not in ( + select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} ) + )