diff --git a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml index 0fafd970d..51918b3ba 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml @@ -134,13 +134,12 @@ AND FIND_IN_SET( x2.settle_bill_no, x1.settle_bill_no ) AND FIND_IN_SET( x2.settle_bill_no, #{settleBillNo}) ) --> - and EXISTS( - select 1 from emis_settle_bill x2,emis_settle_invoice_bill_rel x3 - where x2.del_flag = '0' and x3.del_flag = '0' - and a.apply_seq_no=x3.apply_seq_no and x2.settle_bill_no=x3.settle_bill_no + select 1 from emis_settle_invoice_bill_rel x3 + where x3.del_flag = '0' + and a.apply_seq_no=x3.apply_seq_no + AND FIND_IN_SET(x3.settle_bill_no, #{settleBillNo}) ) - @@ -209,18 +208,6 @@ ) ) -