From c6842e8498c2d9b469890b38cd9f0d714392c445 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 01 十二月 2023 13:22:02 +0800
Subject: [PATCH] 1. 修改优化日统计和风险统计的逻辑
---
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