更改分页排序

This commit is contained in:
xiaodong.hu
2023-12-19 13:11:39 +08:00
parent e4d340382f
commit ea1e246b23
2 changed files with 3 additions and 3 deletions

View File

@@ -520,7 +520,7 @@
#{userId}
</foreach>
</if>
order by a.create_time desc
order by a.create_time,a.id desc
</select>
@@ -948,7 +948,7 @@
</if>
<if test="sortField!=null and sortField != '' and sortField=='updateTime' ">
order by hpli.update_time
order by hpli.update_time,hpli.id
<if test="sortOrder!=null and sortOrder != '' and sortOrder=='descend' ">
desc
</if>