更改分页排序2
This commit is contained in:
@@ -520,7 +520,7 @@
|
|||||||
#{userId}
|
#{userId}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
order by a.create_time,a.id desc
|
order by a.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
@@ -948,7 +948,7 @@
|
|||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="sortField!=null and sortField != '' and sortField=='updateTime' ">
|
<if test="sortField!=null and sortField != '' and sortField=='updateTime' ">
|
||||||
order by hpli.update_time,hpli.id
|
order by hpli.update_time
|
||||||
<if test="sortOrder!=null and sortOrder != '' and sortOrder=='descend' ">
|
<if test="sortOrder!=null and sortOrder != '' and sortOrder=='descend' ">
|
||||||
desc
|
desc
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user