| | |
| | | |
| | | import com.moral.api.entity.CityAqiYearly; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.moral.api.pojo.dto.cityAQI.ComplianceDaysDTO; |
| | | import com.moral.api.pojo.dto.cityAQI.DataPercentRange; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2021-11-05 |
| | | */ |
| | | public interface CityAqiYearlyService extends IService<CityAqiYearly> { |
| | | /** |
| | | * @Description: 根据地区码和时间获取数据 |
| | | * @Param: [regionCode, startDate, endDate] |
| | | * @return: java.util.List<com.moral.api.entity.CityAqiYearly> |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2022/1/17 |
| | | */ |
| | | List<CityAqiYearly> getCityAqiYearlyByRegionCodeAndTime(Integer regionCode, Date startDate, Date endDate); |
| | | |
| | | /** |
| | | * @Description: 优良天变化率分析 |
| | | * @Param: [year, cityCode] |
| | | * @return: java.util.Map<java.lang.String,com.moral.api.pojo.dto.cityAQI.DataPercentRange> |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2022/2/11 |
| | | */ |
| | | Map<String, DataPercentRange> analysisPollutionLevel(String year, Integer cityCode); |
| | | |
| | | /** |
| | | * @Description: 达标天数统计分析 |
| | | * @Param: [year, cityCode] |
| | | * @return: java.util.List<com.moral.api.pojo.dto.cityAQI.ComplianceDaysDTO> |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2022/2/25 |
| | | */ |
| | | List<ComplianceDaysDTO> analysisComplianceDays(String year, Integer cityCode); |
| | | } |