mirror of https://gitee.com/stylefeng/roses
【8.3.3】【sys】更新日志查询
parent
802c347ac0
commit
f7cd3b16cc
|
@ -155,7 +155,7 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
|
||||||
String searchText = logManagerRequest.getSearchText();
|
String searchText = logManagerRequest.getSearchText();
|
||||||
if (StrUtil.isNotEmpty(searchText)) {
|
if (StrUtil.isNotEmpty(searchText)) {
|
||||||
queryWrapper.nested(wrap -> {
|
queryWrapper.nested(wrap -> {
|
||||||
queryWrapper.likeRight(SysLog::getRequestUrl, searchText).or().likeRight(SysLog::getLogContent, searchText);
|
wrap.like(SysLog::getRequestUrl, searchText).or().like(SysLog::getLogContent, searchText);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue