mirror of https://gitee.com/stylefeng/roses
【8.0】【log】更新查询业务日志,按日志id排序
parent
e568248824
commit
44e8896c7f
|
@ -58,6 +58,9 @@ public class SysLogBusinessContentServiceImpl extends ServiceImpl<SysLogBusiness
|
||||||
String searchText = sysLogBusinessContentRequest.getSearchText();
|
String searchText = sysLogBusinessContentRequest.getSearchText();
|
||||||
queryWrapper.like(ObjectUtil.isNotEmpty(searchText), SysLogBusinessContent::getLogContent, searchText);
|
queryWrapper.like(ObjectUtil.isNotEmpty(searchText), SysLogBusinessContent::getLogContent, searchText);
|
||||||
|
|
||||||
|
// 排序根据日志id排序
|
||||||
|
queryWrapper.orderByAsc(SysLogBusinessContent::getContentId);
|
||||||
|
|
||||||
return queryWrapper;
|
return queryWrapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,9 @@ public class SysLogBusinessServiceImpl extends ServiceImpl<SysLogBusinessMapper,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 排序根据日志id排序
|
||||||
|
queryWrapper.orderByAsc(SysLogBusiness::getBusinessLogId);
|
||||||
|
|
||||||
return queryWrapper;
|
return queryWrapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue