【8.3.3】【sys】更新日志查询

pull/62/head
stylefeng 2025-01-21 11:09:11 +08:00
parent 802c347ac0
commit f7cd3b16cc
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
String searchText = logManagerRequest.getSearchText();
if (StrUtil.isNotEmpty(searchText)) {
queryWrapper.nested(wrap -> {
queryWrapper.likeRight(SysLog::getRequestUrl, searchText).or().likeRight(SysLog::getLogContent, searchText);
wrap.like(SysLog::getRequestUrl, searchText).or().like(SysLog::getLogContent, searchText);
});
}