mirror of https://gitee.com/stylefeng/roses
【8.0】【log】业务日志更新日志列表排序,根据时间倒序
parent
8f56455fbe
commit
218dbdf004
|
@ -128,8 +128,8 @@ public class SysLogBusinessServiceImpl extends ServiceImpl<SysLogBusinessMapper,
|
|||
});
|
||||
}
|
||||
|
||||
// 排序根据日志id排序
|
||||
queryWrapper.orderByAsc(SysLogBusiness::getBusinessLogId);
|
||||
// 根据创建时间倒序排列
|
||||
queryWrapper.orderByDesc(SysLogBusiness::getCreateTime);
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue