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)
|
}
|
}
|