mirror of https://gitee.com/stylefeng/roses
【log】更新日期判断
parent
bdd2553013
commit
c4aed67af7
|
@ -104,7 +104,9 @@ public class DbLogManagerServiceImpl implements LogManagerApi {
|
|||
private void createQueryCondition(LogManagerParam logManagerParam, LambdaQueryWrapper<SysLog> sysLogLambdaQueryWrapper) {
|
||||
|
||||
// 设置查询条件的起始时间和结束时间
|
||||
sysLogLambdaQueryWrapper.between(SysLog::getCreateTime, logManagerParam.getBeginDateTime(), logManagerParam.getEndDateTime());
|
||||
if (StrUtil.isNotBlank(logManagerParam.getBeginDateTime()) && StrUtil.isNotBlank(logManagerParam.getEndDateTime())) {
|
||||
sysLogLambdaQueryWrapper.between(SysLog::getCreateTime, logManagerParam.getBeginDateTime(), logManagerParam.getEndDateTime());
|
||||
}
|
||||
|
||||
// 根据日志名称查询
|
||||
String name = logManagerParam.getLogName();
|
||||
|
|
Loading…
Reference in New Issue