From 428d9c036b59907a754bd10fcab815b6e7f8c54e Mon Sep 17 00:00:00 2001 From: "java_cuibaocheng@163.com" Date: Wed, 25 Oct 2023 10:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BA=BA=E5=8F=A3=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PopulationInfoController.java | 110 ++ .../PopulationInfoAppController.java | 120 ++ .../PopulationInfoResourceController.java | 120 ++ .../PopulationInfoRouteController.java | 36 + .../populationinfo/IPopulationInfoDao.java | 119 ++ .../bos/populationinfo/PopulationInfoBO.java | 609 ++++++++ .../populationinfo/PopulationInfoDTO.java | 679 +++++++++ .../pos/populationinfo/PopulationInfoPO.java | 609 ++++++++ .../vos/populationinfo/PopulationInfoVO.java | 679 +++++++++ .../IPopulationInfoService.java | 189 +++ .../impl/PopulationInfoServiceImpl.java | 174 +++ src/main/resources/application-test.yml | 121 ++ src/main/resources/banner.txt | 1 - .../populationinfo/population-info-mapper.xml | 1114 ++++++++++++++ .../resources/static/assets/js/idCardUtils.js | 176 +++ .../templates/populationinfo/list.html | 305 ++++ .../templates/populationinfo/save.html | 1338 +++++++++++++++++ .../templates/populationinfo/update.html | 1286 ++++++++++++++++ 18 files changed, 7784 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/cm/population/controller/api/populationinfo/PopulationInfoController.java create mode 100644 src/main/java/com/cm/population/controller/app/api/populationinfo/PopulationInfoAppController.java create mode 100644 src/main/java/com/cm/population/controller/resource/populationinfo/PopulationInfoResourceController.java create mode 100644 src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoRouteController.java create mode 100644 src/main/java/com/cm/population/dao/populationinfo/IPopulationInfoDao.java create mode 100644 src/main/java/com/cm/population/pojo/bos/populationinfo/PopulationInfoBO.java create mode 100644 src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java create mode 100644 src/main/java/com/cm/population/pojo/pos/populationinfo/PopulationInfoPO.java create mode 100644 src/main/java/com/cm/population/pojo/vos/populationinfo/PopulationInfoVO.java create mode 100644 src/main/java/com/cm/population/service/populationinfo/IPopulationInfoService.java create mode 100644 src/main/java/com/cm/population/service/populationinfo/impl/PopulationInfoServiceImpl.java create mode 100644 src/main/resources/application-test.yml delete mode 100644 src/main/resources/banner.txt create mode 100644 src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml create mode 100644 src/main/resources/static/assets/js/idCardUtils.js create mode 100644 src/main/resources/templates/populationinfo/list.html create mode 100644 src/main/resources/templates/populationinfo/save.html create mode 100644 src/main/resources/templates/populationinfo/update.html diff --git a/src/main/java/com/cm/population/controller/api/populationinfo/PopulationInfoController.java b/src/main/java/com/cm/population/controller/api/populationinfo/PopulationInfoController.java new file mode 100644 index 0000000..12cc99a --- /dev/null +++ b/src/main/java/com/cm/population/controller/api/populationinfo/PopulationInfoController.java @@ -0,0 +1,110 @@ +package com.cm.population.controller.api.populationinfo; + +import com.cm.common.annotation.CheckRequestBodyAnnotation; +import com.cm.common.base.AbstractController; +import com.cm.common.constants.ISystemConstant; +import com.cm.common.pojo.ListPage; +import com.cm.common.result.ErrorResult; +import com.cm.common.result.SuccessResult; +import com.cm.common.result.SuccessResultData; +import com.cm.common.result.SuccessResultList; +import com.cm.population.pojo.dtos.populationinfo.PopulationInfoDTO; +import com.cm.population.pojo.vos.populationinfo.PopulationInfoVO; +import com.cm.population.service.populationinfo.IPopulationInfoService; +import io.swagger.annotations.*; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * @ClassName: PopulationInfoController + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "基础人口信息接口") +@RestController +@RequestMapping(ISystemConstant.API_PREFIX + "/populationinfo") +public class PopulationInfoController extends AbstractController { + + @Autowired + private IPopulationInfoService populationInfoService; + + @ApiOperation(value = "新增基础人口信息", notes = "新增基础人口信息接口") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PostMapping("save") + @CheckRequestBodyAnnotation + public SuccessResult save(@RequestBody PopulationInfoVO populationInfoVO) { + populationInfoService.save(populationInfoVO); + return new SuccessResult(); + } + + @ApiOperation(value = "删除基础人口信息", notes = "删除基础人口信息接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "ids", value = "ID列表,用下划线分隔", paramType = "path", example = "1_2_3") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @DeleteMapping("remove/{ids}") + public SuccessResult remove(@PathVariable("ids") String ids) { + populationInfoService.remove(Arrays.asList(ids.split("\\_"))); + return new SuccessResult(); + } + + @ApiOperation(value = "修改基础人口信息", notes = "修改基础人口信息接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "populationInfoId", value = "基础人口信息ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PutMapping("update/{populationInfoId}") + @CheckRequestBodyAnnotation + public SuccessResult update(@PathVariable("populationInfoId") String populationInfoId, @RequestBody PopulationInfoVO populationInfoVO) { + populationInfoService.update(populationInfoId, populationInfoVO); + return new SuccessResult(); + } + + @ApiOperation(value = "基础人口信息详情", notes = "基础人口信息详情接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "populationInfoId", value = "基础人口信息ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("get/{populationInfoId}") + public PopulationInfoDTO get(@PathVariable("populationInfoId") String populationInfoId) { + return populationInfoService.get(populationInfoId); + } + + @ApiOperation(value = "基础人口信息列表", notes = "基础人口信息列表接口") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("list") + public List list() { + Map params = requestParams(); + return populationInfoService.list(params); + } + + @ApiOperation(value = "基础人口信息分页列表", notes = "基础人口信息分页列表接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "page", value = "当前页码", paramType = "query", dataType = "int", defaultValue = "1"), + @ApiImplicitParam(name = "rows", value = "显示数量", paramType = "query", dataType = "int", defaultValue = "20"), + @ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = "startTime", value = "开始时间", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = "endTime", value = "结束时间", paramType = "query", dataType = "String") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("listpage") + public SuccessResultList> listPage(ListPage page) { + Map params = requestParams(); + page.setParams(params); + return populationInfoService.listPage(page); + } + + @ApiOperation(value = "基础人口信息统计", notes = "基础人口信息统计接口") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("count") + SuccessResultData count() { + Map params = requestParams(); + return new SuccessResultData<>(populationInfoService.count(params)); + } + +} \ No newline at end of file diff --git a/src/main/java/com/cm/population/controller/app/api/populationinfo/PopulationInfoAppController.java b/src/main/java/com/cm/population/controller/app/api/populationinfo/PopulationInfoAppController.java new file mode 100644 index 0000000..e096494 --- /dev/null +++ b/src/main/java/com/cm/population/controller/app/api/populationinfo/PopulationInfoAppController.java @@ -0,0 +1,120 @@ +package com.cm.population.controller.app.api.populationinfo; + +import com.cm.common.annotation.CheckRequestBodyAnnotation; +import com.cm.common.base.AbstractController; +import com.cm.common.constants.ISystemConstant; +import com.cm.common.pojo.ListPage; +import com.cm.common.result.ErrorResult; +import com.cm.common.result.SuccessResult; +import com.cm.common.result.SuccessResultData; +import com.cm.common.result.SuccessResultList; +import com.cm.population.pojo.dtos.populationinfo.PopulationInfoDTO; +import com.cm.population.pojo.vos.populationinfo.PopulationInfoVO; +import com.cm.population.service.populationinfo.IPopulationInfoService; +import io.swagger.annotations.*; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * @ClassName: PopulationInfoAppController + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Api(tags = ISystemConstant.API_TAGS_APP_PREFIX + "基础人口信息接口") +@RestController +@RequestMapping(ISystemConstant.APP_PREFIX + "/populationinfo") +public class PopulationInfoAppController extends AbstractController { + + @Autowired + private IPopulationInfoService populationInfoService; + + @ApiOperation(value = "新增基础人口信息", notes = "新增基础人口信息接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "token", value = "token", paramType = "header") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PostMapping("save") + @CheckRequestBodyAnnotation + public SuccessResult save(@RequestHeader("token") String token, @RequestBody PopulationInfoVO populationInfoVO) { + populationInfoService.save(token, populationInfoVO); + return new SuccessResult(); + } + + @ApiOperation(value = "删除基础人口信息(id列表)", notes = "删除基础人口信息(id列表)接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "token", value = "token", paramType = "header"), + @ApiImplicitParam(name = "ids", value = "ID列表,用下划线分隔", paramType = "path", example = "1_2_3") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @DeleteMapping("remove/{ids}") + public SuccessResult remove(@RequestHeader("token") String token, @PathVariable("ids") String ids) { + populationInfoService.remove(token, Arrays.asList(ids.split("\\_"))); + return new SuccessResult(); + } + + @ApiOperation(value = "修改基础人口信息", notes = "修改基础人口信息接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "token", value = "token", paramType = "header"), + @ApiImplicitParam(name = "populationInfoId", value = "基础人口信息ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PutMapping("updatepopulationinfo/{populationInfoId}") + @CheckRequestBodyAnnotation + public SuccessResult updatePopulationInfo(@RequestHeader("token") String token, @PathVariable("populationInfoId") String populationInfoId, @RequestBody PopulationInfoVO populationInfoVO) { + populationInfoService.update(token, populationInfoId, populationInfoVO); + return new SuccessResult(); + } + + @ApiOperation(value = "基础人口信息详情(通过ID)", notes = "基础人口信息详情(通过ID)接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "token", value = "token", paramType = "header"), + @ApiImplicitParam(name = "populationInfoId", value = "基础人口信息ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("get/{populationInfoId}") + public PopulationInfoDTO get(@RequestHeader("token") String token, @PathVariable("populationInfoId") String populationInfoId) { + return populationInfoService.get(populationInfoId); + } + + @ApiOperation(value = "基础人口信息列表", notes = "基础人口信息列表接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "token", value = "token", paramType = "header") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("list") + public List list(@RequestHeader("token") String token) { + Map params = requestParams(); + return populationInfoService.list(params); + } + + @ApiOperation(value = "基础人口信息分页列表", notes = "基础人口信息分页列表接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "token", value = "token", paramType = "header"), + @ApiImplicitParam(name = "page", value = "当前页码", paramType = "query", dataType = "int", defaultValue = "1"), + @ApiImplicitParam(name = "rows", value = "显示数量", paramType = "query", dataType = "int", defaultValue = "20"), + @ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = "startTime", value = "开始时间", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = "endTime", value = "结束时间", paramType = "query", dataType = "String") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("listpagepopulationinfo") + public SuccessResultList> listPage(@RequestHeader("token") String token, ListPage page) { + Map params = requestParams(); + page.setParams(params); + return populationInfoService.listPage(page); + } + + @ApiOperation(value = "基础人口信息统计", notes = "基础人口信息统计接口") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("count") + SuccessResultData count() { + Map params = requestParams(); + return new SuccessResultData<>(populationInfoService.count(params)); + } + +} \ No newline at end of file diff --git a/src/main/java/com/cm/population/controller/resource/populationinfo/PopulationInfoResourceController.java b/src/main/java/com/cm/population/controller/resource/populationinfo/PopulationInfoResourceController.java new file mode 100644 index 0000000..c9475d9 --- /dev/null +++ b/src/main/java/com/cm/population/controller/resource/populationinfo/PopulationInfoResourceController.java @@ -0,0 +1,120 @@ +package com.cm.population.controller.resource.populationinfo; + +import com.cm.common.annotation.CheckRequestBodyAnnotation; +import com.cm.common.base.AbstractController; +import com.cm.common.constants.ISystemConstant; +import com.cm.common.pojo.ListPage; +import com.cm.common.result.ErrorResult; +import com.cm.common.result.SuccessResult; +import com.cm.common.result.SuccessResultData; +import com.cm.common.result.SuccessResultList; +import com.cm.population.pojo.dtos.populationinfo.PopulationInfoDTO; +import com.cm.population.pojo.vos.populationinfo.PopulationInfoVO; +import com.cm.population.service.populationinfo.IPopulationInfoService; +import io.swagger.annotations.*; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * @ClassName: PopulationInfoResourceController + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Api(tags = ISystemConstant.API_TAGS_RESOURCE_PREFIX + "基础人口信息接口") +@RestController +@RequestMapping(ISystemConstant.RESOURCE_PREFIX + "/populationinfo") +public class PopulationInfoResourceController extends AbstractController { + + @Autowired + private IPopulationInfoService populationInfoService; + + @ApiOperation(value = "新增基础人口信息", notes = "新增基础人口信息接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "access_token", value = "access_token", paramType = "query") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PostMapping("save") + @CheckRequestBodyAnnotation + public SuccessResult save(@RequestBody PopulationInfoVO populationInfoVO) { + populationInfoService.save(populationInfoVO); + return new SuccessResult(); + } + + @ApiOperation(value = "删除基础人口信息(id列表)", notes = "删除基础人口信息(id列表)接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "access_token", value = "access_token", paramType = "query"), + @ApiImplicitParam(name = "ids", value = "ID列表,用下划线分隔", paramType = "path", example = "1_2_3") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @DeleteMapping("remove/{ids}") + public SuccessResult remove(@PathVariable("ids") String ids) { + populationInfoService.remove(Arrays.asList(ids.split("\\_"))); + return new SuccessResult(); + } + + @ApiOperation(value = "修改基础人口信息", notes = "修改基础人口信息接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "access_token", value = "access_token", paramType = "query"), + @ApiImplicitParam(name = "populationInfoId", value = "基础人口信息ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PutMapping("update/{populationInfoId}") + @CheckRequestBodyAnnotation + public SuccessResult update(@PathVariable("populationInfoId") String populationInfoId, @RequestBody PopulationInfoVO populationInfoVO) { + populationInfoService.update(populationInfoId, populationInfoVO); + return new SuccessResult(); + } + + @ApiOperation(value = "基础人口信息详情", notes = "基础人口信息详情接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "access_token", value = "access_token", paramType = "query"), + @ApiImplicitParam(name = "populationInfoId", value = "基础人口信息ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("get/{populationInfoId}") + public PopulationInfoDTO get(@PathVariable("populationInfoId") String populationInfoId) { + return populationInfoService.get(populationInfoId); + } + + @ApiOperation(value = "基础人口信息列表", notes = "基础人口信息列表接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "access_token", value = "access_token", paramType = "query") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("list") + public List list() { + Map params = requestParams(); + return populationInfoService.list(params); + } + + @ApiOperation(value = "基础人口信息分页列表", notes = "基础人口信息分页列表接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "access_token", value = "access_token", paramType = "query"), + @ApiImplicitParam(name = "page", value = "当前页码", paramType = "query", dataType = "int", defaultValue = "1"), + @ApiImplicitParam(name = "rows", value = "显示数量", paramType = "query", dataType = "int", defaultValue = "20"), + @ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = "startTime", value = "开始时间", paramType = "query", dataType = "String"), + @ApiImplicitParam(name = "endTime", value = "结束时间", paramType = "query", dataType = "String") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("listpage") + public SuccessResultList> listPage(ListPage page) { + Map params = requestParams(); + page.setParams(params); + return populationInfoService.listPage(page); + } + + @ApiOperation(value = "基础人口信息统计", notes = "基础人口信息统计接口") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("count") + SuccessResultData count() { + Map params = requestParams(); + return new SuccessResultData<>(populationInfoService.count(params)); + } + +} \ No newline at end of file diff --git a/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoRouteController.java b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoRouteController.java new file mode 100644 index 0000000..a498c53 --- /dev/null +++ b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoRouteController.java @@ -0,0 +1,36 @@ +package com.cm.population.controller.route.populationinfo; + +import com.cm.common.base.AbstractController; +import com.cm.common.constants.ISystemConstant; +import io.swagger.annotations.*; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.servlet.ModelAndView; + +/** + * @ClassName: PopulationInfoController + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "基础人口信息路由") +@RestController +@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/populationinfo") +public class PopulationInfoRouteController extends AbstractController { + + @GetMapping("save") + public ModelAndView save() { + return new ModelAndView("populationinfo/save"); + } + + @GetMapping("update") + public ModelAndView update() { + return new ModelAndView("populationinfo/update"); + } + + @GetMapping("list") + public ModelAndView list() { + return new ModelAndView("populationinfo/list"); + } + +} \ No newline at end of file diff --git a/src/main/java/com/cm/population/dao/populationinfo/IPopulationInfoDao.java b/src/main/java/com/cm/population/dao/populationinfo/IPopulationInfoDao.java new file mode 100644 index 0000000..18ee191 --- /dev/null +++ b/src/main/java/com/cm/population/dao/populationinfo/IPopulationInfoDao.java @@ -0,0 +1,119 @@ +package com.cm.population.dao.populationinfo; + +import com.cm.common.exception.RemoveException; +import com.cm.common.exception.SaveException; +import com.cm.common.exception.SearchException; +import com.cm.common.exception.UpdateException; +import com.cm.population.pojo.bos.populationinfo.PopulationInfoBO; +import com.cm.population.pojo.pos.populationinfo.PopulationInfoPO; +import com.cm.population.pojo.dtos.populationinfo.PopulationInfoDTO; +import org.springframework.stereotype.Repository; +import java.util.List; +import java.util.Map; + +/** + * @ClassName: IPopulationInfoDao + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Repository +public interface IPopulationInfoDao { + + /** + * 新增基础人口信息 + * + * @param params + * @throws SaveException + */ + void save(Map params) throws SaveException; + + /** + * 删除基础人口信息 + * + * @param params + * @throws RemoveException + */ + void remove(Map params) throws RemoveException; + + /** + * 删除基础人口信息(物理) + * + * @param params + * @throws RemoveException + */ + void delete(Map params) throws RemoveException; + + /** + * 修改基础人口信息 + * + * @param params + * @throws UpdateException + */ + void update(Map params) throws UpdateException; + + /** + * 基础人口信息详情 + * + * @param params + * @return + * @throws SearchException + */ + PopulationInfoDTO get(Map params) throws SearchException; + + /** + * 基础人口信息详情 + * + * @param params + * @return + * @throws SearchException + */ + PopulationInfoBO getBO(Map params) throws SearchException; + + /** + * 基础人口信息详情 + * + * @param params + * @return + * @throws SearchException + */ + PopulationInfoPO getPO(Map params) throws SearchException; + + /** + * 基础人口信息列表 + * + * @param params + * @return + * @throws SearchException + */ + List list(Map params) throws SearchException; + + /** + * 基础人口信息列表 + * + * @param params + * @return + * @throws SearchException + */ + List listBO(Map params) throws SearchException; + + /** + * 基础人口信息列表 + * + * @param params + * @return + * @throws SearchException + */ + List listPO(Map params) throws SearchException; + + /** + * 基础人口信息统计 + * + * @param params + * @return + * @throws SearchException + */ + Integer count(Map params) throws SearchException; + +} \ No newline at end of file diff --git a/src/main/java/com/cm/population/pojo/bos/populationinfo/PopulationInfoBO.java b/src/main/java/com/cm/population/pojo/bos/populationinfo/PopulationInfoBO.java new file mode 100644 index 0000000..19b2fb1 --- /dev/null +++ b/src/main/java/com/cm/population/pojo/bos/populationinfo/PopulationInfoBO.java @@ -0,0 +1,609 @@ +package com.cm.population.pojo.bos.populationinfo; + +/** + * + * @ClassName: PopulationInfoBO + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +public class PopulationInfoBO { + + private String populationInfoId; + private String name; + private String idcard; + private String idcardType; + private String birthday; + private String sex; + private String nation; + private String education; + private String description; + private String organization; + private String religion; + private String marriageStatus; + private String marriageChangeTime; + private String marriageFirstTime; + private String socialSecurity; + private String healthStatus; + private String department; + private String pastion; + private String pastionTitle; + private String expertise; + private String phone; + private String fatherId; + private String fatherName; + private String fatherIdcard; + private String fatherPhone; + private String motherId; + private String motherName; + private String motherIdcard; + private String motherPhone; + private String relationship; + private String domicileAddress; + private String originAddress; + private String flowTime; + private String flowReason; + private String flowReasontext; + private String isOldage; + private String oldageType; + private String oldageDepartment; + private String oldageLift; + private String oldageHealthStatus; + private String oldageSelfcare; + private String oldageLive; + private String isDisability; + private String disabilityType; + private String disabilityLevel; + private String disabilityNumber; + private String disabilityCarnumber; + private String disabilityAddress; + private String disabilityIncome; + private String disabilityHouse; + private String disabilityTime; + private String disabilityGuardian; + private String disabilityGuardianPhone; + private String disabilityGuardianRelation; + private String isMilitary; + private String militaryTime; + private String militaryPosition; + private String isSuccour; + private String succourDibao; + private String succourHelp; + private String succourDifficulty; + private String succourSubsidy; + private String isParty; + private String partyOrganization; + private String partyTime; + private String othertext; + + public String getPopulationInfoId() { + return populationInfoId == null ? "" : populationInfoId.trim(); + } + + public void setPopulationInfoId(String populationInfoId) { + this.populationInfoId = populationInfoId; + } + + public String getName() { + return name == null ? "" : name.trim(); + } + + public void setName(String name) { + this.name = name; + } + + public String getIdcard() { + return idcard == null ? "" : idcard.trim(); + } + + public void setIdcard(String idcard) { + this.idcard = idcard; + } + + public String getIdcardType() { + return idcardType == null ? "" : idcardType.trim(); + } + + public void setIdcardType(String idcardType) { + this.idcardType = idcardType; + } + + public String getBirthday() { + return birthday == null ? "" : birthday.trim(); + } + + public void setBirthday(String birthday) { + this.birthday = birthday; + } + + public String getSex() { + return sex == null ? "" : sex.trim(); + } + + public void setSex(String sex) { + this.sex = sex; + } + + public String getNation() { + return nation == null ? "" : nation.trim(); + } + + public void setNation(String nation) { + this.nation = nation; + } + + public String getEducation() { + return education == null ? "" : education.trim(); + } + + public void setEducation(String education) { + this.education = education; + } + + public String getDescription() { + return description == null ? "" : description.trim(); + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOrganization() { + return organization == null ? "" : organization.trim(); + } + + public void setOrganization(String organization) { + this.organization = organization; + } + + public String getReligion() { + return religion == null ? "" : religion.trim(); + } + + public void setReligion(String religion) { + this.religion = religion; + } + + public String getMarriageStatus() { + return marriageStatus == null ? "" : marriageStatus.trim(); + } + + public void setMarriageStatus(String marriageStatus) { + this.marriageStatus = marriageStatus; + } + + public String getMarriageChangeTime() { + return marriageChangeTime == null ? "" : marriageChangeTime.trim(); + } + + public void setMarriageChangeTime(String marriageChangeTime) { + this.marriageChangeTime = marriageChangeTime; + } + + public String getMarriageFirstTime() { + return marriageFirstTime == null ? "" : marriageFirstTime.trim(); + } + + public void setMarriageFirstTime(String marriageFirstTime) { + this.marriageFirstTime = marriageFirstTime; + } + + public String getSocialSecurity() { + return socialSecurity == null ? "" : socialSecurity.trim(); + } + + public void setSocialSecurity(String socialSecurity) { + this.socialSecurity = socialSecurity; + } + + public String getHealthStatus() { + return healthStatus == null ? "" : healthStatus.trim(); + } + + public void setHealthStatus(String healthStatus) { + this.healthStatus = healthStatus; + } + + public String getDepartment() { + return department == null ? "" : department.trim(); + } + + public void setDepartment(String department) { + this.department = department; + } + + public String getPastion() { + return pastion == null ? "" : pastion.trim(); + } + + public void setPastion(String pastion) { + this.pastion = pastion; + } + + public String getPastionTitle() { + return pastionTitle == null ? "" : pastionTitle.trim(); + } + + public void setPastionTitle(String pastionTitle) { + this.pastionTitle = pastionTitle; + } + + public String getExpertise() { + return expertise == null ? "" : expertise.trim(); + } + + public void setExpertise(String expertise) { + this.expertise = expertise; + } + + public String getPhone() { + return phone == null ? "" : phone.trim(); + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getFatherId() { + return fatherId == null ? "" : fatherId.trim(); + } + + public void setFatherId(String fatherId) { + this.fatherId = fatherId; + } + + public String getFatherName() { + return fatherName == null ? "" : fatherName.trim(); + } + + public void setFatherName(String fatherName) { + this.fatherName = fatherName; + } + + public String getFatherIdcard() { + return fatherIdcard == null ? "" : fatherIdcard.trim(); + } + + public void setFatherIdcard(String fatherIdcard) { + this.fatherIdcard = fatherIdcard; + } + + public String getFatherPhone() { + return fatherPhone == null ? "" : fatherPhone.trim(); + } + + public void setFatherPhone(String fatherPhone) { + this.fatherPhone = fatherPhone; + } + + public String getMotherId() { + return motherId == null ? "" : motherId.trim(); + } + + public void setMotherId(String motherId) { + this.motherId = motherId; + } + + public String getMotherName() { + return motherName == null ? "" : motherName.trim(); + } + + public void setMotherName(String motherName) { + this.motherName = motherName; + } + + public String getMotherIdcard() { + return motherIdcard == null ? "" : motherIdcard.trim(); + } + + public void setMotherIdcard(String motherIdcard) { + this.motherIdcard = motherIdcard; + } + + public String getMotherPhone() { + return motherPhone == null ? "" : motherPhone.trim(); + } + + public void setMotherPhone(String motherPhone) { + this.motherPhone = motherPhone; + } + + public String getRelationship() { + return relationship == null ? "" : relationship.trim(); + } + + public void setRelationship(String relationship) { + this.relationship = relationship; + } + + public String getDomicileAddress() { + return domicileAddress == null ? "" : domicileAddress.trim(); + } + + public void setDomicileAddress(String domicileAddress) { + this.domicileAddress = domicileAddress; + } + + public String getOriginAddress() { + return originAddress == null ? "" : originAddress.trim(); + } + + public void setOriginAddress(String originAddress) { + this.originAddress = originAddress; + } + + public String getFlowTime() { + return flowTime == null ? "" : flowTime.trim(); + } + + public void setFlowTime(String flowTime) { + this.flowTime = flowTime; + } + + public String getFlowReason() { + return flowReason == null ? "" : flowReason.trim(); + } + + public void setFlowReason(String flowReason) { + this.flowReason = flowReason; + } + + public String getFlowReasontext() { + return flowReasontext == null ? "" : flowReasontext.trim(); + } + + public void setFlowReasontext(String flowReasontext) { + this.flowReasontext = flowReasontext; + } + + public String getIsOldage() { + return isOldage == null ? "" : isOldage.trim(); + } + + public void setIsOldage(String isOldage) { + this.isOldage = isOldage; + } + + public String getOldageType() { + return oldageType == null ? "" : oldageType.trim(); + } + + public void setOldageType(String oldageType) { + this.oldageType = oldageType; + } + + public String getOldageDepartment() { + return oldageDepartment == null ? "" : oldageDepartment.trim(); + } + + public void setOldageDepartment(String oldageDepartment) { + this.oldageDepartment = oldageDepartment; + } + + public String getOldageLift() { + return oldageLift == null ? "" : oldageLift.trim(); + } + + public void setOldageLift(String oldageLift) { + this.oldageLift = oldageLift; + } + + public String getOldageHealthStatus() { + return oldageHealthStatus == null ? "" : oldageHealthStatus.trim(); + } + + public void setOldageHealthStatus(String oldageHealthStatus) { + this.oldageHealthStatus = oldageHealthStatus; + } + + public String getOldageSelfcare() { + return oldageSelfcare == null ? "" : oldageSelfcare.trim(); + } + + public void setOldageSelfcare(String oldageSelfcare) { + this.oldageSelfcare = oldageSelfcare; + } + + public String getOldageLive() { + return oldageLive == null ? "" : oldageLive.trim(); + } + + public void setOldageLive(String oldageLive) { + this.oldageLive = oldageLive; + } + + public String getIsDisability() { + return isDisability == null ? "" : isDisability.trim(); + } + + public void setIsDisability(String isDisability) { + this.isDisability = isDisability; + } + + public String getDisabilityType() { + return disabilityType == null ? "" : disabilityType.trim(); + } + + public void setDisabilityType(String disabilityType) { + this.disabilityType = disabilityType; + } + + public String getDisabilityLevel() { + return disabilityLevel == null ? "" : disabilityLevel.trim(); + } + + public void setDisabilityLevel(String disabilityLevel) { + this.disabilityLevel = disabilityLevel; + } + + public String getDisabilityNumber() { + return disabilityNumber == null ? "" : disabilityNumber.trim(); + } + + public void setDisabilityNumber(String disabilityNumber) { + this.disabilityNumber = disabilityNumber; + } + + public String getDisabilityCarnumber() { + return disabilityCarnumber == null ? "" : disabilityCarnumber.trim(); + } + + public void setDisabilityCarnumber(String disabilityCarnumber) { + this.disabilityCarnumber = disabilityCarnumber; + } + + public String getDisabilityAddress() { + return disabilityAddress == null ? "" : disabilityAddress.trim(); + } + + public void setDisabilityAddress(String disabilityAddress) { + this.disabilityAddress = disabilityAddress; + } + + public String getDisabilityIncome() { + return disabilityIncome == null ? "" : disabilityIncome.trim(); + } + + public void setDisabilityIncome(String disabilityIncome) { + this.disabilityIncome = disabilityIncome; + } + + public String getDisabilityHouse() { + return disabilityHouse == null ? "" : disabilityHouse.trim(); + } + + public void setDisabilityHouse(String disabilityHouse) { + this.disabilityHouse = disabilityHouse; + } + + public String getDisabilityTime() { + return disabilityTime == null ? "" : disabilityTime.trim(); + } + + public void setDisabilityTime(String disabilityTime) { + this.disabilityTime = disabilityTime; + } + + public String getDisabilityGuardian() { + return disabilityGuardian == null ? "" : disabilityGuardian.trim(); + } + + public void setDisabilityGuardian(String disabilityGuardian) { + this.disabilityGuardian = disabilityGuardian; + } + + public String getDisabilityGuardianPhone() { + return disabilityGuardianPhone == null ? "" : disabilityGuardianPhone.trim(); + } + + public void setDisabilityGuardianPhone(String disabilityGuardianPhone) { + this.disabilityGuardianPhone = disabilityGuardianPhone; + } + + public String getDisabilityGuardianRelation() { + return disabilityGuardianRelation == null ? "" : disabilityGuardianRelation.trim(); + } + + public void setDisabilityGuardianRelation(String disabilityGuardianRelation) { + this.disabilityGuardianRelation = disabilityGuardianRelation; + } + + public String getIsMilitary() { + return isMilitary == null ? "" : isMilitary.trim(); + } + + public void setIsMilitary(String isMilitary) { + this.isMilitary = isMilitary; + } + + public String getMilitaryTime() { + return militaryTime == null ? "" : militaryTime.trim(); + } + + public void setMilitaryTime(String militaryTime) { + this.militaryTime = militaryTime; + } + + public String getMilitaryPosition() { + return militaryPosition == null ? "" : militaryPosition.trim(); + } + + public void setMilitaryPosition(String militaryPosition) { + this.militaryPosition = militaryPosition; + } + + public String getIsSuccour() { + return isSuccour == null ? "" : isSuccour.trim(); + } + + public void setIsSuccour(String isSuccour) { + this.isSuccour = isSuccour; + } + + public String getSuccourDibao() { + return succourDibao == null ? "" : succourDibao.trim(); + } + + public void setSuccourDibao(String succourDibao) { + this.succourDibao = succourDibao; + } + + public String getSuccourHelp() { + return succourHelp == null ? "" : succourHelp.trim(); + } + + public void setSuccourHelp(String succourHelp) { + this.succourHelp = succourHelp; + } + + public String getSuccourDifficulty() { + return succourDifficulty == null ? "" : succourDifficulty.trim(); + } + + public void setSuccourDifficulty(String succourDifficulty) { + this.succourDifficulty = succourDifficulty; + } + + public String getSuccourSubsidy() { + return succourSubsidy == null ? "" : succourSubsidy.trim(); + } + + public void setSuccourSubsidy(String succourSubsidy) { + this.succourSubsidy = succourSubsidy; + } + + public String getIsParty() { + return isParty == null ? "" : isParty.trim(); + } + + public void setIsParty(String isParty) { + this.isParty = isParty; + } + + public String getPartyOrganization() { + return partyOrganization == null ? "" : partyOrganization.trim(); + } + + public void setPartyOrganization(String partyOrganization) { + this.partyOrganization = partyOrganization; + } + + public String getPartyTime() { + return partyTime == null ? "" : partyTime.trim(); + } + + public void setPartyTime(String partyTime) { + this.partyTime = partyTime; + } + + public String getOthertext() { + return othertext == null ? "" : othertext.trim(); + } + + public void setOthertext(String othertext) { + this.othertext = othertext; + } + + +} diff --git a/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java b/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java new file mode 100644 index 0000000..49cc0e1 --- /dev/null +++ b/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java @@ -0,0 +1,679 @@ +package com.cm.population.pojo.dtos.populationinfo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * + * @ClassName: PopulationInfoDTO + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@ApiModel +public class PopulationInfoDTO { + + @ApiModelProperty(name = "populationInfoId", value = "人口ID") + private String populationInfoId; + @ApiModelProperty(name = "name", value = "姓名") + private String name; + @ApiModelProperty(name = "idcard", value = "证件") + private String idcard; + @ApiModelProperty(name = "idcardType", value = "证件类型") + private String idcardType; + @ApiModelProperty(name = "birthday", value = "生日") + private String birthday; + @ApiModelProperty(name = "sex", value = "性别") + private String sex; + @ApiModelProperty(name = "nation", value = "民族") + private String nation; + @ApiModelProperty(name = "education", value = "文化程度") + private String education; + @ApiModelProperty(name = "description", value = "就读院校及专业(需注明学历)") + private String description; + @ApiModelProperty(name = "organization", value = "所属党派") + private String organization; + @ApiModelProperty(name = "religion", value = "宗教信仰") + private String religion; + @ApiModelProperty(name = "marriageStatus", value = "婚姻状况") + private String marriageStatus; + @ApiModelProperty(name = "marriageChangeTime", value = "婚变日期") + private String marriageChangeTime; + @ApiModelProperty(name = "marriageFirstTime", value = "初婚日期") + private String marriageFirstTime; + @ApiModelProperty(name = "socialSecurity", value = "社会保险情况") + private String socialSecurity; + @ApiModelProperty(name = "healthStatus", value = "健康状况") + private String healthStatus; + @ApiModelProperty(name = "department", value = "工作单位") + private String department; + @ApiModelProperty(name = "pastion", value = "工作职务") + private String pastion; + @ApiModelProperty(name = "pastionTitle", value = "专业技术职称") + private String pastionTitle; + @ApiModelProperty(name = "expertise", value = "专长") + private String expertise; + @ApiModelProperty(name = "phone", value = "联系电话") + private String phone; + @ApiModelProperty(name = "fatherId", value = "父亲ID") + private String fatherId; + @ApiModelProperty(name = "fatherName", value = "父亲姓名") + private String fatherName; + @ApiModelProperty(name = "fatherIdcard", value = "父亲证件") + private String fatherIdcard; + @ApiModelProperty(name = "fatherPhone", value = "父亲电话") + private String fatherPhone; + @ApiModelProperty(name = "motherId", value = "母亲ID") + private String motherId; + @ApiModelProperty(name = "motherName", value = "母亲姓名") + private String motherName; + @ApiModelProperty(name = "motherIdcard", value = "母亲证件") + private String motherIdcard; + @ApiModelProperty(name = "motherPhone", value = "母亲电话") + private String motherPhone; + @ApiModelProperty(name = "relationship", value = "与户主关系") + private String relationship; + @ApiModelProperty(name = "domicileAddress", value = "户籍地址") + private String domicileAddress; + @ApiModelProperty(name = "originAddress", value = "籍贯地址") + private String originAddress; + @ApiModelProperty(name = "flowTime", value = "流动日期") + private String flowTime; + @ApiModelProperty(name = "flowReason", value = "流动原因") + private String flowReason; + @ApiModelProperty(name = "flowReasontext", value = "其他流动原因") + private String flowReasontext; + @ApiModelProperty(name = "isOldage", value = "是否为老年人(是或否)") + private String isOldage; + @ApiModelProperty(name = "oldageType", value = "老人类别") + private String oldageType; + @ApiModelProperty(name = "oldageDepartment", value = "离退休钱单位") + private String oldageDepartment; + @ApiModelProperty(name = "oldageLift", value = "生活照料情况") + private String oldageLift; + @ApiModelProperty(name = "oldageHealthStatus", value = "健康状况") + private String oldageHealthStatus; + @ApiModelProperty(name = "oldageSelfcare", value = "生活自理能力") + private String oldageSelfcare; + @ApiModelProperty(name = "oldageLive", value = "居住状况") + private String oldageLive; + @ApiModelProperty(name = "isDisability", value = "是否为残疾人(是或否)") + private String isDisability; + @ApiModelProperty(name = "disabilityType", value = "残疾类别") + private String disabilityType; + @ApiModelProperty(name = "disabilityLevel", value = "残疾等级") + private String disabilityLevel; + @ApiModelProperty(name = "disabilityNumber", value = "残疾证号") + private String disabilityNumber; + @ApiModelProperty(name = "disabilityCarnumber", value = "残疾车牌号") + private String disabilityCarnumber; + @ApiModelProperty(name = "disabilityAddress", value = "居住地址") + private String disabilityAddress; + @ApiModelProperty(name = "disabilityIncome", value = "收入情况") + private String disabilityIncome; + @ApiModelProperty(name = "disabilityHouse", value = "住房来源") + private String disabilityHouse; + @ApiModelProperty(name = "disabilityTime", value = "办证时间") + private String disabilityTime; + @ApiModelProperty(name = "disabilityGuardian", value = "监护人或配偶姓名") + private String disabilityGuardian; + @ApiModelProperty(name = "disabilityGuardianPhone", value = "监护人联系电话") + private String disabilityGuardianPhone; + @ApiModelProperty(name = "disabilityGuardianRelation", value = "监护人关系") + private String disabilityGuardianRelation; + @ApiModelProperty(name = "isMilitary", value = "是否为军人(是或否)") + private String isMilitary; + @ApiModelProperty(name = "militaryTime", value = "批准退出现役日期") + private String militaryTime; + @ApiModelProperty(name = "militaryPosition", value = "退出现役时职级") + private String militaryPosition; + @ApiModelProperty(name = "isSuccour", value = "是否为社会救助(是或否)") + private String isSuccour; + @ApiModelProperty(name = "succourDibao", value = "低保户") + private String succourDibao; + @ApiModelProperty(name = "succourHelp", value = "医疗救助") + private String succourHelp; + @ApiModelProperty(name = "succourDifficulty", value = "困难职工") + private String succourDifficulty; + @ApiModelProperty(name = "succourSubsidy", value = "老龄补贴") + private String succourSubsidy; + @ApiModelProperty(name = "isParty", value = "是否为党员(是或否)") + private String isParty; + @ApiModelProperty(name = "partyOrganization", value = "党组织名称") + private String partyOrganization; + @ApiModelProperty(name = "partyTime", value = "入党时间") + private String partyTime; + @ApiModelProperty(name = "othertext", value = "其他说明") + private String othertext; + + public String getPopulationInfoId() { + return populationInfoId == null ? "" : populationInfoId.trim(); + } + + public void setPopulationInfoId(String populationInfoId) { + this.populationInfoId = populationInfoId; + } + + public String getName() { + return name == null ? "" : name.trim(); + } + + public void setName(String name) { + this.name = name; + } + + public String getIdcard() { + return idcard == null ? "" : idcard.trim(); + } + + public void setIdcard(String idcard) { + this.idcard = idcard; + } + + public String getIdcardType() { + return idcardType == null ? "" : idcardType.trim(); + } + + public void setIdcardType(String idcardType) { + this.idcardType = idcardType; + } + + public String getBirthday() { + return birthday == null ? "" : birthday.trim(); + } + + public void setBirthday(String birthday) { + this.birthday = birthday; + } + + public String getSex() { + return sex == null ? "" : sex.trim(); + } + + public void setSex(String sex) { + this.sex = sex; + } + + public String getNation() { + return nation == null ? "" : nation.trim(); + } + + public void setNation(String nation) { + this.nation = nation; + } + + public String getEducation() { + return education == null ? "" : education.trim(); + } + + public void setEducation(String education) { + this.education = education; + } + + public String getDescription() { + return description == null ? "" : description.trim(); + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOrganization() { + return organization == null ? "" : organization.trim(); + } + + public void setOrganization(String organization) { + this.organization = organization; + } + + public String getReligion() { + return religion == null ? "" : religion.trim(); + } + + public void setReligion(String religion) { + this.religion = religion; + } + + public String getMarriageStatus() { + return marriageStatus == null ? "" : marriageStatus.trim(); + } + + public void setMarriageStatus(String marriageStatus) { + this.marriageStatus = marriageStatus; + } + + public String getMarriageChangeTime() { + return marriageChangeTime == null ? "" : marriageChangeTime.trim(); + } + + public void setMarriageChangeTime(String marriageChangeTime) { + this.marriageChangeTime = marriageChangeTime; + } + + public String getMarriageFirstTime() { + return marriageFirstTime == null ? "" : marriageFirstTime.trim(); + } + + public void setMarriageFirstTime(String marriageFirstTime) { + this.marriageFirstTime = marriageFirstTime; + } + + public String getSocialSecurity() { + return socialSecurity == null ? "" : socialSecurity.trim(); + } + + public void setSocialSecurity(String socialSecurity) { + this.socialSecurity = socialSecurity; + } + + public String getHealthStatus() { + return healthStatus == null ? "" : healthStatus.trim(); + } + + public void setHealthStatus(String healthStatus) { + this.healthStatus = healthStatus; + } + + public String getDepartment() { + return department == null ? "" : department.trim(); + } + + public void setDepartment(String department) { + this.department = department; + } + + public String getPastion() { + return pastion == null ? "" : pastion.trim(); + } + + public void setPastion(String pastion) { + this.pastion = pastion; + } + + public String getPastionTitle() { + return pastionTitle == null ? "" : pastionTitle.trim(); + } + + public void setPastionTitle(String pastionTitle) { + this.pastionTitle = pastionTitle; + } + + public String getExpertise() { + return expertise == null ? "" : expertise.trim(); + } + + public void setExpertise(String expertise) { + this.expertise = expertise; + } + + public String getPhone() { + return phone == null ? "" : phone.trim(); + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getFatherId() { + return fatherId == null ? "" : fatherId.trim(); + } + + public void setFatherId(String fatherId) { + this.fatherId = fatherId; + } + + public String getFatherName() { + return fatherName == null ? "" : fatherName.trim(); + } + + public void setFatherName(String fatherName) { + this.fatherName = fatherName; + } + + public String getFatherIdcard() { + return fatherIdcard == null ? "" : fatherIdcard.trim(); + } + + public void setFatherIdcard(String fatherIdcard) { + this.fatherIdcard = fatherIdcard; + } + + public String getFatherPhone() { + return fatherPhone == null ? "" : fatherPhone.trim(); + } + + public void setFatherPhone(String fatherPhone) { + this.fatherPhone = fatherPhone; + } + + public String getMotherId() { + return motherId == null ? "" : motherId.trim(); + } + + public void setMotherId(String motherId) { + this.motherId = motherId; + } + + public String getMotherName() { + return motherName == null ? "" : motherName.trim(); + } + + public void setMotherName(String motherName) { + this.motherName = motherName; + } + + public String getMotherIdcard() { + return motherIdcard == null ? "" : motherIdcard.trim(); + } + + public void setMotherIdcard(String motherIdcard) { + this.motherIdcard = motherIdcard; + } + + public String getMotherPhone() { + return motherPhone == null ? "" : motherPhone.trim(); + } + + public void setMotherPhone(String motherPhone) { + this.motherPhone = motherPhone; + } + + public String getRelationship() { + return relationship == null ? "" : relationship.trim(); + } + + public void setRelationship(String relationship) { + this.relationship = relationship; + } + + public String getDomicileAddress() { + return domicileAddress == null ? "" : domicileAddress.trim(); + } + + public void setDomicileAddress(String domicileAddress) { + this.domicileAddress = domicileAddress; + } + + public String getOriginAddress() { + return originAddress == null ? "" : originAddress.trim(); + } + + public void setOriginAddress(String originAddress) { + this.originAddress = originAddress; + } + + public String getFlowTime() { + return flowTime == null ? "" : flowTime.trim(); + } + + public void setFlowTime(String flowTime) { + this.flowTime = flowTime; + } + + public String getFlowReason() { + return flowReason == null ? "" : flowReason.trim(); + } + + public void setFlowReason(String flowReason) { + this.flowReason = flowReason; + } + + public String getFlowReasontext() { + return flowReasontext == null ? "" : flowReasontext.trim(); + } + + public void setFlowReasontext(String flowReasontext) { + this.flowReasontext = flowReasontext; + } + + public String getIsOldage() { + return isOldage == null ? "" : isOldage.trim(); + } + + public void setIsOldage(String isOldage) { + this.isOldage = isOldage; + } + + public String getOldageType() { + return oldageType == null ? "" : oldageType.trim(); + } + + public void setOldageType(String oldageType) { + this.oldageType = oldageType; + } + + public String getOldageDepartment() { + return oldageDepartment == null ? "" : oldageDepartment.trim(); + } + + public void setOldageDepartment(String oldageDepartment) { + this.oldageDepartment = oldageDepartment; + } + + public String getOldageLift() { + return oldageLift == null ? "" : oldageLift.trim(); + } + + public void setOldageLift(String oldageLift) { + this.oldageLift = oldageLift; + } + + public String getOldageHealthStatus() { + return oldageHealthStatus == null ? "" : oldageHealthStatus.trim(); + } + + public void setOldageHealthStatus(String oldageHealthStatus) { + this.oldageHealthStatus = oldageHealthStatus; + } + + public String getOldageSelfcare() { + return oldageSelfcare == null ? "" : oldageSelfcare.trim(); + } + + public void setOldageSelfcare(String oldageSelfcare) { + this.oldageSelfcare = oldageSelfcare; + } + + public String getOldageLive() { + return oldageLive == null ? "" : oldageLive.trim(); + } + + public void setOldageLive(String oldageLive) { + this.oldageLive = oldageLive; + } + + public String getIsDisability() { + return isDisability == null ? "" : isDisability.trim(); + } + + public void setIsDisability(String isDisability) { + this.isDisability = isDisability; + } + + public String getDisabilityType() { + return disabilityType == null ? "" : disabilityType.trim(); + } + + public void setDisabilityType(String disabilityType) { + this.disabilityType = disabilityType; + } + + public String getDisabilityLevel() { + return disabilityLevel == null ? "" : disabilityLevel.trim(); + } + + public void setDisabilityLevel(String disabilityLevel) { + this.disabilityLevel = disabilityLevel; + } + + public String getDisabilityNumber() { + return disabilityNumber == null ? "" : disabilityNumber.trim(); + } + + public void setDisabilityNumber(String disabilityNumber) { + this.disabilityNumber = disabilityNumber; + } + + public String getDisabilityCarnumber() { + return disabilityCarnumber == null ? "" : disabilityCarnumber.trim(); + } + + public void setDisabilityCarnumber(String disabilityCarnumber) { + this.disabilityCarnumber = disabilityCarnumber; + } + + public String getDisabilityAddress() { + return disabilityAddress == null ? "" : disabilityAddress.trim(); + } + + public void setDisabilityAddress(String disabilityAddress) { + this.disabilityAddress = disabilityAddress; + } + + public String getDisabilityIncome() { + return disabilityIncome == null ? "" : disabilityIncome.trim(); + } + + public void setDisabilityIncome(String disabilityIncome) { + this.disabilityIncome = disabilityIncome; + } + + public String getDisabilityHouse() { + return disabilityHouse == null ? "" : disabilityHouse.trim(); + } + + public void setDisabilityHouse(String disabilityHouse) { + this.disabilityHouse = disabilityHouse; + } + + public String getDisabilityTime() { + return disabilityTime == null ? "" : disabilityTime.trim(); + } + + public void setDisabilityTime(String disabilityTime) { + this.disabilityTime = disabilityTime; + } + + public String getDisabilityGuardian() { + return disabilityGuardian == null ? "" : disabilityGuardian.trim(); + } + + public void setDisabilityGuardian(String disabilityGuardian) { + this.disabilityGuardian = disabilityGuardian; + } + + public String getDisabilityGuardianPhone() { + return disabilityGuardianPhone == null ? "" : disabilityGuardianPhone.trim(); + } + + public void setDisabilityGuardianPhone(String disabilityGuardianPhone) { + this.disabilityGuardianPhone = disabilityGuardianPhone; + } + + public String getDisabilityGuardianRelation() { + return disabilityGuardianRelation == null ? "" : disabilityGuardianRelation.trim(); + } + + public void setDisabilityGuardianRelation(String disabilityGuardianRelation) { + this.disabilityGuardianRelation = disabilityGuardianRelation; + } + + public String getIsMilitary() { + return isMilitary == null ? "" : isMilitary.trim(); + } + + public void setIsMilitary(String isMilitary) { + this.isMilitary = isMilitary; + } + + public String getMilitaryTime() { + return militaryTime == null ? "" : militaryTime.trim(); + } + + public void setMilitaryTime(String militaryTime) { + this.militaryTime = militaryTime; + } + + public String getMilitaryPosition() { + return militaryPosition == null ? "" : militaryPosition.trim(); + } + + public void setMilitaryPosition(String militaryPosition) { + this.militaryPosition = militaryPosition; + } + + public String getIsSuccour() { + return isSuccour == null ? "" : isSuccour.trim(); + } + + public void setIsSuccour(String isSuccour) { + this.isSuccour = isSuccour; + } + + public String getSuccourDibao() { + return succourDibao == null ? "" : succourDibao.trim(); + } + + public void setSuccourDibao(String succourDibao) { + this.succourDibao = succourDibao; + } + + public String getSuccourHelp() { + return succourHelp == null ? "" : succourHelp.trim(); + } + + public void setSuccourHelp(String succourHelp) { + this.succourHelp = succourHelp; + } + + public String getSuccourDifficulty() { + return succourDifficulty == null ? "" : succourDifficulty.trim(); + } + + public void setSuccourDifficulty(String succourDifficulty) { + this.succourDifficulty = succourDifficulty; + } + + public String getSuccourSubsidy() { + return succourSubsidy == null ? "" : succourSubsidy.trim(); + } + + public void setSuccourSubsidy(String succourSubsidy) { + this.succourSubsidy = succourSubsidy; + } + + public String getIsParty() { + return isParty == null ? "" : isParty.trim(); + } + + public void setIsParty(String isParty) { + this.isParty = isParty; + } + + public String getPartyOrganization() { + return partyOrganization == null ? "" : partyOrganization.trim(); + } + + public void setPartyOrganization(String partyOrganization) { + this.partyOrganization = partyOrganization; + } + + public String getPartyTime() { + return partyTime == null ? "" : partyTime.trim(); + } + + public void setPartyTime(String partyTime) { + this.partyTime = partyTime; + } + + public String getOthertext() { + return othertext == null ? "" : othertext.trim(); + } + + public void setOthertext(String othertext) { + this.othertext = othertext; + } + + +} diff --git a/src/main/java/com/cm/population/pojo/pos/populationinfo/PopulationInfoPO.java b/src/main/java/com/cm/population/pojo/pos/populationinfo/PopulationInfoPO.java new file mode 100644 index 0000000..277c563 --- /dev/null +++ b/src/main/java/com/cm/population/pojo/pos/populationinfo/PopulationInfoPO.java @@ -0,0 +1,609 @@ +package com.cm.population.pojo.pos.populationinfo; + +/** + * + * @ClassName: PopulationInfoPO + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +public class PopulationInfoPO { + + private String populationInfoId; + private String name; + private String idcard; + private String idcardType; + private String birthday; + private String sex; + private String nation; + private String education; + private String description; + private String organization; + private String religion; + private String marriageStatus; + private String marriageChangeTime; + private String marriageFirstTime; + private String socialSecurity; + private String healthStatus; + private String department; + private String pastion; + private String pastionTitle; + private String expertise; + private String phone; + private String fatherId; + private String fatherName; + private String fatherIdcard; + private String fatherPhone; + private String motherId; + private String motherName; + private String motherIdcard; + private String motherPhone; + private String relationship; + private String domicileAddress; + private String originAddress; + private String flowTime; + private String flowReason; + private String flowReasontext; + private String isOldage; + private String oldageType; + private String oldageDepartment; + private String oldageLift; + private String oldageHealthStatus; + private String oldageSelfcare; + private String oldageLive; + private String isDisability; + private String disabilityType; + private String disabilityLevel; + private String disabilityNumber; + private String disabilityCarnumber; + private String disabilityAddress; + private String disabilityIncome; + private String disabilityHouse; + private String disabilityTime; + private String disabilityGuardian; + private String disabilityGuardianPhone; + private String disabilityGuardianRelation; + private String isMilitary; + private String militaryTime; + private String militaryPosition; + private String isSuccour; + private String succourDibao; + private String succourHelp; + private String succourDifficulty; + private String succourSubsidy; + private String isParty; + private String partyOrganization; + private String partyTime; + private String othertext; + + public String getPopulationInfoId() { + return populationInfoId == null ? "" : populationInfoId.trim(); + } + + public void setPopulationInfoId(String populationInfoId) { + this.populationInfoId = populationInfoId; + } + + public String getName() { + return name == null ? "" : name.trim(); + } + + public void setName(String name) { + this.name = name; + } + + public String getIdcard() { + return idcard == null ? "" : idcard.trim(); + } + + public void setIdcard(String idcard) { + this.idcard = idcard; + } + + public String getIdcardType() { + return idcardType == null ? "" : idcardType.trim(); + } + + public void setIdcardType(String idcardType) { + this.idcardType = idcardType; + } + + public String getBirthday() { + return birthday == null ? "" : birthday.trim(); + } + + public void setBirthday(String birthday) { + this.birthday = birthday; + } + + public String getSex() { + return sex == null ? "" : sex.trim(); + } + + public void setSex(String sex) { + this.sex = sex; + } + + public String getNation() { + return nation == null ? "" : nation.trim(); + } + + public void setNation(String nation) { + this.nation = nation; + } + + public String getEducation() { + return education == null ? "" : education.trim(); + } + + public void setEducation(String education) { + this.education = education; + } + + public String getDescription() { + return description == null ? "" : description.trim(); + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOrganization() { + return organization == null ? "" : organization.trim(); + } + + public void setOrganization(String organization) { + this.organization = organization; + } + + public String getReligion() { + return religion == null ? "" : religion.trim(); + } + + public void setReligion(String religion) { + this.religion = religion; + } + + public String getMarriageStatus() { + return marriageStatus == null ? "" : marriageStatus.trim(); + } + + public void setMarriageStatus(String marriageStatus) { + this.marriageStatus = marriageStatus; + } + + public String getMarriageChangeTime() { + return marriageChangeTime == null ? "" : marriageChangeTime.trim(); + } + + public void setMarriageChangeTime(String marriageChangeTime) { + this.marriageChangeTime = marriageChangeTime; + } + + public String getMarriageFirstTime() { + return marriageFirstTime == null ? "" : marriageFirstTime.trim(); + } + + public void setMarriageFirstTime(String marriageFirstTime) { + this.marriageFirstTime = marriageFirstTime; + } + + public String getSocialSecurity() { + return socialSecurity == null ? "" : socialSecurity.trim(); + } + + public void setSocialSecurity(String socialSecurity) { + this.socialSecurity = socialSecurity; + } + + public String getHealthStatus() { + return healthStatus == null ? "" : healthStatus.trim(); + } + + public void setHealthStatus(String healthStatus) { + this.healthStatus = healthStatus; + } + + public String getDepartment() { + return department == null ? "" : department.trim(); + } + + public void setDepartment(String department) { + this.department = department; + } + + public String getPastion() { + return pastion == null ? "" : pastion.trim(); + } + + public void setPastion(String pastion) { + this.pastion = pastion; + } + + public String getPastionTitle() { + return pastionTitle == null ? "" : pastionTitle.trim(); + } + + public void setPastionTitle(String pastionTitle) { + this.pastionTitle = pastionTitle; + } + + public String getExpertise() { + return expertise == null ? "" : expertise.trim(); + } + + public void setExpertise(String expertise) { + this.expertise = expertise; + } + + public String getPhone() { + return phone == null ? "" : phone.trim(); + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getFatherId() { + return fatherId == null ? "" : fatherId.trim(); + } + + public void setFatherId(String fatherId) { + this.fatherId = fatherId; + } + + public String getFatherName() { + return fatherName == null ? "" : fatherName.trim(); + } + + public void setFatherName(String fatherName) { + this.fatherName = fatherName; + } + + public String getFatherIdcard() { + return fatherIdcard == null ? "" : fatherIdcard.trim(); + } + + public void setFatherIdcard(String fatherIdcard) { + this.fatherIdcard = fatherIdcard; + } + + public String getFatherPhone() { + return fatherPhone == null ? "" : fatherPhone.trim(); + } + + public void setFatherPhone(String fatherPhone) { + this.fatherPhone = fatherPhone; + } + + public String getMotherId() { + return motherId == null ? "" : motherId.trim(); + } + + public void setMotherId(String motherId) { + this.motherId = motherId; + } + + public String getMotherName() { + return motherName == null ? "" : motherName.trim(); + } + + public void setMotherName(String motherName) { + this.motherName = motherName; + } + + public String getMotherIdcard() { + return motherIdcard == null ? "" : motherIdcard.trim(); + } + + public void setMotherIdcard(String motherIdcard) { + this.motherIdcard = motherIdcard; + } + + public String getMotherPhone() { + return motherPhone == null ? "" : motherPhone.trim(); + } + + public void setMotherPhone(String motherPhone) { + this.motherPhone = motherPhone; + } + + public String getRelationship() { + return relationship == null ? "" : relationship.trim(); + } + + public void setRelationship(String relationship) { + this.relationship = relationship; + } + + public String getDomicileAddress() { + return domicileAddress == null ? "" : domicileAddress.trim(); + } + + public void setDomicileAddress(String domicileAddress) { + this.domicileAddress = domicileAddress; + } + + public String getOriginAddress() { + return originAddress == null ? "" : originAddress.trim(); + } + + public void setOriginAddress(String originAddress) { + this.originAddress = originAddress; + } + + public String getFlowTime() { + return flowTime == null ? "" : flowTime.trim(); + } + + public void setFlowTime(String flowTime) { + this.flowTime = flowTime; + } + + public String getFlowReason() { + return flowReason == null ? "" : flowReason.trim(); + } + + public void setFlowReason(String flowReason) { + this.flowReason = flowReason; + } + + public String getFlowReasontext() { + return flowReasontext == null ? "" : flowReasontext.trim(); + } + + public void setFlowReasontext(String flowReasontext) { + this.flowReasontext = flowReasontext; + } + + public String getIsOldage() { + return isOldage == null ? "" : isOldage.trim(); + } + + public void setIsOldage(String isOldage) { + this.isOldage = isOldage; + } + + public String getOldageType() { + return oldageType == null ? "" : oldageType.trim(); + } + + public void setOldageType(String oldageType) { + this.oldageType = oldageType; + } + + public String getOldageDepartment() { + return oldageDepartment == null ? "" : oldageDepartment.trim(); + } + + public void setOldageDepartment(String oldageDepartment) { + this.oldageDepartment = oldageDepartment; + } + + public String getOldageLift() { + return oldageLift == null ? "" : oldageLift.trim(); + } + + public void setOldageLift(String oldageLift) { + this.oldageLift = oldageLift; + } + + public String getOldageHealthStatus() { + return oldageHealthStatus == null ? "" : oldageHealthStatus.trim(); + } + + public void setOldageHealthStatus(String oldageHealthStatus) { + this.oldageHealthStatus = oldageHealthStatus; + } + + public String getOldageSelfcare() { + return oldageSelfcare == null ? "" : oldageSelfcare.trim(); + } + + public void setOldageSelfcare(String oldageSelfcare) { + this.oldageSelfcare = oldageSelfcare; + } + + public String getOldageLive() { + return oldageLive == null ? "" : oldageLive.trim(); + } + + public void setOldageLive(String oldageLive) { + this.oldageLive = oldageLive; + } + + public String getIsDisability() { + return isDisability == null ? "" : isDisability.trim(); + } + + public void setIsDisability(String isDisability) { + this.isDisability = isDisability; + } + + public String getDisabilityType() { + return disabilityType == null ? "" : disabilityType.trim(); + } + + public void setDisabilityType(String disabilityType) { + this.disabilityType = disabilityType; + } + + public String getDisabilityLevel() { + return disabilityLevel == null ? "" : disabilityLevel.trim(); + } + + public void setDisabilityLevel(String disabilityLevel) { + this.disabilityLevel = disabilityLevel; + } + + public String getDisabilityNumber() { + return disabilityNumber == null ? "" : disabilityNumber.trim(); + } + + public void setDisabilityNumber(String disabilityNumber) { + this.disabilityNumber = disabilityNumber; + } + + public String getDisabilityCarnumber() { + return disabilityCarnumber == null ? "" : disabilityCarnumber.trim(); + } + + public void setDisabilityCarnumber(String disabilityCarnumber) { + this.disabilityCarnumber = disabilityCarnumber; + } + + public String getDisabilityAddress() { + return disabilityAddress == null ? "" : disabilityAddress.trim(); + } + + public void setDisabilityAddress(String disabilityAddress) { + this.disabilityAddress = disabilityAddress; + } + + public String getDisabilityIncome() { + return disabilityIncome == null ? "" : disabilityIncome.trim(); + } + + public void setDisabilityIncome(String disabilityIncome) { + this.disabilityIncome = disabilityIncome; + } + + public String getDisabilityHouse() { + return disabilityHouse == null ? "" : disabilityHouse.trim(); + } + + public void setDisabilityHouse(String disabilityHouse) { + this.disabilityHouse = disabilityHouse; + } + + public String getDisabilityTime() { + return disabilityTime == null ? "" : disabilityTime.trim(); + } + + public void setDisabilityTime(String disabilityTime) { + this.disabilityTime = disabilityTime; + } + + public String getDisabilityGuardian() { + return disabilityGuardian == null ? "" : disabilityGuardian.trim(); + } + + public void setDisabilityGuardian(String disabilityGuardian) { + this.disabilityGuardian = disabilityGuardian; + } + + public String getDisabilityGuardianPhone() { + return disabilityGuardianPhone == null ? "" : disabilityGuardianPhone.trim(); + } + + public void setDisabilityGuardianPhone(String disabilityGuardianPhone) { + this.disabilityGuardianPhone = disabilityGuardianPhone; + } + + public String getDisabilityGuardianRelation() { + return disabilityGuardianRelation == null ? "" : disabilityGuardianRelation.trim(); + } + + public void setDisabilityGuardianRelation(String disabilityGuardianRelation) { + this.disabilityGuardianRelation = disabilityGuardianRelation; + } + + public String getIsMilitary() { + return isMilitary == null ? "" : isMilitary.trim(); + } + + public void setIsMilitary(String isMilitary) { + this.isMilitary = isMilitary; + } + + public String getMilitaryTime() { + return militaryTime == null ? "" : militaryTime.trim(); + } + + public void setMilitaryTime(String militaryTime) { + this.militaryTime = militaryTime; + } + + public String getMilitaryPosition() { + return militaryPosition == null ? "" : militaryPosition.trim(); + } + + public void setMilitaryPosition(String militaryPosition) { + this.militaryPosition = militaryPosition; + } + + public String getIsSuccour() { + return isSuccour == null ? "" : isSuccour.trim(); + } + + public void setIsSuccour(String isSuccour) { + this.isSuccour = isSuccour; + } + + public String getSuccourDibao() { + return succourDibao == null ? "" : succourDibao.trim(); + } + + public void setSuccourDibao(String succourDibao) { + this.succourDibao = succourDibao; + } + + public String getSuccourHelp() { + return succourHelp == null ? "" : succourHelp.trim(); + } + + public void setSuccourHelp(String succourHelp) { + this.succourHelp = succourHelp; + } + + public String getSuccourDifficulty() { + return succourDifficulty == null ? "" : succourDifficulty.trim(); + } + + public void setSuccourDifficulty(String succourDifficulty) { + this.succourDifficulty = succourDifficulty; + } + + public String getSuccourSubsidy() { + return succourSubsidy == null ? "" : succourSubsidy.trim(); + } + + public void setSuccourSubsidy(String succourSubsidy) { + this.succourSubsidy = succourSubsidy; + } + + public String getIsParty() { + return isParty == null ? "" : isParty.trim(); + } + + public void setIsParty(String isParty) { + this.isParty = isParty; + } + + public String getPartyOrganization() { + return partyOrganization == null ? "" : partyOrganization.trim(); + } + + public void setPartyOrganization(String partyOrganization) { + this.partyOrganization = partyOrganization; + } + + public String getPartyTime() { + return partyTime == null ? "" : partyTime.trim(); + } + + public void setPartyTime(String partyTime) { + this.partyTime = partyTime; + } + + public String getOthertext() { + return othertext == null ? "" : othertext.trim(); + } + + public void setOthertext(String othertext) { + this.othertext = othertext; + } + + +} diff --git a/src/main/java/com/cm/population/pojo/vos/populationinfo/PopulationInfoVO.java b/src/main/java/com/cm/population/pojo/vos/populationinfo/PopulationInfoVO.java new file mode 100644 index 0000000..b6a0195 --- /dev/null +++ b/src/main/java/com/cm/population/pojo/vos/populationinfo/PopulationInfoVO.java @@ -0,0 +1,679 @@ +package com.cm.population.pojo.vos.populationinfo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * + * @ClassName: PopulationInfoVO + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@ApiModel +public class PopulationInfoVO { + + @ApiModelProperty(name = "populationInfoId", value = "人口ID") + private String populationInfoId; + @ApiModelProperty(name = "name", value = "姓名") + private String name; + @ApiModelProperty(name = "idcard", value = "证件") + private String idcard; + @ApiModelProperty(name = "idcardType", value = "证件类型") + private String idcardType; + @ApiModelProperty(name = "birthday", value = "生日") + private String birthday; + @ApiModelProperty(name = "sex", value = "性别") + private String sex; + @ApiModelProperty(name = "nation", value = "民族") + private String nation; + @ApiModelProperty(name = "education", value = "文化程度") + private String education; + @ApiModelProperty(name = "description", value = "就读院校及专业(需注明学历)") + private String description; + @ApiModelProperty(name = "organization", value = "所属党派") + private String organization; + @ApiModelProperty(name = "religion", value = "宗教信仰") + private String religion; + @ApiModelProperty(name = "marriageStatus", value = "婚姻状况") + private String marriageStatus; + @ApiModelProperty(name = "marriageChangeTime", value = "婚变日期") + private String marriageChangeTime; + @ApiModelProperty(name = "marriageFirstTime", value = "初婚日期") + private String marriageFirstTime; + @ApiModelProperty(name = "socialSecurity", value = "社会保险情况") + private String socialSecurity; + @ApiModelProperty(name = "healthStatus", value = "健康状况") + private String healthStatus; + @ApiModelProperty(name = "department", value = "工作单位") + private String department; + @ApiModelProperty(name = "pastion", value = "工作职务") + private String pastion; + @ApiModelProperty(name = "pastionTitle", value = "专业技术职称") + private String pastionTitle; + @ApiModelProperty(name = "expertise", value = "专长") + private String expertise; + @ApiModelProperty(name = "phone", value = "联系电话") + private String phone; + @ApiModelProperty(name = "fatherId", value = "父亲ID") + private String fatherId; + @ApiModelProperty(name = "fatherName", value = "父亲姓名") + private String fatherName; + @ApiModelProperty(name = "fatherIdcard", value = "父亲证件") + private String fatherIdcard; + @ApiModelProperty(name = "fatherPhone", value = "父亲电话") + private String fatherPhone; + @ApiModelProperty(name = "motherId", value = "母亲ID") + private String motherId; + @ApiModelProperty(name = "motherName", value = "母亲姓名") + private String motherName; + @ApiModelProperty(name = "motherIdcard", value = "母亲证件") + private String motherIdcard; + @ApiModelProperty(name = "motherPhone", value = "母亲电话") + private String motherPhone; + @ApiModelProperty(name = "relationship", value = "与户主关系") + private String relationship; + @ApiModelProperty(name = "domicileAddress", value = "户籍地址") + private String domicileAddress; + @ApiModelProperty(name = "originAddress", value = "籍贯地址") + private String originAddress; + @ApiModelProperty(name = "flowTime", value = "流动日期") + private String flowTime; + @ApiModelProperty(name = "flowReason", value = "流动原因") + private String flowReason; + @ApiModelProperty(name = "flowReasontext", value = "其他流动原因") + private String flowReasontext; + @ApiModelProperty(name = "isOldage", value = "是否为老年人(是或否)") + private String isOldage; + @ApiModelProperty(name = "oldageType", value = "老人类别") + private String oldageType; + @ApiModelProperty(name = "oldageDepartment", value = "离退休钱单位") + private String oldageDepartment; + @ApiModelProperty(name = "oldageLift", value = "生活照料情况") + private String oldageLift; + @ApiModelProperty(name = "oldageHealthStatus", value = "健康状况") + private String oldageHealthStatus; + @ApiModelProperty(name = "oldageSelfcare", value = "生活自理能力") + private String oldageSelfcare; + @ApiModelProperty(name = "oldageLive", value = "居住状况") + private String oldageLive; + @ApiModelProperty(name = "isDisability", value = "是否为残疾人(是或否)") + private String isDisability; + @ApiModelProperty(name = "disabilityType", value = "残疾类别") + private String disabilityType; + @ApiModelProperty(name = "disabilityLevel", value = "残疾等级") + private String disabilityLevel; + @ApiModelProperty(name = "disabilityNumber", value = "残疾证号") + private String disabilityNumber; + @ApiModelProperty(name = "disabilityCarnumber", value = "残疾车牌号") + private String disabilityCarnumber; + @ApiModelProperty(name = "disabilityAddress", value = "居住地址") + private String disabilityAddress; + @ApiModelProperty(name = "disabilityIncome", value = "收入情况") + private String disabilityIncome; + @ApiModelProperty(name = "disabilityHouse", value = "住房来源") + private String disabilityHouse; + @ApiModelProperty(name = "disabilityTime", value = "办证时间") + private String disabilityTime; + @ApiModelProperty(name = "disabilityGuardian", value = "监护人或配偶姓名") + private String disabilityGuardian; + @ApiModelProperty(name = "disabilityGuardianPhone", value = "监护人联系电话") + private String disabilityGuardianPhone; + @ApiModelProperty(name = "disabilityGuardianRelation", value = "监护人关系") + private String disabilityGuardianRelation; + @ApiModelProperty(name = "isMilitary", value = "是否为军人(是或否)") + private String isMilitary; + @ApiModelProperty(name = "militaryTime", value = "批准退出现役日期") + private String militaryTime; + @ApiModelProperty(name = "militaryPosition", value = "退出现役时职级") + private String militaryPosition; + @ApiModelProperty(name = "isSuccour", value = "是否为社会救助(是或否)") + private String isSuccour; + @ApiModelProperty(name = "succourDibao", value = "低保户") + private String succourDibao; + @ApiModelProperty(name = "succourHelp", value = "医疗救助") + private String succourHelp; + @ApiModelProperty(name = "succourDifficulty", value = "困难职工") + private String succourDifficulty; + @ApiModelProperty(name = "succourSubsidy", value = "老龄补贴") + private String succourSubsidy; + @ApiModelProperty(name = "isParty", value = "是否为党员(是或否)") + private String isParty; + @ApiModelProperty(name = "partyOrganization", value = "党组织名称") + private String partyOrganization; + @ApiModelProperty(name = "partyTime", value = "入党时间") + private String partyTime; + @ApiModelProperty(name = "othertext", value = "其他说明") + private String othertext; + + public String getPopulationInfoId() { + return populationInfoId == null ? "" : populationInfoId.trim(); + } + + public void setPopulationInfoId(String populationInfoId) { + this.populationInfoId = populationInfoId; + } + + public String getName() { + return name == null ? "" : name.trim(); + } + + public void setName(String name) { + this.name = name; + } + + public String getIdcard() { + return idcard == null ? "" : idcard.trim(); + } + + public void setIdcard(String idcard) { + this.idcard = idcard; + } + + public String getIdcardType() { + return idcardType == null ? "" : idcardType.trim(); + } + + public void setIdcardType(String idcardType) { + this.idcardType = idcardType; + } + + public String getBirthday() { + return birthday == null ? "" : birthday.trim(); + } + + public void setBirthday(String birthday) { + this.birthday = birthday; + } + + public String getSex() { + return sex == null ? "" : sex.trim(); + } + + public void setSex(String sex) { + this.sex = sex; + } + + public String getNation() { + return nation == null ? "" : nation.trim(); + } + + public void setNation(String nation) { + this.nation = nation; + } + + public String getEducation() { + return education == null ? "" : education.trim(); + } + + public void setEducation(String education) { + this.education = education; + } + + public String getDescription() { + return description == null ? "" : description.trim(); + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOrganization() { + return organization == null ? "" : organization.trim(); + } + + public void setOrganization(String organization) { + this.organization = organization; + } + + public String getReligion() { + return religion == null ? "" : religion.trim(); + } + + public void setReligion(String religion) { + this.religion = religion; + } + + public String getMarriageStatus() { + return marriageStatus == null ? "" : marriageStatus.trim(); + } + + public void setMarriageStatus(String marriageStatus) { + this.marriageStatus = marriageStatus; + } + + public String getMarriageChangeTime() { + return marriageChangeTime == null ? "" : marriageChangeTime.trim(); + } + + public void setMarriageChangeTime(String marriageChangeTime) { + this.marriageChangeTime = marriageChangeTime; + } + + public String getMarriageFirstTime() { + return marriageFirstTime == null ? "" : marriageFirstTime.trim(); + } + + public void setMarriageFirstTime(String marriageFirstTime) { + this.marriageFirstTime = marriageFirstTime; + } + + public String getSocialSecurity() { + return socialSecurity == null ? "" : socialSecurity.trim(); + } + + public void setSocialSecurity(String socialSecurity) { + this.socialSecurity = socialSecurity; + } + + public String getHealthStatus() { + return healthStatus == null ? "" : healthStatus.trim(); + } + + public void setHealthStatus(String healthStatus) { + this.healthStatus = healthStatus; + } + + public String getDepartment() { + return department == null ? "" : department.trim(); + } + + public void setDepartment(String department) { + this.department = department; + } + + public String getPastion() { + return pastion == null ? "" : pastion.trim(); + } + + public void setPastion(String pastion) { + this.pastion = pastion; + } + + public String getPastionTitle() { + return pastionTitle == null ? "" : pastionTitle.trim(); + } + + public void setPastionTitle(String pastionTitle) { + this.pastionTitle = pastionTitle; + } + + public String getExpertise() { + return expertise == null ? "" : expertise.trim(); + } + + public void setExpertise(String expertise) { + this.expertise = expertise; + } + + public String getPhone() { + return phone == null ? "" : phone.trim(); + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getFatherId() { + return fatherId == null ? "" : fatherId.trim(); + } + + public void setFatherId(String fatherId) { + this.fatherId = fatherId; + } + + public String getFatherName() { + return fatherName == null ? "" : fatherName.trim(); + } + + public void setFatherName(String fatherName) { + this.fatherName = fatherName; + } + + public String getFatherIdcard() { + return fatherIdcard == null ? "" : fatherIdcard.trim(); + } + + public void setFatherIdcard(String fatherIdcard) { + this.fatherIdcard = fatherIdcard; + } + + public String getFatherPhone() { + return fatherPhone == null ? "" : fatherPhone.trim(); + } + + public void setFatherPhone(String fatherPhone) { + this.fatherPhone = fatherPhone; + } + + public String getMotherId() { + return motherId == null ? "" : motherId.trim(); + } + + public void setMotherId(String motherId) { + this.motherId = motherId; + } + + public String getMotherName() { + return motherName == null ? "" : motherName.trim(); + } + + public void setMotherName(String motherName) { + this.motherName = motherName; + } + + public String getMotherIdcard() { + return motherIdcard == null ? "" : motherIdcard.trim(); + } + + public void setMotherIdcard(String motherIdcard) { + this.motherIdcard = motherIdcard; + } + + public String getMotherPhone() { + return motherPhone == null ? "" : motherPhone.trim(); + } + + public void setMotherPhone(String motherPhone) { + this.motherPhone = motherPhone; + } + + public String getRelationship() { + return relationship == null ? "" : relationship.trim(); + } + + public void setRelationship(String relationship) { + this.relationship = relationship; + } + + public String getDomicileAddress() { + return domicileAddress == null ? "" : domicileAddress.trim(); + } + + public void setDomicileAddress(String domicileAddress) { + this.domicileAddress = domicileAddress; + } + + public String getOriginAddress() { + return originAddress == null ? "" : originAddress.trim(); + } + + public void setOriginAddress(String originAddress) { + this.originAddress = originAddress; + } + + public String getFlowTime() { + return flowTime == null ? "" : flowTime.trim(); + } + + public void setFlowTime(String flowTime) { + this.flowTime = flowTime; + } + + public String getFlowReason() { + return flowReason == null ? "" : flowReason.trim(); + } + + public void setFlowReason(String flowReason) { + this.flowReason = flowReason; + } + + public String getFlowReasontext() { + return flowReasontext == null ? "" : flowReasontext.trim(); + } + + public void setFlowReasontext(String flowReasontext) { + this.flowReasontext = flowReasontext; + } + + public String getIsOldage() { + return isOldage == null ? "" : isOldage.trim(); + } + + public void setIsOldage(String isOldage) { + this.isOldage = isOldage; + } + + public String getOldageType() { + return oldageType == null ? "" : oldageType.trim(); + } + + public void setOldageType(String oldageType) { + this.oldageType = oldageType; + } + + public String getOldageDepartment() { + return oldageDepartment == null ? "" : oldageDepartment.trim(); + } + + public void setOldageDepartment(String oldageDepartment) { + this.oldageDepartment = oldageDepartment; + } + + public String getOldageLift() { + return oldageLift == null ? "" : oldageLift.trim(); + } + + public void setOldageLift(String oldageLift) { + this.oldageLift = oldageLift; + } + + public String getOldageHealthStatus() { + return oldageHealthStatus == null ? "" : oldageHealthStatus.trim(); + } + + public void setOldageHealthStatus(String oldageHealthStatus) { + this.oldageHealthStatus = oldageHealthStatus; + } + + public String getOldageSelfcare() { + return oldageSelfcare == null ? "" : oldageSelfcare.trim(); + } + + public void setOldageSelfcare(String oldageSelfcare) { + this.oldageSelfcare = oldageSelfcare; + } + + public String getOldageLive() { + return oldageLive == null ? "" : oldageLive.trim(); + } + + public void setOldageLive(String oldageLive) { + this.oldageLive = oldageLive; + } + + public String getIsDisability() { + return isDisability == null ? "" : isDisability.trim(); + } + + public void setIsDisability(String isDisability) { + this.isDisability = isDisability; + } + + public String getDisabilityType() { + return disabilityType == null ? "" : disabilityType.trim(); + } + + public void setDisabilityType(String disabilityType) { + this.disabilityType = disabilityType; + } + + public String getDisabilityLevel() { + return disabilityLevel == null ? "" : disabilityLevel.trim(); + } + + public void setDisabilityLevel(String disabilityLevel) { + this.disabilityLevel = disabilityLevel; + } + + public String getDisabilityNumber() { + return disabilityNumber == null ? "" : disabilityNumber.trim(); + } + + public void setDisabilityNumber(String disabilityNumber) { + this.disabilityNumber = disabilityNumber; + } + + public String getDisabilityCarnumber() { + return disabilityCarnumber == null ? "" : disabilityCarnumber.trim(); + } + + public void setDisabilityCarnumber(String disabilityCarnumber) { + this.disabilityCarnumber = disabilityCarnumber; + } + + public String getDisabilityAddress() { + return disabilityAddress == null ? "" : disabilityAddress.trim(); + } + + public void setDisabilityAddress(String disabilityAddress) { + this.disabilityAddress = disabilityAddress; + } + + public String getDisabilityIncome() { + return disabilityIncome == null ? "" : disabilityIncome.trim(); + } + + public void setDisabilityIncome(String disabilityIncome) { + this.disabilityIncome = disabilityIncome; + } + + public String getDisabilityHouse() { + return disabilityHouse == null ? "" : disabilityHouse.trim(); + } + + public void setDisabilityHouse(String disabilityHouse) { + this.disabilityHouse = disabilityHouse; + } + + public String getDisabilityTime() { + return disabilityTime == null ? "" : disabilityTime.trim(); + } + + public void setDisabilityTime(String disabilityTime) { + this.disabilityTime = disabilityTime; + } + + public String getDisabilityGuardian() { + return disabilityGuardian == null ? "" : disabilityGuardian.trim(); + } + + public void setDisabilityGuardian(String disabilityGuardian) { + this.disabilityGuardian = disabilityGuardian; + } + + public String getDisabilityGuardianPhone() { + return disabilityGuardianPhone == null ? "" : disabilityGuardianPhone.trim(); + } + + public void setDisabilityGuardianPhone(String disabilityGuardianPhone) { + this.disabilityGuardianPhone = disabilityGuardianPhone; + } + + public String getDisabilityGuardianRelation() { + return disabilityGuardianRelation == null ? "" : disabilityGuardianRelation.trim(); + } + + public void setDisabilityGuardianRelation(String disabilityGuardianRelation) { + this.disabilityGuardianRelation = disabilityGuardianRelation; + } + + public String getIsMilitary() { + return isMilitary == null ? "" : isMilitary.trim(); + } + + public void setIsMilitary(String isMilitary) { + this.isMilitary = isMilitary; + } + + public String getMilitaryTime() { + return militaryTime == null ? "" : militaryTime.trim(); + } + + public void setMilitaryTime(String militaryTime) { + this.militaryTime = militaryTime; + } + + public String getMilitaryPosition() { + return militaryPosition == null ? "" : militaryPosition.trim(); + } + + public void setMilitaryPosition(String militaryPosition) { + this.militaryPosition = militaryPosition; + } + + public String getIsSuccour() { + return isSuccour == null ? "" : isSuccour.trim(); + } + + public void setIsSuccour(String isSuccour) { + this.isSuccour = isSuccour; + } + + public String getSuccourDibao() { + return succourDibao == null ? "" : succourDibao.trim(); + } + + public void setSuccourDibao(String succourDibao) { + this.succourDibao = succourDibao; + } + + public String getSuccourHelp() { + return succourHelp == null ? "" : succourHelp.trim(); + } + + public void setSuccourHelp(String succourHelp) { + this.succourHelp = succourHelp; + } + + public String getSuccourDifficulty() { + return succourDifficulty == null ? "" : succourDifficulty.trim(); + } + + public void setSuccourDifficulty(String succourDifficulty) { + this.succourDifficulty = succourDifficulty; + } + + public String getSuccourSubsidy() { + return succourSubsidy == null ? "" : succourSubsidy.trim(); + } + + public void setSuccourSubsidy(String succourSubsidy) { + this.succourSubsidy = succourSubsidy; + } + + public String getIsParty() { + return isParty == null ? "" : isParty.trim(); + } + + public void setIsParty(String isParty) { + this.isParty = isParty; + } + + public String getPartyOrganization() { + return partyOrganization == null ? "" : partyOrganization.trim(); + } + + public void setPartyOrganization(String partyOrganization) { + this.partyOrganization = partyOrganization; + } + + public String getPartyTime() { + return partyTime == null ? "" : partyTime.trim(); + } + + public void setPartyTime(String partyTime) { + this.partyTime = partyTime; + } + + public String getOthertext() { + return othertext == null ? "" : othertext.trim(); + } + + public void setOthertext(String othertext) { + this.othertext = othertext; + } + + +} diff --git a/src/main/java/com/cm/population/service/populationinfo/IPopulationInfoService.java b/src/main/java/com/cm/population/service/populationinfo/IPopulationInfoService.java new file mode 100644 index 0000000..8e4d458 --- /dev/null +++ b/src/main/java/com/cm/population/service/populationinfo/IPopulationInfoService.java @@ -0,0 +1,189 @@ +package com.cm.population.service.populationinfo; + +import com.cm.common.pojo.ListPage; +import com.cm.common.result.SuccessResultList; +import com.cm.population.pojo.dtos.populationinfo.PopulationInfoDTO; +import com.cm.population.pojo.vos.populationinfo.PopulationInfoVO; +import com.cm.population.pojo.bos.populationinfo.PopulationInfoBO; +import com.cm.population.pojo.pos.populationinfo.PopulationInfoPO; +import java.util.List; +import java.util.Map; + +/** + * @ClassName: IPopulationInfoService + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +public interface IPopulationInfoService { + + /** + * 新增基础人口信息 + * + * @param populationInfoVO + * @return + */ + void save(PopulationInfoVO populationInfoVO); + + /** + * 新增基础人口信息 + * + * @param token + * @param populationInfoVO + * @return + */ + void save(String token, PopulationInfoVO populationInfoVO); + + /** + * 新增基础人口信息 + * + * @param populationInfoVO + * @return populationInfoId + */ + String saveReturnId(PopulationInfoVO populationInfoVO); + + /** + * 新增基础人口信息 + * + * @param token + * @param populationInfoVO + * @return populationInfoId + */ + String saveReturnId(String token, PopulationInfoVO populationInfoVO); + + /** + * 删除基础人口信息 + * + * @param ids id列表 + * @return + */ + void remove(List ids); + + + /** + * 删除基础人口信息 + * + * @param token + * @param ids id列表 + * @return + */ + void remove(String token, List ids); + + /** + * 删除基础人口信息(物理删除) + * + * @param ids id列表 + */ + void delete(List ids); + + /** + * 修改基础人口信息 + * + * @param populationInfoId + * @param populationInfoVO + * @return + */ + void update(String populationInfoId, PopulationInfoVO populationInfoVO); + + /** + * 修改基础人口信息 + * + * @param token + * @param populationInfoId + * @param populationInfoVO + * @return + */ + void update(String token, String populationInfoId, PopulationInfoVO populationInfoVO); + + /** + * 基础人口信息详情 + * + * @param params 参数Map + * @return + */ + PopulationInfoDTO get(Map params); + + /** + * 基础人口信息详情 + * + * @param populationInfoId + * @return + */ + PopulationInfoDTO get(String populationInfoId); + + PopulationInfoDTO getByIdcard(String idcard); + + /** + * 基础人口信息详情 + * + * @param params 参数Map + * @return + */ + PopulationInfoBO getBO(Map params); + + /** + * 基础人口信息详情 + * + * @param populationInfoId + * @return + */ + PopulationInfoBO getBO(String populationInfoId); + + /** + * 基础人口信息详情 + * + * @param params 参数Map + * @return + */ + PopulationInfoPO getPO(Map params); + + /** + * 基础人口信息详情 + * + * @param populationInfoId + * @return + */ + PopulationInfoPO getPO(String populationInfoId); + + /** + * 基础人口信息列表 + * + * @param params + * @return + */ + List list(Map params); + + /** + * 基础人口信息列表 + * + * @param params + * @return + */ + List listBO(Map params); + + /** + * 基础人口信息列表 + * + * @param params + * @return + */ + List listPO(Map params); + + /** + * 基础人口信息分页列表 + * + * @param page + * @return + */ + SuccessResultList> listPage(ListPage page); + + /** + * 基础人口信息统计 + * + * @param params + * @return + */ + Integer count(Map params); + +} \ No newline at end of file diff --git a/src/main/java/com/cm/population/service/populationinfo/impl/PopulationInfoServiceImpl.java b/src/main/java/com/cm/population/service/populationinfo/impl/PopulationInfoServiceImpl.java new file mode 100644 index 0000000..c59b2b2 --- /dev/null +++ b/src/main/java/com/cm/population/service/populationinfo/impl/PopulationInfoServiceImpl.java @@ -0,0 +1,174 @@ +package com.cm.population.service.populationinfo.impl; + +import com.cm.common.base.AbstractService; +import com.cm.common.exception.SaveException; +import com.cm.common.pojo.ListPage; +import com.cm.common.result.SuccessResultList; +import com.cm.common.utils.HashMapUtil; +import com.cm.common.utils.UUIDUtil; +import com.cm.population.dao.populationinfo.IPopulationInfoDao; +import com.cm.population.pojo.dtos.populationinfo.PopulationInfoDTO; +import com.cm.population.pojo.vos.populationinfo.PopulationInfoVO; +import com.cm.population.pojo.bos.populationinfo.PopulationInfoBO; +import com.cm.population.pojo.pos.populationinfo.PopulationInfoPO; +import com.cm.population.service.populationinfo.IPopulationInfoService; +import com.github.pagehelper.PageHelper; +import com.github.pagehelper.PageInfo; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.*; + +/** + * @ClassName: PopulationInfoServiceImpl + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Service +public class PopulationInfoServiceImpl extends AbstractService implements IPopulationInfoService { + + @Autowired + private IPopulationInfoDao populationInfoDao; + + @Override + public void save(PopulationInfoVO populationInfoVO) { + saveReturnId(populationInfoVO); + } + + @Override + public void save(String token, PopulationInfoVO populationInfoVO) { + saveReturnId(token, populationInfoVO); + } + + @Override + public String saveReturnId(PopulationInfoVO populationInfoVO) { + return saveReturnId(null, populationInfoVO); + } + + @Override + public String saveReturnId(String token, PopulationInfoVO populationInfoVO) { + String populationInfoId = UUIDUtil.getUUID(); + PopulationInfoDTO dto = getByIdcard(populationInfoVO.getIdcard().trim()); + if (dto != null) { + throw new SaveException("该证件号码已存在"); + } + Map params = HashMapUtil.objectToMap(populationInfoVO); + params.put("populationInfoId", populationInfoId); + setSaveInfo(params); + populationInfoDao.save(params); + return populationInfoId; + } + + @Override + public void remove(List ids) { + remove(null, ids); + } + + @Override + public void remove(String token, List ids) { + Map params = getHashMap(2); + params.put("populationInfoIds", ids); + setUpdateInfo(params); + populationInfoDao.remove(params); + } + + @Override + public void delete(List ids) { + Map params = getHashMap(2); + params.put("populationInfoIds", ids); + setUpdateInfo(params); + populationInfoDao.delete(params); + } + + @Override + public void update(String populationInfoId, PopulationInfoVO populationInfoVO) { + update(null, populationInfoId, populationInfoVO); + } + + @Override + public void update(String token, String populationInfoId, PopulationInfoVO populationInfoVO) { + Map params = HashMapUtil.objectToMap(populationInfoVO); + PopulationInfoDTO dto = getByIdcard(populationInfoVO.getIdcard().trim()); + if (dto != null && !dto.getPopulationInfoId().equals(populationInfoId)) { + throw new SaveException("该证件号码已存在"); + } + params.put("populationInfoId", populationInfoId); + setUpdateInfo(params); + populationInfoDao.update(params); + } + + @Override + public PopulationInfoDTO get(Map params) { + return populationInfoDao.get(params); + } + + @Override + public PopulationInfoDTO get(String populationInfoId) { + Map params = super.getHashMap(2); + params.put("populationInfoId", populationInfoId); + return get(params); + } + + @Override + public PopulationInfoDTO getByIdcard(String idcard) { + Map params = super.getHashMap(2); + params.put("idcard", idcard); + return get(params); + } + + @Override + public PopulationInfoBO getBO(Map params) { + return populationInfoDao.getBO(params); + } + + @Override + public PopulationInfoBO getBO(String populationInfoId) { + Map params = super.getHashMap(2); + params.put("populationInfoId", populationInfoId); + return getBO(params); + } + + @Override + public PopulationInfoPO getPO(Map params) { + return populationInfoDao.getPO(params); + } + + @Override + public PopulationInfoPO getPO(String populationInfoId) { + Map params = super.getHashMap(2); + params.put("populationInfoId", populationInfoId); + return getPO(params); + } + + @Override + public List list(Map params) { + return populationInfoDao.list(params); + } + + @Override + public List listBO(Map params) { + return populationInfoDao.listBO(params); + } + + @Override + public List listPO(Map params) { + return populationInfoDao.listPO(params); + } + + @Override + public SuccessResultList> listPage(ListPage page) { + PageHelper.startPage(page.getPage(), page.getRows()); + List populationInfoDTOs = list(page.getParams()); + PageInfo pageInfo = new PageInfo<>(populationInfoDTOs); + return new SuccessResultList<>(populationInfoDTOs, pageInfo.getPageNum(), pageInfo.getTotal()); + } + + @Override + public Integer count(Map params) { + Integer count = populationInfoDao.count(params); + return count == null ? 0 : count; + } + +} \ No newline at end of file diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml new file mode 100644 index 0000000..78b9874 --- /dev/null +++ b/src/main/resources/application-test.yml @@ -0,0 +1,121 @@ +server: + port: 7023 + url: http://192.168.0.115:7023/population + title: population + servlet: + context-path: /population + +spring: + thymeleaf: + prefix: classpath:/templates/ + suffix: .html + mode: HTML5 + encoding: UTF-8 + cache: false + main: + allow-bean-definition-overriding: true + servlet: + multipart: + max-file-size: 1GB + max-request-size: 1GB + datasource: + druid: + url: jdbc:mysql://192.168.0.151:3306/db_baotou_city?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false + db-type: mysql + driver-class-name: com.mysql.jdbc.Driver + username: root + password: root + initial-size: 2 + min-idle: 2 + max-active: 5 + max-wait: 60000 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + validation-query: SELECT 1 FROM DUAL + test-while-idle: true + test-on-borrow: false + test-on-return: false + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 10 + filter: + commons-log: + connection-logger-name: stat,wall,log4j + stat: + log-slow-sql: true + slow-sql-millis: 2000 + connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 + use-global-data-source-stat: true + +# 数据库 +mybatis: + config-location: classpath:mybatis/mybatis-config.xml + mapper-locations: classpath*:mybatis/mapper/**/*.xml + +# 文档 +swagger: + title: 接口文档 + description: 人口信息系统接口文档 + service-url: https://baidu.com/ + version: 1.0 + swagger-base-package: com.cm + +# 文件 +file: + uploadPath: C:\Users\TS-QD1\Desktop\UploadFiles\ + imageTypes: png,jpg,jpeg,gif,blob + videoTypes: mp4 + audioTypes: mp3,wav,amr + fileTypes: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf + maxFileCount: 6 + +# 安全 +security: + oauth2: + oauth-server: http://192.168.0.15:7021/usercenter + oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} + client: + client-id: ba950215f6bb4d45bddd6cbcb87395e7 + client-secret: WmlVZ2M4M2ZTeTdaS25OVlFwUExac3QrOU9kdHEybVgxSmhETTdFV2F5TW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize + access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token + grant-type: authorization_code + resource: + jwt: + key-uri: ${security.oauth2.oauth-server}/oauth_client/token_key + token-info-uri: ${security.oauth2.oauth-server}/oauth_client/check_token + user-info-uri: ${security.oauth2.oauth-server}/user + authorization: + check-token-access: ${security.oauth2.oauth-server}/oauth_client/token_key + +api-path: + user-center: ${security.oauth2.oauth-server} + +# 访问控制 +access-control: + pass-paths: + - /index.html + - /logout.html + - /default.html + - /assets/** + - /route/file/downloadfile/** + save-paths: + - /**/save*/** + - /**/add*/** + delete-paths: + - /**/delete*/** + - /**/remove*/** + update-paths: + - /**/update*/** + - /**/edit*/** + query-paths: + - /**/get*/** + - /**/query*/** + - /**/find*/** + - /**/list*/** + - /**/count*/** + +# 日志 +logging: + level: + root: error + com.cm: debug diff --git a/src/main/resources/banner.txt b/src/main/resources/banner.txt deleted file mode 100644 index 1257727..0000000 --- a/src/main/resources/banner.txt +++ /dev/null @@ -1 +0,0 @@ -banner \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml new file mode 100644 index 0000000..b97c474 --- /dev/null +++ b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml @@ -0,0 +1,1114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO population_population_info( + population_info_id, + name, + idcard, + idcard_type, + birthday, + sex, + nation, + education, + description, + organization, + religion, + marriage_status, + marriage_change_time, + marriage_first_time, + social_security, + health_status, + department, + pastion, + pastion_title, + expertise, + phone, + father_id, + father_name, + father_idcard, + father_phone, + mother_id, + mother_name, + mother_idcard, + mother_phone, + relationship, + domicile_address, + origin_address, + flow_time, + flow_reason, + flow_reasontext, + is_oldage, + oldage_type, + oldage_department, + oldage_lift, + oldage_health_status, + oldage_selfcare, + oldage_live, + is_disability, + disability_type, + disability_level, + disability_number, + disability_carnumber, + disability_address, + disability_income, + disability_house, + disability_time, + disability_guardian, + disability_guardian_phone, + disability_guardian_relation, + is_military, + military_time, + military_position, + is_succour, + succour_dibao, + succour_help, + succour_difficulty, + succour_subsidy, + is_party, + party_organization, + party_time, + othertext, + creator, + gmt_create, + modifier, + gmt_modified, + is_delete + ) VALUES( + #{populationInfoId}, + #{name}, + #{idcard}, + #{idcardType}, + #{birthday}, + #{sex}, + #{nation}, + #{education}, + #{description}, + #{organization}, + #{religion}, + #{marriageStatus}, + #{marriageChangeTime}, + #{marriageFirstTime}, + #{socialSecurity}, + #{healthStatus}, + #{department}, + #{pastion}, + #{pastionTitle}, + #{expertise}, + #{phone}, + #{fatherId}, + #{fatherName}, + #{fatherIdcard}, + #{fatherPhone}, + #{motherId}, + #{motherName}, + #{motherIdcard}, + #{motherPhone}, + #{relationship}, + #{domicileAddress}, + #{originAddress}, + #{flowTime}, + #{flowReason}, + #{flowReasontext}, + #{isOldage}, + #{oldageType}, + #{oldageDepartment}, + #{oldageLift}, + #{oldageHealthStatus}, + #{oldageSelfcare}, + #{oldageLive}, + #{isDisability}, + #{disabilityType}, + #{disabilityLevel}, + #{disabilityNumber}, + #{disabilityCarnumber}, + #{disabilityAddress}, + #{disabilityIncome}, + #{disabilityHouse}, + #{disabilityTime}, + #{disabilityGuardian}, + #{disabilityGuardianPhone}, + #{disabilityGuardianRelation}, + #{isMilitary}, + #{militaryTime}, + #{militaryPosition}, + #{isSuccour}, + #{succourDibao}, + #{succourHelp}, + #{succourDifficulty}, + #{succourSubsidy}, + #{isParty}, + #{partyOrganization}, + #{partyTime}, + #{othertext}, + #{creator}, + #{gmtCreate}, + #{modifier}, + #{gmtModified}, + #{isDelete} + ) + + + + + UPDATE + population_population_info + SET + is_delete = 1, + modifier = #{modifier}, + gmt_modified = #{gmtModified} + WHERE + population_info_id IN + + #{populationInfoIds[${index}]} + + + + + + UPDATE + population_population_info + SET + + population_info_id = #{populationInfoId}, + + + name = #{name}, + + + idcard = #{idcard}, + + + idcard_type = #{idcardType}, + + + birthday = #{birthday}, + + + sex = #{sex}, + + + nation = #{nation}, + + + education = #{education}, + + + description = #{description}, + + + organization = #{organization}, + + + religion = #{religion}, + + + marriage_status = #{marriageStatus}, + + + marriage_change_time = #{marriageChangeTime}, + + + marriage_first_time = #{marriageFirstTime}, + + + social_security = #{socialSecurity}, + + + health_status = #{healthStatus}, + + + department = #{department}, + + + pastion = #{pastion}, + + + pastion_title = #{pastionTitle}, + + + expertise = #{expertise}, + + + phone = #{phone}, + + + father_id = #{fatherId}, + + + father_name = #{fatherName}, + + + father_idcard = #{fatherIdcard}, + + + father_phone = #{fatherPhone}, + + + mother_id = #{motherId}, + + + mother_name = #{motherName}, + + + mother_idcard = #{motherIdcard}, + + + mother_phone = #{motherPhone}, + + + relationship = #{relationship}, + + + domicile_address = #{domicileAddress}, + + + origin_address = #{originAddress}, + + + flow_time = #{flowTime}, + + + flow_reason = #{flowReason}, + + + flow_reasontext = #{flowReasontext}, + + + is_oldage = #{isOldage}, + + + oldage_type = #{oldageType}, + + + oldage_department = #{oldageDepartment}, + + + oldage_lift = #{oldageLift}, + + + oldage_health_status = #{oldageHealthStatus}, + + + oldage_selfcare = #{oldageSelfcare}, + + + oldage_live = #{oldageLive}, + + + is_disability = #{isDisability}, + + + disability_type = #{disabilityType}, + + + disability_level = #{disabilityLevel}, + + + disability_number = #{disabilityNumber}, + + + disability_carnumber = #{disabilityCarnumber}, + + + disability_address = #{disabilityAddress}, + + + disability_income = #{disabilityIncome}, + + + disability_house = #{disabilityHouse}, + + + disability_time = #{disabilityTime}, + + + disability_guardian = #{disabilityGuardian}, + + + disability_guardian_phone = #{disabilityGuardianPhone}, + + + disability_guardian_relation = #{disabilityGuardianRelation}, + + + is_military = #{isMilitary}, + + + military_time = #{militaryTime}, + + + military_position = #{militaryPosition}, + + + is_succour = #{isSuccour}, + + + succour_dibao = #{succourDibao}, + + + succour_help = #{succourHelp}, + + + succour_difficulty = #{succourDifficulty}, + + + succour_subsidy = #{succourSubsidy}, + + + is_party = #{isParty}, + + + party_organization = #{partyOrganization}, + + + party_time = #{partyTime}, + + + othertext = #{othertext}, + + modifier = #{modifier}, + gmt_modified = #{gmtModified}, + population_info_id = population_info_id + WHERE + population_info_id = #{populationInfoId} + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/assets/js/idCardUtils.js b/src/main/resources/static/assets/js/idCardUtils.js new file mode 100644 index 0000000..68ff40a --- /dev/null +++ b/src/main/resources/static/assets/js/idCardUtils.js @@ -0,0 +1,176 @@ +var idCardNoUtil = { + /*省,直辖市代码表*/ + provinceAndCitys: {11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江", + 31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东", + 45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏", + 65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"}, + + /*每位加权因子*/ + powers: ["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"], + + /*第18位校检码*/ + parityBit: ["1","0","X","9","8","7","6","5","4","3","2"], + + /*性别*/ + genders: {male:"男性",female:"女性"}, + + /*校验地址码*/ + checkAddressCode: function(addressCode){ + var check = /^[1-9]\d{5}$/.test(addressCode); + if(!check) return false; + if(idCardNoUtil.provinceAndCitys[parseInt(addressCode.substring(0,2))]){ + return true; + }else{ + return false; + } + }, + + /*校验日期码*/ + checkBirthDayCode: function(birDayCode){ + var check = /^[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))$/.test(birDayCode); + if(!check) return false; + var yyyy = parseInt(birDayCode.substring(0,4),10); + var mm = parseInt(birDayCode.substring(4,6),10); + var dd = parseInt(birDayCode.substring(6),10); + var xdata = new Date(yyyy,mm-1,dd); + if(xdata > new Date()){ + return false;//生日不能大于当前日期 + }else if ( ( xdata.getFullYear() == yyyy ) && ( xdata.getMonth () == mm - 1 ) && ( xdata.getDate() == dd ) ){ + return true; + }else{ + return false; + } + }, + + /*计算校检码*/ + getParityBit: function(idCardNo){ + var id17 = idCardNo.substring(0,17); + /*加权 */ + var power = 0; + for(var i=0;i<17;i++){ + power += parseInt(id17.charAt(i),10) * parseInt(idCardNoUtil.powers[i]); + } + /*取模*/ + var mod = power % 11; + return idCardNoUtil.parityBit[mod]; + }, + + /*验证校检码*/ + checkParityBit: function(idCardNo){ + var parityBit = idCardNo.charAt(17).toUpperCase(); + if(idCardNoUtil.getParityBit(idCardNo) == parityBit){ + return true; + }else{ + return false; + } + }, + + /*校验15位或18位的身份证号码*/ + checkIdCardNo: function(idCardNo){ + //15位和18位身份证号码的基本校验 + var check = /^\d{15}|(\d{17}(\d|x|X))$/.test(idCardNo); + if(!check) return false; + //判断长度为15位或18位 + if(idCardNo.length==15){ + return idCardNoUtil.check15IdCardNo(idCardNo); + }else if(idCardNo.length==18){ + return idCardNoUtil.check18IdCardNo(idCardNo); + }else{ + return false; + } + }, + + //校验15位的身份证号码 + check15IdCardNo: function(idCardNo){ + //15位身份证号码的基本校验 + var check = /^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(idCardNo); + if(!check) return false; + //校验地址码 + var addressCode = idCardNo.substring(0,6); + check = idCardNoUtil.checkAddressCode(addressCode); + if(!check) return false; + var birDayCode = '19' + idCardNo.substring(6,12); + //校验日期码 + return idCardNoUtil.checkBirthDayCode(birDayCode); + }, + + //校验18位的身份证号码 + check18IdCardNo: function(idCardNo){ + //18位身份证号码的基本格式校验 + var check = /^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(idCardNo); + if(!check) return false; + //校验地址码 + var addressCode = idCardNo.substring(0,6); + check = idCardNoUtil.checkAddressCode(addressCode); + if(!check) return false; + //校验日期码 + var birDayCode = idCardNo.substring(6,14); + check = idCardNoUtil.checkBirthDayCode(birDayCode); + if(!check) return false; + //验证校检码  + return idCardNoUtil.checkParityBit(idCardNo); + }, + + formateDateCN: function(day){ + var yyyy =day.substring(0,4); + var mm = day.substring(4,6); + var dd = day.substring(6); + return yyyy + '-' + mm +'-' + dd; + }, + + //获取信息 + getIdCardInfo: function(idCardNo){ + var idCardInfo = { + gender:"",  //性别 + birthday:"",// 出生日期(yyyy-mm-dd) + area:"" // 籍贯(yyyy-mm-dd) + }; + if(idCardNo.length==15){ + var aday = '19' + idCardNo.substring(6,12); + idCardInfo.birthday=idCardNoUtil.formateDateCN(aday); + if(parseInt(idCardNo.charAt(14))%2==0){ + idCardInfo.gender=idCardNoUtil.genders.female; + }else{ + idCardInfo.gender=idCardNoUtil.genders.male; + } + }else if(idCardNo.length==18){ + var aday = idCardNo.substring(6,14); + var provinceNo = idCardNo.substr(0, 2); + if (idCardNoUtil.provinceAndCitys[parseInt(provinceNo)] != null) { + idCardInfo.area = idCardNoUtil.provinceAndCitys[parseInt(provinceNo)]; + } + idCardInfo.birthday=idCardNoUtil.formateDateCN(aday); + if(parseInt(idCardNo.charAt(16))%2==0){ + idCardInfo.gender=idCardNoUtil.genders.female; + }else{ + idCardInfo.gender=idCardNoUtil.genders.male; + } + + } + return idCardInfo; + }, + + /*18位转15位*/ + getId15: function(idCardNo){ + if(idCardNo.length==15){ + return idCardNo; + }else if(idCardNo.length==18){ + return idCardNo.substring(0,6) + idCardNo.substring(8,17); + }else{ + return null; + } + }, + + /*15位转18位*/ + getId18: function(idCardNo){ + if(idCardNo.length==15){ + var id17 = idCardNo.substring(0,6) + '19' + idCardNo.substring(6); + var parityBit = idCardNoUtil.getParityBit(id17); + return id17 + parityBit; + }else if(idCardNo.length==18){ + return idCardNo; + }else{ + return null; + } + } +}; diff --git a/src/main/resources/templates/populationinfo/list.html b/src/main/resources/templates/populationinfo/list.html new file mode 100644 index 0000000..f65278c --- /dev/null +++ b/src/main/resources/templates/populationinfo/list.html @@ -0,0 +1,305 @@ + + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/populationinfo/save.html b/src/main/resources/templates/populationinfo/save.html new file mode 100644 index 0000000..93ad22f --- /dev/null +++ b/src/main/resources/templates/populationinfo/save.html @@ -0,0 +1,1338 @@ + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+

老年人

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+

残疾人

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+
+

服役/退役

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+

社会救助

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+

党员

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/populationinfo/update.html b/src/main/resources/templates/populationinfo/update.html new file mode 100644 index 0000000..fbabc9f --- /dev/null +++ b/src/main/resources/templates/populationinfo/update.html @@ -0,0 +1,1286 @@ + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+

老年人

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+

残疾人

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+ +
+ +
+
+
+
+
+

服役/退役

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+

社会救助

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+

党员

+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+
+ + + + + + + \ No newline at end of file