修改sql排序问题

This commit is contained in:
yangjun 2024-07-09 17:11:12 +08:00
parent 13c27e4c1b
commit a9e4638496
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,9 @@
<if test="by!=null and by==2">
m.sales asc
</if>
<if test="by!=null and by==3">
m.sales desc
</if>
<if test="(by==null and authentication==null) or (by==0 and authentication==0)">
m.create_time desc
</if>