From 94f31075dd5c55025273d705d94964eba0da8304 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Thu, 29 May 2025 17:07:29 +0800 Subject: [PATCH] =?UTF-8?q?demand:=20=E8=88=AA=E7=BA=BF=E6=9F=A5=E8=AF=A2/?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=8C=89=E8=B4=A2=E5=8A=A1=E8=A6=81=E6=B1=82?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EmisSettleInvoiceChRecordMapper.xml | 27 ++++++++----------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml index c16b8d136..ba7a519da 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml @@ -171,12 +171,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and EXISTS( - select 1 from emis_settle_bill x2,emis_settle_invoice_bill_rel x3,emis_settle_sub_bill x4 - where x2.del_flag = '0' and x3.del_flag = '0' and x4.del_flag='0' - and a.apply_seq_no=x3.apply_seq_no - and x2.settle_bill_no=x3.settle_bill_no - and x4.settle_bill_no=x2.settle_bill_no - and FIND_IN_SET(x4.`bill_code`,#{params.billCode}) + select 1 from + emis_settle_invoice_rel rel + where a.apply_seq_no=rel.apply_seq_no and + rel.del_flag = '0' + and FIND_IN_SET(rel.`bill_no`,#{params.billCode}) )