调整获取日志统计bug调整
This commit is contained in:
parent
2fcf1c68ab
commit
ff056c4477
@ -174,7 +174,7 @@ public class LogStatisticsServiceImpl implements LogStatisticsService {
|
||||
boolean flag = false;
|
||||
List<LogStatisticsDetailsVO> logStatisticsDOS = new ArrayList<>();
|
||||
List<String> dateList = new ArrayList<>();
|
||||
if (dto.getBeginTime() != null && dto.getEndTime() != null) {
|
||||
if (StrUtil.isNotEmpty(dto.getBeginTime()) && StrUtil.isNotEmpty(dto.getEndTime())) {
|
||||
Date begin = DateUtil.parse(dto.getBeginTime(), "yyyy-MM-dd").toJdkDate();
|
||||
if (logRuleDO.getType() == 1) {
|
||||
flag = DateUtil.isSameDay(begin, new Date());
|
||||
|
@ -33,7 +33,7 @@
|
||||
a.dept_id AS deptId,
|
||||
c.`name` AS deptName,
|
||||
b.log_instance_ext_id AS logInstanceExtId,
|
||||
b.`status` AS `status`,
|
||||
ifnull(b.`status`,3) AS `status`,
|
||||
d.create_time AS createTime
|
||||
FROM
|
||||
system_users AS a
|
||||
|
Loading…
Reference in New Issue
Block a user