diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index 1933616f9..247a36eaa 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -294,7 +294,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and b.id = #{id} and FIND_IN_SET(b.`bill_no`,#{billNo}) and b.parent_bill_no=#{parentBillNo} - and b.settle_bill_no=#{settleBillNo} + and FIND_IN_SET(b.`settle_bill_no`,#{settleBillNo}) and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') ) and bill_date = #{billDate}