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 | 7 +++++++ 1 files changed, 7 insertions(+), 0 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 683641e..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,6 +2,7 @@ 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 @@ -11,4 +12,10 @@ 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