This commit is contained in:
linfso 2025-04-01 09:17:52 +08:00
parent 56a403da6a
commit af09f65f71
3 changed files with 5 additions and 5 deletions

View File

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

View File

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