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