This commit is contained in:
linfso 2024-05-31 06:32:26 +08:00
parent 3a083867cf
commit ef8e025230

View File

@ -554,21 +554,22 @@
</where>
ORDER BY
<if test="params.orderSnSortList != null and params.orderSnSortList.size >0 ">
ORDER BY FIELD
FIELD
<foreach collection="params.orderSnSortList" item="item" open="(order_sn," separator="," close=")">
#{item}
</foreach>
,
</if>
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
ORDER BY FIELD
FIELD
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
#{item}
</foreach>
,
</if>
order by create_time desc
create_time desc
</select>
<select id="selectEmisWaybillById" parameterType="Long" resultMap="EmisWaybillResult">