|
|
|
@ -3,6 +3,9 @@ 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.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.service.EpdcScreenService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@ -38,4 +41,37 @@ public class ApiScreenController { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.gridGovernanceItemList(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
*首页-组织信息接口 |
|
|
|
* @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(){ |
|
|
|
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>> |
|
|
|
* @author zhangfenghe |
|
|
|
* @since 2021/8/11 17:14 |
|
|
|
*/ |
|
|
|
@GetMapping("frontPage/personInfoStatistics") |
|
|
|
public Result<List<EpdcScreenFrontPagePersonInfoStatisticsResultDTO>> frontPagePersonInfoStatisticsList(){ |
|
|
|
return epdcScreenService.frontPagePersonInfoStatisticsList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 首页-房屋类型统计接口 |
|
|
|
* @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(); |
|
|
|
} |
|
|
|
} |
|
|
|
|