【8.0】【log】业务日志更新日志列表排序,根据时间倒序

pull/57/head
fengshuonan 2023-07-25 11:30:36 +08:00
parent 8f56455fbe
commit 218dbdf004
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ public class SysLogBusinessServiceImpl extends ServiceImpl<SysLogBusinessMapper,
});
}
// 排序根据日志id排序
queryWrapper.orderByAsc(SysLogBusiness::getBusinessLogId);
// 根据创建时间倒序排列
queryWrapper.orderByDesc(SysLogBusiness::getCreateTime);
return queryWrapper;
}