demand: 录单和签收图片管理查询返回顺序根据用户传的运单号排序
committer: heyu
This commit is contained in:
parent
dce675e149
commit
1445bc97a5
@ -72,7 +72,15 @@
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
<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}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="params.billCodeSortList == null">
|
||||
order by create_time desc
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user