|
|
@ -19,14 +19,12 @@ package com.elink.esua.epdc.controller; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.page.PageData; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.dto.PopulationInfoOverviewDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.*; |
|
|
|
import com.elink.esua.epdc.dto.epdc.result.*; |
|
|
|
import com.elink.esua.epdc.service.PopulationInformationService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
@ -38,7 +36,7 @@ import org.springframework.web.bind.annotation.RestController; |
|
|
|
@RestController |
|
|
|
@RequestMapping("screenPopulationInfo") |
|
|
|
public class EpdcScreenPopulationInformationController { |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
private PopulationInformationService populationInformationService; |
|
|
|
/** |
|
|
@ -125,7 +123,27 @@ public class EpdcScreenPopulationInformationController { |
|
|
|
public Result<PageData<EpdcScreenGridRankingResultDTO>> gridRanking(@RequestBody EpdcScreenGridRankingFormDTO dto){ |
|
|
|
return new Result<PageData<EpdcScreenGridRankingResultDTO>>().ok(populationInformationService.gridRanking(dto)); |
|
|
|
} |
|
|
|
/** |
|
|
|
* @Description 获取居民信息采集总览数据 - 街道 |
|
|
|
* @Author songyunpeng |
|
|
|
* @Date 2020/8/27 |
|
|
|
* @Param [] |
|
|
|
* @return com.elink.esua.epdc.dto.PopulationInfoOverviewDTO |
|
|
|
**/ |
|
|
|
@GetMapping("getPopulationInfoOverviewForStreet") |
|
|
|
public Result<PopulationInfoOverviewDTO> getPopulationInfoOverview() { |
|
|
|
return new Result<PopulationInfoOverviewDTO>().ok(populationInformationService.getPopulationInfoOverview()); |
|
|
|
} |
|
|
|
/** |
|
|
|
* @Description 获取居民信息采集总览数据 - screen - 社区 |
|
|
|
* @Author songyunpeng |
|
|
|
* @Date 2021/6/24 |
|
|
|
* @Param [communityId] |
|
|
|
* @return com.elink.esua.epdc.dto.PopulationInfoOverviewDTO |
|
|
|
**/ |
|
|
|
@GetMapping("getPopulationInfoOverviewForCommunity/{communityId}") |
|
|
|
public Result<PopulationInfoOverviewDTO> getPopulationInfoOverviewForScreen(@PathVariable("communityId")String communityId) { |
|
|
|
return new Result<PopulationInfoOverviewDTO>().ok(populationInformationService.getPopulationInfoOverviewForScreen(communityId)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|