|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.moral.api.entity.CityAqiDaily; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.service.IService; | 
|---|
|  |  |  | import com.moral.api.pojo.dto.cityAQI.CityPollutionLevel; | 
|---|
|  |  |  | import com.moral.api.pojo.dto.cityAQI.MonthlyPollutionLevel; | 
|---|
|  |  |  | import com.moral.api.pojo.form.aqi.AreaPollutionLevelForm; | 
|---|
|  |  |  | import com.moral.api.pojo.vo.cityAQI.PieChartOfPollutionLevelVO; | 
|---|
|  |  |  | import com.moral.api.pojo.form.aqi.QueryChartOfPollutionLevelForm; | 
|---|
|  |  |  | import com.moral.api.pojo.form.aqi.ChartOfPollutionLevelForm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  | 
|---|
|  |  |  | * @Author: 陈凯裕 | 
|---|
|  |  |  | * @Date: 2021/11/9 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | PieChartOfPollutionLevelVO queryPieChartOfPollutionLevels(QueryChartOfPollutionLevelForm form); | 
|---|
|  |  |  | PieChartOfPollutionLevelVO queryPieChartOfPollutionLevels(ChartOfPollutionLevelForm form); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @Description: 查询污染等级的柱状图数据,包括天数和占比 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @Author: 陈凯裕 | 
|---|
|  |  |  | * @Date: 2021/11/22 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<MonthlyPollutionLevel> queryBarChartOfPollutionLevels(QueryChartOfPollutionLevelForm form); | 
|---|
|  |  |  | List<MonthlyPollutionLevel> queryBarChartOfPollutionLevels(ChartOfPollutionLevelForm form); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | *@Description: 查询一年的数据,并分月份保存 | 
|---|
|  |  |  | 
|---|
|  |  |  | *@Date: 2021/11/23 14:42 | 
|---|
|  |  |  | **/ | 
|---|
|  |  |  | Map<String,Map<String,Object>> oneYearsData(Map map); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @Description: 查询一个城市所有县的优良天气占比 | 
|---|
|  |  |  | * @Param: [AreaPollutionLevelForm] | 
|---|
|  |  |  | * @return: java.util.List<com.moral.api.pojo.dto.cityAQI.CityPollutionLevel> | 
|---|
|  |  |  | * @Author: 陈凯裕 | 
|---|
|  |  |  | * @Date: 2021/12/30 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<CityPollutionLevel> queryAreaPollutionLevel(AreaPollutionLevelForm form); | 
|---|
|  |  |  | } | 
|---|