jpy
2023-05-27 042ec2ba273ebbffdd3891e5c708a4b6decaf82e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.moral.api.service;
 
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>
 * 城市aqi年数据表 服务类
 * </p>
 *
 * @author moral
 * @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);
}