From 7d74f3fd087d4a8192ed556a6c2e3a2ea3c81cff Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 28 三月 2025 17:43:48 +0800 Subject: [PATCH] 1. 新增扬尘监测数据上传功能 --- src/main/kotlin/cn/flightfeather/supervision/domain/ds1/repository/MonitorDataRep.kt | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/repository/MonitorDataRep.kt b/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/repository/MonitorDataRep.kt new file mode 100644 index 0000000..8845f15 --- /dev/null +++ b/src/main/kotlin/cn/flightfeather/supervision/domain/ds1/repository/MonitorDataRep.kt @@ -0,0 +1,24 @@ +package cn.flightfeather.supervision.domain.ds1.repository + +import cn.flightfeather.supervision.domain.ds1.entity.DustDataResult +import cn.flightfeather.supervision.domain.ds1.mapper.DustDataResultMapper +import cn.flightfeather.supervision.lightshare.vo.AreaVo +import org.springframework.stereotype.Repository + +/** + * 鐩戞祴鏁版嵁鏁版嵁搴撴煡璇� + * @date 2025/3/19 + * @author feiyu02 + */ +@Repository +class MonitorDataRep( + private val dataResultMapper: DustDataResultMapper, +) { + + /** + * 鏍规嵁琛屾斂鍖哄煙銆佹椂闂淬�佷互鍙婂満鏅被鍨嬫煡璇㈢粨鏋� + */ + fun fetchDustDataResult(areaVo: AreaVo): List<DustDataResult?> { + return dataResultMapper.selectByArea(areaVo) + } +} \ No newline at end of file -- Gitblit v1.9.3