feiyu02
2025-09-19 7cbe1610b87da19ed8a146a09b1117f92d9d3d98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
    }
}