|
|
@ -2,11 +2,10 @@ package com.elink.esua.epdc.controller; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenEpidemicCommunityVaccinationStatisticsFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenGridGovernanceItemFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPageDeptInfoResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPageHouseTypeStatisticsResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPagePersonInfoStatisticsResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenGridGovernanceItemResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenVaccinationAgeVaccinationStatisticsFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.*; |
|
|
|
import com.elink.esua.epdc.service.EpdcScreenService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
@ -32,7 +31,7 @@ public class ApiScreenController { |
|
|
|
* 网格治理-项目列表接口(事件总览最新列表、群众关心的事列表) |
|
|
|
* |
|
|
|
* @param formDto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenGridGovernanceItemResultDTO>> |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenGridGovernanceItemResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/10 13:46 |
|
|
|
*/ |
|
|
@ -43,35 +42,88 @@ public class ApiScreenController { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
*首页-组织信息接口 |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPageDeptInfoResultDTO>> |
|
|
|
* 首页-组织信息接口 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPageDeptInfoResultDTO>> |
|
|
|
* @athor zhangfenghe |
|
|
|
* @since 2021/8/11 14:32 |
|
|
|
*/ |
|
|
|
@GetMapping("frontPage/deptInfoList") |
|
|
|
public Result<List<EpdcScreenFrontPageDeptInfoResultDTO>> frontPageDeptInfoList(){ |
|
|
|
public Result<List<EpdcScreenFrontPageDeptInfoResultDTO>> frontPageDeptInfoList() { |
|
|
|
return epdcScreenService.frontPageDeptInfoList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 首页-人口类型统计接口 |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPagePersonInfoStatisticsResultDTO>> |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPagePersonInfoStatisticsResultDTO>> |
|
|
|
* @author zhangfenghe |
|
|
|
* @since 2021/8/11 17:14 |
|
|
|
*/ |
|
|
|
@GetMapping("frontPage/personInfoStatistics") |
|
|
|
public Result<List<EpdcScreenFrontPagePersonInfoStatisticsResultDTO>> frontPagePersonInfoStatisticsList(){ |
|
|
|
return epdcScreenService.frontPagePersonInfoStatisticsList(); |
|
|
|
public Result<EpdcScreenFrontPagePersonInfoStatisticsResultDTO> frontPagePersonInfoStatistics() { |
|
|
|
return epdcScreenService.frontPagePersonInfoStatistics(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 首页-房屋类型统计接口 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenFrontPageHouseTypeStatisticsResultDTO> |
|
|
|
* @author zhangfenghe |
|
|
|
* @since 2021/8/11 19:38 |
|
|
|
*/ |
|
|
|
@GetMapping("frontPage/houseTypeStatistics") |
|
|
|
public Result<EpdcScreenFrontPageHouseTypeStatisticsResultDTO> FrontPageHouseTypeStatistics(){ |
|
|
|
return epdcScreenService.FrontPageHouseTypeStatistics(); |
|
|
|
public Result<EpdcScreenFrontPageHouseTypeStatisticsResultDTO> frontPageHouseTypeStatistics() { |
|
|
|
return epdcScreenService.frontPageHouseTypeStatistics(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 疫情防控-疫苗接种情况统计 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenEpidemicVaccinationStatisticsResultDTO> |
|
|
|
* @author zhangfenghe |
|
|
|
* @since 2021/8/11 23:16 |
|
|
|
*/ |
|
|
|
@GetMapping("epidemic/vaccinationStatistics") |
|
|
|
public Result<EpdcScreenEpidemicVaccinationStatisticsResultDTO> epidemicVaccinationStatistics() { |
|
|
|
return epdcScreenService.epidemicVaccinationStatistics(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 疫情防控-社区接种情况统计(社区接种情况总览、地图数据) |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenEpidemicCommunityVaccinationStatisticsResultDTO>> |
|
|
|
* @author zhangfenghe |
|
|
|
* @since 2021/8/12 10:10 |
|
|
|
*/ |
|
|
|
@GetMapping("epidemic/communityVaccinationStatistics") |
|
|
|
public Result<List<EpdcScreenEpidemicCommunityVaccinationStatisticsResultDTO>> epidemicCommunityVaccinationStatisticsList(EpdcScreenEpidemicCommunityVaccinationStatisticsFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.epidemicCommunityVaccinationStatisticsList(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 疫情防控-接种企业统计 |
|
|
|
* @params [] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> |
|
|
|
* @author zhangfenghe |
|
|
|
* @since 2021/8/12 11:15 |
|
|
|
*/ |
|
|
|
@GetMapping("epidemic/companyVaccinationStatistics") |
|
|
|
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(){ |
|
|
|
return epdcScreenService.epidemicCompanyVaccinationStatisticsList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 疫情防控-疫苗接种年龄分布 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenVaccinationAgeVaccinationStatisticsResultDTO> |
|
|
|
* @author jyyzz |
|
|
|
* @since 2021/8/12 12:21 |
|
|
|
*/ |
|
|
|
@GetMapping("vaccination/ageVaccinationStatistics") |
|
|
|
public Result<EpdcScreenVaccinationAgeVaccinationStatisticsResultDTO> vaccinationAgeVaccinationStatistics(EpdcScreenVaccinationAgeVaccinationStatisticsFormDTO formDto){ |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.VaccinationAgeVaccinationStatistics(formDto); |
|
|
|
} |
|
|
|
} |
|
|
|