This commit is contained in:
linfso 2025-04-01 09:07:35 +08:00
parent 116672837b
commit 5c78a388e9
4 changed files with 14 additions and 14 deletions

View File

@ -287,7 +287,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and `bill_code`=#{billCode}
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
@ -396,7 +396,7 @@
</foreach>
,
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}
@ -498,7 +498,7 @@
</foreach>
,
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}

View File

@ -143,7 +143,7 @@
</foreach>
,
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}

View File

@ -35,7 +35,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and `bill_code`=#{billCode}
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}

View File

@ -496,7 +496,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and a.`bill_code`=#{billCode}
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and a.bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
@ -509,7 +509,7 @@
#{item}
</foreach>
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
ORDER BY FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}
@ -534,7 +534,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and a.bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
@ -757,7 +757,7 @@
#{item}
</foreach>
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
ORDER BY FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}
@ -780,7 +780,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and a.bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
@ -1048,7 +1048,7 @@
#{item}
</foreach>
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
ORDER BY FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}
@ -1071,7 +1071,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and a.bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
@ -1566,7 +1566,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and a.bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}
@ -2010,7 +2010,7 @@
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
and a.bill_code in
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
#{item}