mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 17:58:17 +08:00
根据成功状态查询日志时会把失败的日志也查询出来
This commit is contained in:
parent
a6bde3c5da
commit
d929202c39
@ -37,7 +37,7 @@ public class SysOperLogServiceImpl extends ServicePlusImpl<SysOperLogMapper, Sys
|
|||||||
f.in(SysOperLog::getBusinessType, Arrays.asList(operLog.getBusinessTypes()));
|
f.in(SysOperLog::getBusinessType, Arrays.asList(operLog.getBusinessTypes()));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.eq(operLog.getStatus() != null && operLog.getStatus() > 0,
|
.eq(operLog.getStatus() != null && operLog.getStatus() >= 0,
|
||||||
SysOperLog::getStatus, operLog.getStatus())
|
SysOperLog::getStatus, operLog.getStatus())
|
||||||
.like(StrUtil.isNotBlank(operLog.getOperName()), SysOperLog::getOperName, operLog.getOperName())
|
.like(StrUtil.isNotBlank(operLog.getOperName()), SysOperLog::getOperName, operLog.getOperName())
|
||||||
.apply(Validator.isNotEmpty(params.get("beginTime")),
|
.apply(Validator.isNotEmpty(params.get("beginTime")),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user