From 3ba74e7692143fd6dcf4dd885f80f95dfef8387e Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 23 十一月 2023 16:09:41 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/feature-risk_analysis' into feature-risk_analysis --- src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt | 15 ++++++++++++++- 1 files changed, 14 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..6fc5abe 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 @@ -2,7 +2,20 @@ import com.flightfeather.monitor.domain.ds1.entity.DustStatisticsValue import com.flightfeather.monitor.domain.util.MyMapper +import com.flightfeather.monitor.pojo.AnalysisDustData 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) + + /** + * 鏍规嵁鏉′欢鎺掑簭鏌ヨ + */ + fun selectByOrder(siteName: String, beginTime: String, endTime: String, orderProp: String?, asc: Boolean): + List<AnalysisDustData?> +} \ No newline at end of file -- Gitblit v1.9.3