From 1dc4c22858d72883200098363be37ee370da3626 Mon Sep 17 00:00:00 2001 From: linfso Date: Sat, 10 Aug 2024 09:59:41 +0800 Subject: [PATCH] md --- .../resources/mapper/EmisSettleSubBillMapper.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index 3c76179b6..efaf4fba6 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -117,8 +117,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.dispatch_underling_site_code = #{params.dispatchUnderlingSiteCode} - - and a.problem_type = #{params.problemType} + + + and a.bill_code in ( + select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} ) + ) + + + + and a.bill_code not in ( + select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} ) + )