|
@ -46,9 +46,9 @@ public class LingShanHelpCrowdController { |
|
|
private LingShanHelpCrowdService helpCrowdService; |
|
|
private LingShanHelpCrowdService helpCrowdService; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 导入重点帮扶人群 |
|
|
|
|
|
* @param file: |
|
|
* @param file: |
|
|
* @param crowdType: |
|
|
* @param crowdType: |
|
|
|
|
|
* @Description: 导入重点帮扶人群 |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/25 2:13 PM |
|
|
* @Date: 2023/5/25 2:13 PM |
|
@ -75,9 +75,9 @@ public class LingShanHelpCrowdController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 保存临时文件 |
|
|
|
|
|
* @param file: |
|
|
* @param file: |
|
|
* @param suffix: |
|
|
* @param suffix: |
|
|
|
|
|
* @Description: 保存临时文件 |
|
|
* @Return java.nio.file.Path |
|
|
* @Return java.nio.file.Path |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/25 2:14 PM |
|
|
* @Date: 2023/5/25 2:14 PM |
|
@ -101,8 +101,8 @@ public class LingShanHelpCrowdController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 下载导入模板 |
|
|
|
|
|
* @param helpType: |
|
|
* @param helpType: |
|
|
|
|
|
* @Description: 下载导入模板 |
|
|
* @Return void |
|
|
* @Return void |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/25 2:17 PM |
|
|
* @Date: 2023/5/25 2:17 PM |
|
@ -112,7 +112,7 @@ public class LingShanHelpCrowdController { |
|
|
|
|
|
|
|
|
LingShanHelpCrowdTypeEnum typeEnum; |
|
|
LingShanHelpCrowdTypeEnum typeEnum; |
|
|
|
|
|
|
|
|
if ((typeEnum = LingShanHelpCrowdTypeEnum.getByType(helpType)) == null ) { |
|
|
if ((typeEnum = LingShanHelpCrowdTypeEnum.getByType(helpType)) == null) { |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), null, "【重点帮扶人群】下载模板:指定的类型不正确:" + helpType); |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), null, "【重点帮扶人群】下载模板:指定的类型不正确:" + helpType); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -128,7 +128,6 @@ public class LingShanHelpCrowdController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 列表查询重点帮扶人群 |
|
|
|
|
|
* @param pageNo: |
|
|
* @param pageNo: |
|
|
* @param pageSize: |
|
|
* @param pageSize: |
|
|
* @param mobile: |
|
|
* @param mobile: |
|
@ -136,12 +135,13 @@ public class LingShanHelpCrowdController { |
|
|
* @param helpType: |
|
|
* @param helpType: |
|
|
* @param orgType: |
|
|
* @param orgType: |
|
|
* @param orgId: |
|
|
* @param orgId: |
|
|
* @Return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData<com.epmet.dto.result.lingshan.LingShanHelpCrowdListRstDTO>> |
|
|
* @Description: 列表查询重点帮扶人群 |
|
|
|
|
|
* @Return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData < com.epmet.dto.result.lingshan.LingShanHelpCrowdListRstDTO>> |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/25 3:31 PM |
|
|
* @Date: 2023/5/25 3:31 PM |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("listHelpCrowd") |
|
|
@GetMapping("listHelpCrowd") |
|
|
@MaskResponse(fieldNames = { "name", "mobile", "idCard" }, fieldsMaskType = { MaskResponse.MASK_TYPE_CHINESE_NAME, MaskResponse.MASK_TYPE_MOBILE, MaskResponse.MASK_TYPE_ID_CARD }) |
|
|
@MaskResponse(fieldNames = {"name", "mobile", "idCard"}, fieldsMaskType = {MaskResponse.MASK_TYPE_CHINESE_NAME, MaskResponse.MASK_TYPE_MOBILE, MaskResponse.MASK_TYPE_ID_CARD}) |
|
|
public Result<PageData<LingShanHelpCrowdListRstDTO>> listHelpCrowd(@RequestParam("pageNo") Integer pageNo, |
|
|
public Result<PageData<LingShanHelpCrowdListRstDTO>> listHelpCrowd(@RequestParam("pageNo") Integer pageNo, |
|
|
@RequestParam("pageSize") Integer pageSize, |
|
|
@RequestParam("pageSize") Integer pageSize, |
|
|
@RequestParam(value = "mobile", required = false) String mobile, |
|
|
@RequestParam(value = "mobile", required = false) String mobile, |
|
@ -151,13 +151,13 @@ public class LingShanHelpCrowdController { |
|
|
@RequestParam(value = "orgType", required = false) String orgType, |
|
|
@RequestParam(value = "orgType", required = false) String orgType, |
|
|
@RequestParam(value = "orgId", required = false) String orgId) { |
|
|
@RequestParam(value = "orgId", required = false) String orgId) { |
|
|
|
|
|
|
|
|
PageData<LingShanHelpCrowdListRstDTO> pd = helpCrowdService.listHelpCrowd(pageNo, pageSize, idCard,mobile, name, helpType, orgType, orgId); |
|
|
PageData<LingShanHelpCrowdListRstDTO> pd = helpCrowdService.listHelpCrowd(pageNo, pageSize, idCard, mobile, name, helpType, orgType, orgId); |
|
|
return new Result<PageData<LingShanHelpCrowdListRstDTO>>().ok(pd); |
|
|
return new Result<PageData<LingShanHelpCrowdListRstDTO>>().ok(pd); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 保存 (新增或者修改) |
|
|
|
|
|
* @param form: |
|
|
* @param form: |
|
|
|
|
|
* @Description: 保存 (新增或者修改) |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/25 5:25 PM |
|
|
* @Date: 2023/5/25 5:25 PM |
|
@ -171,8 +171,8 @@ public class LingShanHelpCrowdController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 根据居民id删除居民的帮扶人员信息 |
|
|
|
|
|
* @param input: |
|
|
* @param input: |
|
|
|
|
|
* @Description: 根据居民id删除居民的帮扶人员信息 |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/26 9:05 AM |
|
|
* @Date: 2023/5/26 9:05 AM |
|
@ -190,8 +190,8 @@ public class LingShanHelpCrowdController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 详情 |
|
|
|
|
|
* @param resiId: |
|
|
* @param resiId: |
|
|
|
|
|
* @Description: 详情 |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/26 9:36 AM |
|
|
* @Date: 2023/5/26 9:36 AM |
|
@ -203,9 +203,9 @@ public class LingShanHelpCrowdController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 大屏 :根据分类统计(用于右边的展示条,也用于中间的选择菜单) |
|
|
|
|
|
* @param orgId: |
|
|
* @param orgId: |
|
|
* @param orgType: |
|
|
* @param orgType: |
|
|
|
|
|
* @Description: 大屏 :根据分类统计(用于右边的展示条,也用于中间的选择菜单) |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/29 2:04 PM |
|
|
* @Date: 2023/5/29 2:04 PM |
|
@ -216,12 +216,28 @@ public class LingShanHelpCrowdController { |
|
|
return new Result<List<LingShanHelpCrowdStatusByCateRstDTO>>().ok(l); |
|
|
return new Result<List<LingShanHelpCrowdStatusByCateRstDTO>>().ok(l); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @param orgId: |
|
|
|
|
|
* @param orgType: |
|
|
|
|
|
* @Description: 大屏 :根据分类统计(用于右边的展示条,也用于中间的选择菜单) |
|
|
|
|
|
* @Return com.epmet.commons.tools.utils.Result |
|
|
|
|
|
* @Author: wangxianzhang |
|
|
|
|
|
* @Date: 2023/5/29 2:04 PM |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("screen/yifengScreen/statsByCategory") |
|
|
|
|
|
public Result<List<LingShanHelpCrowdStatusByCateRstDTO>> statsByCategoryYF(@RequestParam("orgId") String orgId, @RequestParam("orgType") String orgType) { |
|
|
|
|
|
List<LingShanHelpCrowdStatusByCateRstDTO> l = helpCrowdService.statsByCategory(orgId, orgType); |
|
|
|
|
|
return new Result<List<LingShanHelpCrowdStatusByCateRstDTO>>().ok(l); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description: 大屏地图:查询当前组织下级,指定帮扶类型的数据,打点 |
|
|
|
|
|
* @param orgId: |
|
|
* @param orgId: |
|
|
* @param orgType: |
|
|
* @param orgType: |
|
|
* @param helpType: |
|
|
* @param helpType: |
|
|
* @Return com.epmet.commons.tools.utils.Result<java.util.List<com.epmet.dto.result.lingshan.LingShanHelpCrowdScreenQtyOfSubOrgRstDTO>> |
|
|
* @Description: 大屏地图:查询当前组织下级,指定帮扶类型的数据,打点 |
|
|
|
|
|
* @Return com.epmet.commons.tools.utils.Result<java.util.List < com.epmet.dto.result.lingshan.LingShanHelpCrowdScreenQtyOfSubOrgRstDTO>> |
|
|
* @Author: wangxianzhang |
|
|
* @Author: wangxianzhang |
|
|
* @Date: 2023/5/29 2:42 PM |
|
|
* @Date: 2023/5/29 2:42 PM |
|
|
*/ |
|
|
*/ |
|
|