From 5eb6c80bf2bf271b9646425bdd8b3f6e20d87236 Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 19 Aug 2024 08:37:42 +0800 Subject: [PATCH] md --- .../src/main/resources/mapper/EmisSettleSubBillMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index 247a36eaa..170a4e5ba 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -150,7 +150,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} @@ -406,7 +406,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}