This commit is contained in:
linfso 2024-07-08 15:16:09 +08:00
parent 5ce09d4d48
commit 7700173cf7

View File

@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="billNo != null and billNo != ''"> and FIND_IN_SET(b.`bill_no`,#{billNo}) </if>
<if test="parentBillNo != null and parentBillNo != ''"> and b.parent_bill_no=#{parentBillNo}</if>
<if test="settleBillNo != null and settleBillNo != ''"> and b.settle_bill_no=#{settleBillNo}</if>
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') ) </if>
<if test="billDate != null "> and bill_date = #{billDate}</if>
<if test="billFee != null "> and bill_fee = #{billFee}</if>
@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="billNo != null and billNo != ''"> and FIND_IN_SET(b.`bill_no`,#{billNo}) </if>
<if test="parentBillNo != null and parentBillNo != ''"> and b.parent_bill_no=#{parentBillNo}</if>
<if test="settleBillNo != null and settleBillNo != ''"> and b.settle_bill_no=#{settleBillNo}</if>
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') ) </if>
<if test="billDate != null "> and bill_date = #{billDate}</if>
<if test="billFee != null "> and bill_fee = #{billFee}</if>