diff --git a/src/main/java/io/qyi/e5/outlook_log/controller/OutlookLogController.java b/src/main/java/io/qyi/e5/outlook_log/controller/OutlookLogController.java index ae44b84..1458109 100644 --- a/src/main/java/io/qyi/e5/outlook_log/controller/OutlookLogController.java +++ b/src/main/java/io/qyi/e5/outlook_log/controller/OutlookLogController.java @@ -58,7 +58,7 @@ public class OutlookLogController { int github_id = authentication.getGithub_id(); QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("github_id", github_id); + queryWrapper.eq("github_id", github_id).orderByDesc("call_time"); List list = outlookLogService.list(queryWrapper); Iterator iterator = list.iterator(); List logVo = new LinkedList<>();