Skip to content

Commit d2fd1df

Browse files
committed
feat: 修改为按时间降序
1 parent acc1626 commit d2fd1df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

system/src/main/resources/mapper/SysApiMapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
</foreach>
2525
)
2626
</if>
27-
GROUP BY sa.url, sr.code
27+
ORDER BY sa.create_time DESC, sr.code
2828
</select>
2929
</mapper>

system/src/main/resources/mapper/SysUserMapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@
6666
</if>
6767
</where>
6868
</if>
69-
GROUP BY su.username, sr.code
69+
ORDER BY su.create_time DESC, sr.code
7070
</select>
7171
</mapper>

0 commit comments

Comments
 (0)