From b34727ebd73a4f346d53730865e83fd5b3e5a0ef Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 26 十月 2023 16:36:37 +0800 Subject: [PATCH] 1. 新增定时任务和定时任务日志数据库表映射; 2. 修改异常分析和日、月统计分析定时任务的执行逻辑 --- src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt b/src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt index 9bfc3a5..683641e 100644 --- a/src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt +++ b/src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt @@ -3,6 +3,12 @@ import com.flightfeather.monitor.domain.ds1.entity.DustStatisticsValue import com.flightfeather.monitor.domain.util.MyMapper import org.apache.ibatis.annotations.Mapper +import java.time.LocalDateTime @Mapper -interface DustStatisticsValueMapper : MyMapper<DustStatisticsValue?> \ No newline at end of file +interface DustStatisticsValueMapper : MyMapper<DustStatisticsValue?> { + + fun dailyStatics(beginTime: LocalDateTime, endTime: LocalDateTime) + + fun monthlyStatics(beginTime: LocalDateTime, endTime: LocalDateTime, count: Int) +} \ No newline at end of file -- Gitblit v1.9.3