huanghongfa
2021-07-01 3eee4ef8dddb8d113490dc84ed174e1faa09b00f
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/PopulationApi.java
@@ -44,11 +44,21 @@
        return comMngPopulationService.getGridPopulationAdminList(populationListDTO);
    }
    /**
     * 综治后台-删除居民
     * @param ids   居民id集合
     * @return  删除结果
     */
    @PostMapping("/grid/del")
    public R delGridPopulationAdmin(@RequestBody List<Long> ids) {
        return comMngPopulationService.delGridPopulationAdmin(ids);
    }
    /**
     * 综治后台-居民详情
     * @param populationId  居民id
     * @return  居民详情
     */
    @GetMapping("/grid/get")
    public R getGridPopulationAdminDetail(@RequestParam("populationId")Long populationId) {
        return comMngPopulationService.getPopulationDetailApp(populationId);
@@ -58,4 +68,11 @@
    public R binding() {
        return comMngPopulationService.binding();
    }
    @GetMapping("/grid/statistics")
    public R getGridPopulationStatistics(@RequestParam("communityId") Long communityId) {
        return comMngPopulationService.getGridPopulationStatistics(communityId);
    }
}