diff --git a/esua-epdc/epdc-gateway/src/main/resources/application.yml b/esua-epdc/epdc-gateway/src/main/resources/application.yml index 0e8c5af6..ddb6f03f 100644 --- a/esua-epdc/epdc-gateway/src/main/resources/application.yml +++ b/esua-epdc/epdc-gateway/src/main/resources/application.yml @@ -290,6 +290,7 @@ renren: - /api/plugins/workLog/** #工作日志相关 - /screen/** #大屏相关 - /**/screenJinShui/** + - /custom/screencompany/page workUrls: - /api/work/** #工作端接口 - /api/analysis/** #数据端接口 @@ -327,3 +328,4 @@ epdc: - /api/plugins/workLog/** #工作日志相关 - /screen/topic/page #大屏相关 - /**/screenJinShui/** #大屏接口 + - /custom/screencompany/page diff --git a/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/controller/ApiPartyGroupController.java b/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/controller/ApiPartyGroupController.java index b6b8e702..ba8c646e 100644 --- a/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/controller/ApiPartyGroupController.java +++ b/esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/controller/ApiPartyGroupController.java @@ -52,7 +52,7 @@ public class ApiPartyGroupController { return partyGroupService.officialsList(userDetail, formDto); } - @GetMapping(value = "screenJinShui/officials/list", consumes = MediaType.APPLICATION_JSON_VALUE) + @GetMapping(value = "screenJinShui/officials/list") Result> officialsListForScreen(PartyGroupOfficialsFormDTO formDto) { return partyGroupService.officialsListForScreen(formDto); } diff --git a/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/epidemic/controller/ScreenCompanyController.java b/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/epidemic/controller/ScreenCompanyController.java index e49d77b8..395fafa0 100644 --- a/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/epidemic/controller/ScreenCompanyController.java +++ b/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/epidemic/controller/ScreenCompanyController.java @@ -57,6 +57,12 @@ public class ScreenCompanyController { return new Result>().ok(page); } + @GetMapping("screenJinShui/page") + public Result> pageForScreen(@RequestParam Map params){ + PageData page = screenCompanyService.page(params); + return new Result>().ok(page); + } + @GetMapping("{id}") public Result get(@PathVariable("id") String id){ ScreenCompanyDTO data = screenCompanyService.get(id); diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/EpdcScreenPopulationInformationController.java b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/EpdcScreenPopulationInformationController.java index b4192060..58af54ce 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/EpdcScreenPopulationInformationController.java +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/EpdcScreenPopulationInformationController.java @@ -87,6 +87,11 @@ public class EpdcScreenPopulationInformationController { return populationInformationService.selectPeopleDetail(dto); } + @PostMapping("screenJinShui/selectPeopleDetail") + public Result selectPeopleDetailForScreen(@RequestBody EpdcScreenSelectPeopleDetailFormDTO dto){ + return populationInformationService.selectPeopleDetail(dto); + } + /** * @Description 大屏找人接口 * @Author songyunpeng diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HouseResidentController.java b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HouseResidentController.java index c2f6862c..691610ed 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HouseResidentController.java +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HouseResidentController.java @@ -56,6 +56,12 @@ public class HouseResidentController { return new Result>().ok(page); } + @GetMapping("screenJinShui/page") + public Result> pageForScreen(@RequestParam Map params){ + PageData page = houseResidentService.listPage(params); + return new Result>().ok(page); + } + @GetMapping("{id}") public Result get(@PathVariable("id") String id){ PopulationInformationDTO data = houseResidentService.get(id); diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HousingInformationController.java b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HousingInformationController.java index 6abf195d..445044f4 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HousingInformationController.java +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/HousingInformationController.java @@ -74,12 +74,24 @@ public class HousingInformationController { return new Result>().ok(page); } + @GetMapping("screenJinShui/page") + public Result> pageForScreen(@RequestParam Map params){ + PageData page = housingInformationService.listOfPage(params); + return new Result>().ok(page); + } + @GetMapping("{id}") public Result get(@PathVariable("id") String id){ HousingInformationDTO data = housingInformationService.get(id); return new Result().ok(data); } + @GetMapping("screenJinShui/{id}") + public Result getForScreen(@PathVariable("id") String id){ + HousingInformationDTO data = housingInformationService.get(id); + return new Result().ok(data); + } + @PostMapping public Result save(@RequestBody HousingInformationDTO dto){ //效验数据 diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/PopulationInformationController.java b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/PopulationInformationController.java index 3c5f3e4c..3e125729 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/PopulationInformationController.java +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/controller/PopulationInformationController.java @@ -70,17 +70,36 @@ public class PopulationInformationController { return new Result>().ok(page); } + + @GetMapping("screenJinShui/page") + public Result> pageForScreen(@RequestParam Map params){ + PageData page = populationInformationService.listPage(params); + return new Result>().ok(page); + } + @GetMapping("{id}") public Result get(@PathVariable("id") String id){ PopulationInformationDTO populationInformationDTOS = populationInformationService.get(id); return new Result().ok(populationInformationDTOS); } + + @GetMapping("screenJinShui/{id}") + public Result getForScreen(@PathVariable("id") String id){ + PopulationInformationDTO populationInformationDTOS = populationInformationService.get(id); + return new Result().ok(populationInformationDTOS); + } @GetMapping("getHouseHeadInfo") public Result getHouseHeadInfo(String id){ PopulationInformationDTO data = populationInformationService.getHouseHeadInfo(id); return new Result().ok(data); } + @GetMapping("screenJinShui/getHouseHeadInfo") + public Result getHouseHeadInfoForScreen(String id){ + PopulationInformationDTO data = populationInformationService.getHouseHeadInfo(id); + return new Result().ok(data); + } + @PostMapping public Result save(@RequestBody PopulationInformationDTO dto){ //效验数据 @@ -218,6 +237,15 @@ public class PopulationInformationController { return new Result>().ok(page); } + + @GetMapping("screenJinShui/selectPeopleByCurrentAddress") + public Result> selectPeopleByCurrentAddressForScreen(@RequestParam Map params){ + List pointDeptStatisticsResultDTOS = populationInformationService.selectPeopleByCurrentAddressForPc(params); + Integer total = populationInformationService.selectCountPeopleByCurrentAddressForPc(params); + PageData page = new PageData<>(pointDeptStatisticsResultDTOS,total); + return new Result>().ok(page); + } + /** * @Description 以城找人 - 导出 * @Author songyunpeng