This commit is contained in:
linfso 2025-03-20 16:11:38 +08:00
parent 930bd307cb
commit 4dc37fbb0a

View File

@ -151,9 +151,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
-->
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})
)
</if>