This commit is contained in:
linfso 2025-03-31 10:52:07 +08:00
parent 131a5d4b53
commit b85007c561

View File

@ -474,10 +474,16 @@
<where> <where>
del_flag='0' del_flag='0'
<if test="billCode != null and billCode != ''"> <if test="billCode != null and billCode != ''">
and ( FIND_IN_SET(`bill_code`,#{billCode}) ) and bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if> </if>
<if test="blSubBill != null and blSubBill == 1 "> <if test="blSubBill != null and blSubBill == 1 ">
or FIND_IN_SET(`main_bill_code`,#{billCode}) and main_bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if> </if>
</where> </where>