diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index 98f8771ab..febb44053 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 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.`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) + and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') ) and bill_date = #{billDate} and bill_fee = #{billFee} @@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 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.`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) + and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') ) and bill_date = #{billDate} and bill_fee = #{billFee}