From e2392116cd6f875cdc2f46bc04b04d5305f21b56 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 23 十一月 2023 13:25:04 +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