日志降序

This commit is contained in:
LuoYe_MyWork 2020-08-13 09:38:56 +08:00
parent ed6b4ab622
commit f61139af38

View File

@ -58,7 +58,7 @@ public class OutlookLogController {
int github_id = authentication.getGithub_id();
QueryWrapper<OutlookLog> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("github_id", github_id);
queryWrapper.eq("github_id", github_id).orderByDesc("call_time");
List<OutlookLog> list = outlookLogService.list(queryWrapper);
Iterator<OutlookLog> iterator = list.iterator();
List<LogVo> logVo = new LinkedList<>();