更改分页排序2

This commit is contained in:
xiaodong.hu
2023-12-19 14:02:37 +08:00
parent ea1e246b23
commit 61538825c5

View File

@@ -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>