update 同步ruoyi最新修改

This commit is contained in:
疯狂的狮子Li
2022-05-28 22:22:15 +08:00
parent 4e0648171c
commit 2f7f7c65da
2 changed files with 1 additions and 87 deletions

View File

@@ -33,7 +33,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService {
Map<String, Object> params = operLog.getParams();
LambdaQueryWrapper<SysOperLog> lqw = new LambdaQueryWrapper<SysOperLog>()
.like(StringUtils.isNotBlank(operLog.getTitle()), SysOperLog::getTitle, operLog.getTitle())
.eq(operLog.getBusinessType() != null && operLog.getBusinessType() > 0,
.eq(operLog.getBusinessType() != null,
SysOperLog::getBusinessType, operLog.getBusinessType())
.func(f -> {
if (ArrayUtil.isNotEmpty(operLog.getBusinessTypes())) {