| | |
| | | |
| | | public static final String DISABILITY_POPULATION_ERROR_LIST = "DISABILITY_POPULATION_ERROR_LIST_"; |
| | | |
| | | public static final String LOWSECURITY_POPULATION_ERROR_LIST = "LOWSECURITY_POPULATION_ERROR_LIST_"; |
| | | |
| | | /** |
| | | * 高德地图获取天气url |
| | | */ |
| | |
| | | package com.panzhihua.common.listen; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.alibaba.excel.EasyExcel; |
| | | import com.alibaba.excel.ExcelWriter; |
| | | import com.alibaba.excel.context.AnalysisContext; |
| | |
| | | |
| | | int index = 2; |
| | | try { |
| | | String[] parsePatterns = new String[]{"yyyy-MM-dd", "yyyy-M-dd", "yyyy-MM-d", "yyyy-M-d", "yyyy/MM/dd", "yyyy/M/dd", "yyyy/MM/d", "yyyy/M/d"}; |
| | | ArrayList<ComMngPopulationCorrectExcelVO> voList = Lists.newArrayList(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | ArrayList<ComMngPopulationCorrectMistakeExcelVO> mistakes = Lists.newArrayList(); |
| | |
| | | vo.setCensusRegister(oneData.get(15).trim()); |
| | | } |
| | | if(StringUtils.isEmpty(oneData.get(16))){ |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("矫正开始时间不可为空,请填写矫正开始时间"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(16))){ |
| | | vo.setCorrectBegin(new SimpleDateFormat("yyyy-MM-dd").parse(oneData.get(16))); |
| | | Integer isOk = PopulCultureLevelEnum.getCodeByName(oneData.get(16)); |
| | | if(isOk.equals(-1)){ |
| | | index++; |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的学历有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setCultureLevel(isOk); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(17))){ |
| | | vo.setCorrectEnd(new SimpleDateFormat("yyyy-MM-dd").parse(oneData.get(17))); |
| | | vo.setCorrectPersonCode(oneData.get(17).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(18))){ |
| | | vo.setCorrectType(oneData.get(18).trim()); |
| | | vo.setOriginalCustodyplace(oneData.get(18).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(19))){ |
| | | vo.setCharges(oneData.get(19).trim()); |
| | | vo.setCorrectType(oneData.get(19).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(20))){ |
| | | vo.setRemark(oneData.get(20).trim()); |
| | | vo.setCaseType(oneData.get(20).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | vo.setSpecificCharge(oneData.get(21).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(22))){ |
| | | vo.setOriginalTerm(oneData.get(22).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(23))){ |
| | | vo.setOriginalTermBegin(DateUtil.parse(oneData.get(23).trim(), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(24))){ |
| | | vo.setOriginalTermEnd(DateUtil.parse(oneData.get(24).trim(), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(25))){ |
| | | vo.setCorrectBegin(DateUtil.parse(oneData.get(25).trim(), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(26))){ |
| | | vo.setCorrectEnd(DateUtil.parse(oneData.get(26).trim(), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(27))){ |
| | | vo.setReceiveMethod(oneData.get(27).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(27))){ |
| | | vo.setReceiveMethod(oneData.get(27).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(28))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(28)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否累惯犯有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsRecidivist(isOk); |
| | | }else { |
| | | vo.setIsRecidivist(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(29))){ |
| | | vo.setFourHistory(oneData.get(29).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(30))){ |
| | | vo.setThreeInvovle(oneData.get(30).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(31))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(31)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否建立矫正小组有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsCorrectGroup(isOk); |
| | | }else { |
| | | vo.setIsCorrectGroup(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(32))){ |
| | | vo.setCorrectGroupConstitute(oneData.get(32).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(33))){ |
| | | vo.setCorrectRelieveType(oneData.get(33).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(34))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(34)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否有脱管有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsOutControl(isOk); |
| | | }else { |
| | | vo.setIsOutControl(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(35))){ |
| | | vo.setOutControlReason(oneData.get(35).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(36))){ |
| | | vo.setOutControlCorrect(oneData.get(36).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(37))){ |
| | | vo.setInspectOutControl(oneData.get(37).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(38))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(38)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否有漏管有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsMissControl(isOk); |
| | | }else { |
| | | vo.setIsMissControl(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(39))){ |
| | | vo.setMissControlReason(oneData.get(39).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(40))){ |
| | | vo.setMissControlCorrect(oneData.get(40).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(41))){ |
| | | vo.setInspectMissControl(oneData.get(41).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(42))){ |
| | | vo.setRewardAndPunishiment(oneData.get(42).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(43))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(43)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationCorrectMistakeExcelVO mistake = new ComMngPopulationCorrectMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否重新犯罪有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsAgainCrime(isOk); |
| | | }else { |
| | | vo.setIsAgainCrime(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(44))){ |
| | | vo.setAgainCrimeName(oneData.get(44).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(45))){ |
| | | vo.setPubishmentChange(oneData.get(45).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(46))){ |
| | | vo.setRemark(oneData.get(46).trim()); |
| | | } |
| | | vo.getUserTagStr().add("社区矫正人员"); |
| | | for (int i = 21; i < headSize; i++) { |
| | | for (int i = 47; i < headSize; i++) { |
| | | if (oneData.get(i) != null && oneData.get(i).equals("是")) { |
| | | vo.getUserTagStr().add(headData.get(i).substring(0,headData.get(i).indexOf("("))); |
| | | } |
| | |
| | | // populationImportErrorVOList.add(importErrorVO); |
| | | log.error("数据格式有误,第" + index + "行"); |
| | | throw new ServiceException("500", "导入失败111"); |
| | | } catch (ParseException e1) { |
| | | log.info("处理数据时失败2"); |
| | | e1.printStackTrace(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | // ComMngPopulationImportErrorVO importErrorVO = new ComMngPopulationImportErrorVO(); |
| | | // importErrorVO.setErrorPosition("第" + index + "行"); |
| | | // importErrorVO.setErrorMsg("数据格式有误,请检查文档内数据"); |
| | | // populationImportErrorVOList.add(importErrorVO); |
| | | log.error("数据格式有误,第" + index + "行"); |
| | | throw new ServiceException("500", "导入失败222"); |
| | | } |
| | | } |
| | | |
| | |
| | | vo.setControlStatus(map.get(13)); |
| | | vo.setOutOrLocal(map.get(14)); |
| | | vo.setCensusRegister(map.get(15)); |
| | | vo.setCorrectBegin(map.get(16)); |
| | | vo.setCorrectEnd(map.get(17)); |
| | | vo.setCorrectType(map.get(18)); |
| | | vo.setCharges(map.get(19)); |
| | | vo.setRemark(map.get(20)); |
| | | vo.setCultureLevel(map.get(16)); |
| | | vo.setCorrectPersonCode(map.get(17)); |
| | | vo.setOriginalCustodyplace(map.get(18)); |
| | | vo.setCorrectType(map.get(19)); |
| | | vo.setCaseType(map.get(20)); |
| | | vo.setSpecificCharge(map.get(21)); |
| | | vo.setOriginalTerm(map.get(22)); |
| | | vo.setOriginalTermBegin(map.get(23)); |
| | | vo.setOriginalTermEnd(map.get(24)); |
| | | vo.setCorrectBegin(map.get(25)); |
| | | vo.setCorrectEnd(map.get(26)); |
| | | vo.setReceiveMethod(map.get(27)); |
| | | vo.setIsRecidivist(map.get(28)); |
| | | vo.setFourHistory(map.get(29)); |
| | | vo.setThreeInvovle(map.get(30)); |
| | | vo.setIsCorrectGroup(map.get(31)); |
| | | vo.setCorrectGroupConstitute(map.get(32)); |
| | | vo.setCorrectRelieveType(map.get(33)); |
| | | vo.setIsOutControl(map.get(34)); |
| | | vo.setOutControlReason(map.get(35)); |
| | | vo.setOutControlCorrect(map.get(35)); |
| | | vo.setInspectOutControl(map.get(37)); |
| | | vo.setIsMissControl(map.get(38)); |
| | | vo.setMissControlReason(map.get(39)); |
| | | vo.setMissControlCorrect(map.get(40)); |
| | | vo.setInspectMissControl(map.get(41)); |
| | | vo.setRewardAndPunishiment(map.get(42)); |
| | | vo.setIsAgainCrime(map.get(43)); |
| | | vo.setAgainCrimeName(map.get(44)); |
| | | vo.setPubishmentChange(map.get(45)); |
| | | vo.setRemark(map.get(46)); |
| | | } |
| | | |
| | | private R mistakeExportPopulation(List<ComMngPopulationMistakeExcelVO> vo) { |
| | |
| | | package com.panzhihua.common.listen; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.alibaba.excel.context.AnalysisContext; |
| | | import com.alibaba.excel.event.AnalysisEventListener; |
| | | import com.alibaba.fastjson.JSONArray; |
| | |
| | | |
| | | int index = 2; |
| | | try { |
| | | String[] parsePatterns = new String[]{"yyyy-MM-dd", "yyyy-M-dd", "yyyy-MM-d", "yyyy-M-d", "yyyy/MM/dd", "yyyy/M/dd", "yyyy/MM/d", "yyyy/M/d"}; |
| | | ArrayList<ComMngPopulationCultExcelVO> voList = Lists.newArrayList(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | ArrayList<ComMngPopulationCultMistakeExcelVO> mistakes = Lists.newArrayList(); |
| | |
| | | vo.setBasicSituation(oneData.get(20).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | vo.setRemark(oneData.get(21).trim()); |
| | | vo.setJoinCultDate(DateUtil.parse(oneData.get(21).trim(), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(22))){ |
| | | vo.setIsExternalPublicity(Integer.valueOf(oneData.get(22).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(23))){ |
| | | vo.setRemark(oneData.get(23).trim()); |
| | | } |
| | | vo.getUserTagStr().add("邪教人员"); |
| | | for (int i = 22; i < headSize; i++) { |
| | | for (int i = 24; i < headSize; i++) { |
| | | if (oneData.get(i) != null && oneData.get(i).equals("是")) { |
| | | vo.getUserTagStr().add(headData.get(i).substring(0,headData.get(i).indexOf("("))); |
| | | } |
| | |
| | | vo.setCensusRegister(map.get(18)); |
| | | vo.setCultName(map.get(19)); |
| | | vo.setBasicSituation(map.get(20)); |
| | | vo.setRemark(map.get(21)); |
| | | vo.setJoinCultDate(map.get(21)); |
| | | vo.setIsExternalPublicity(map.get(22)); |
| | | vo.setRemark(map.get(23)); |
| | | } |
| | | |
| | | private String convertMarriage(String ma) { |
| | |
| | | package com.panzhihua.common.listen; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.alibaba.excel.EasyExcel; |
| | | import com.alibaba.excel.ExcelWriter; |
| | | import com.alibaba.excel.context.AnalysisContext; |
| | |
| | | |
| | | int index = 2; |
| | | try { |
| | | String[] parsePatterns = new String[]{"yyyy-MM-dd", "yyyy-M-dd", "yyyy-MM-d", "yyyy-M-d", "yyyy/MM/dd", "yyyy/M/dd", "yyyy/MM/d", "yyyy/M/d"}; |
| | | ArrayList<ComMngPopulationDrugExcelVO> voList = Lists.newArrayList(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | ArrayList<ComMngPopulationDrugMistakeExcelVO> mistakes = Lists.newArrayList(); |
| | |
| | | vo.setCensusRegister(oneData.get(15).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(16))){ |
| | | vo.setRemark(oneData.get(16).trim()); |
| | | vo.setFirstDate(DateUtil.parse(oneData.get(16).trim(), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(17))){ |
| | | vo.setControlSituation(oneData.get(17).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(18))){ |
| | | vo.setControlPerson(oneData.get(18).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(19))){ |
| | | vo.setControlPersonPhone(oneData.get(19).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(20))){ |
| | | vo.setHelpSituation(oneData.get(20).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | vo.setHelpPerson(oneData.get(21).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(22))){ |
| | | vo.setHelpPersonPhone(oneData.get(22).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(23))){ |
| | | vo.setDrugReason(oneData.get(23).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(24))){ |
| | | vo.setDrugResult(oneData.get(24).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(25))){ |
| | | vo.setHaveCrime(oneData.get(25).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(26))){ |
| | | vo.setCrimeSutiation(oneData.get(26).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(27))){ |
| | | vo.setRemark(oneData.get(27).trim()); |
| | | } |
| | | vo.getUserTagStr().add("吸毒人员"); |
| | | for (int i = 17; i < headSize; i++) { |
| | | for (int i = 28; i < headSize; i++) { |
| | | if (oneData.get(i) != null && oneData.get(i).equals("是")) { |
| | | vo.getUserTagStr().add(headData.get(i).substring(0,headData.get(i).indexOf("("))); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | private void setMistake(Map<Integer, String> map, ComMngPopulationMistakeExcelVO vo){ |
| | | vo.setName(map.get(0)); |
| | | vo.setCardNo(map.get(1)); |
| | | vo.setNation(map.get(2)); |
| | | vo.setPoliticalOutlook(map.get(3)); |
| | | vo.setIsRent(map.get(4)); |
| | | vo.setRelation(map.get(5)); |
| | | vo.setRoad(map.get(6)); |
| | | vo.setDoorNo(map.get(7)); |
| | | vo.setFloor(map.get(8)); |
| | | vo.setUnitNo(map.get(9)); |
| | | vo.setHouseNo(map.get(10)); |
| | | vo.setBuildPurpose(map.get(11)); |
| | | vo.setBuildArea(map.get(12)); |
| | | vo.setHouseStatus(map.get(13)); |
| | | vo.setHousePurpose(map.get(14)); |
| | | vo.setControlStatus(map.get(15)); |
| | | vo.setPhone(map.get(16)); |
| | | vo.setNativePlace(map.get(17)); |
| | | vo.setCultureLevel(map.get(18)); |
| | | vo.setMarriage(map.get(19)); |
| | | vo.setHealthy(map.get(20)); |
| | | vo.setBloodType(map.get(21)); |
| | | vo.setReligion(map.get(22)); |
| | | vo.setProfession(map.get(23)); |
| | | vo.setWorkCompany(map.get(24)); |
| | | vo.setOutOrLocal(map.get(25)); |
| | | vo.setCensusRegister(map.get(26)); |
| | | vo.setResidence(map.get(27)); |
| | | // vo.setAddress(map.get(28)); |
| | | vo.setPersonType(map.get(28)); |
| | | vo.setCountry(map.get(29)); |
| | | vo.setStringOfDeparture(map.get(30)); |
| | | vo.setPersonStatus(map.get(31)); |
| | | vo.setMonthlyIncome(map.get(32)); |
| | | vo.setFamilyStatus(map.get(33)); |
| | | vo.setGoalInChina(map.get(34)); |
| | | vo.setStringOfArrival(map.get(35)); |
| | | vo.setRemark(map.get(36)); |
| | | vo.setIdCardPositive(map.get(37)); |
| | | vo.setIdCardBack(map.get(38)); |
| | | vo.setHouseHold(map.get(39)); |
| | | vo.setDeath(map.get(40)); |
| | | } |
| | | |
| | | private void setDrugMistake(Map<Integer, String> map, ComMngPopulationDrugMistakeExcelVO vo){ |
| | | vo.setSerialNumber(map.get(0)); |
| | | vo.setName(map.get(1)); |
| | |
| | | vo.setControlStatus(map.get(13)); |
| | | vo.setOutOrLocal(map.get(14)); |
| | | vo.setCensusRegister(map.get(15)); |
| | | vo.setRemark(map.get(16)); |
| | | vo.setFirstDate(map.get(16)); |
| | | vo.setControlSituation(map.get(17)); |
| | | vo.setControlPerson(map.get(18)); |
| | | vo.setControlPersonPhone(map.get(19)); |
| | | vo.setHelpSituation(map.get(20)); |
| | | vo.setHelpPerson(map.get(21)); |
| | | vo.setHelpPersonPhone(map.get(22)); |
| | | vo.setDrugReason(map.get(23)); |
| | | vo.setDrugResult(map.get(24)); |
| | | vo.setHaveCrime(map.get(25)); |
| | | vo.setCrimeSutiation(map.get(26)); |
| | | vo.setRemark(map.get(27)); |
| | | } |
| | | |
| | | private R mistakeExportPopulation(List<ComMngPopulationMistakeExcelVO> vo) { |
New file |
| | |
| | | package com.panzhihua.common.listen; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.alibaba.excel.context.AnalysisContext; |
| | | import com.alibaba.excel.event.AnalysisEventListener; |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.google.common.collect.Lists; |
| | | import com.panzhihua.common.constants.BcDictionaryConstants; |
| | | import com.panzhihua.common.constants.Constants; |
| | | import com.panzhihua.common.enums.*; |
| | | import com.panzhihua.common.exceptions.ServiceException; |
| | | import com.panzhihua.common.model.vos.BcDictionaryVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationLowSecurityExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationLowSecurityMistakeExcelVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.utlis.ListUtils; |
| | | import com.panzhihua.common.utlis.PayUtil; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.data.redis.core.StringRedisTemplate; |
| | | import org.springframework.data.redis.core.ValueOperations; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | | import java.util.concurrent.TimeUnit; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * @description: 低保户导入监听 |
| | | * @author: txb |
| | | */ |
| | | @Slf4j |
| | | public class ComMngPopulationLowSecurityExcelListen extends AnalysisEventListener<Map<Integer, String>> { |
| | | private CommunityService communityService; |
| | | |
| | | private Long communityId; |
| | | |
| | | private static int headSize = 0; |
| | | |
| | | private Map<Integer, String> headData; |
| | | |
| | | private String userName; |
| | | // FTP 登录密码 |
| | | private String password; |
| | | // FTP 服务器地址IP地址 |
| | | private String host; |
| | | // FTP 端口 |
| | | private int port; |
| | | private String excelUrl; |
| | | |
| | | private StringRedisTemplate stringRedisTemplate; |
| | | |
| | | public static String loadUrl; |
| | | |
| | | public ComMngPopulationLowSecurityExcelListen(CommunityService communityService, Long communityId, String userName, String password, String host, int port, String excelUrl, StringRedisTemplate stringRedisTemplate) { |
| | | this.communityService = communityService; |
| | | this.communityId = communityId; |
| | | this.userName = userName; |
| | | this.password = password; |
| | | this.host = host; |
| | | this.port = port; |
| | | this.excelUrl = excelUrl; |
| | | this.stringRedisTemplate = stringRedisTemplate; |
| | | } |
| | | |
| | | /** |
| | | * 每隔5条存储数据库,实际使用中可以3000条,然后清理list ,方便内存回收 |
| | | */ |
| | | private static final int BATCH_COUNT = 5000; |
| | | List<Map<Integer, String>> list = new ArrayList<Map<Integer, String>>(); |
| | | |
| | | @Override |
| | | public void invoke(Map<Integer, String> data, AnalysisContext context) { |
| | | list.add(data); |
| | | if (list.size() >= BATCH_COUNT) { |
| | | saveData(); |
| | | list.clear(); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 这里会一行行的返回头 |
| | | * |
| | | * @param headMap |
| | | * @param context |
| | | */ |
| | | @Override |
| | | public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) { |
| | | headSize = headMap.size(); |
| | | headData = headMap; |
| | | } |
| | | |
| | | @Override |
| | | public void doAfterAllAnalysed(AnalysisContext context) { |
| | | saveData(); |
| | | log.info("所有数据解析完成!"); |
| | | } |
| | | |
| | | /** |
| | | * 不是固定的列只能手动处理 |
| | | */ |
| | | private void saveData() { |
| | | R<List<BcDictionaryVO>> dictionaryR = communityService.listDictionaryByKey(BcDictionaryConstants.FAMILY); |
| | | log.info("开始导入低保户数据"); |
| | | log.info("表格总数据:" + list.size()); |
| | | if (list.size() == 0) { |
| | | throw new ServiceException("500", "导入数据为空!"); |
| | | } |
| | | ValueOperations<String, String> valueOperations = stringRedisTemplate.opsForValue(); |
| | | String LowSecurity = Constants.LOWSECURITY_POPULATION_ERROR_LIST + communityId; |
| | | |
| | | Map<String,String> dictMap = dictionaryR.getData().stream().collect(Collectors.toMap(BcDictionaryVO::getDictName,BcDictionaryVO::getDictValue)); |
| | | // Map<String,Integer> dictMap = new HashMap<>(); |
| | | // for(BcDictionaryVO vo : dictionaryR.getData()){ |
| | | // dictMap.put(vo.getDictName(),Integer.valueOf(vo.getDictValue())); |
| | | // } |
| | | |
| | | |
| | | int index = 2; |
| | | try { |
| | | String[] parsePatterns = new String[]{"yyyy-MM-dd", "yyyy-M-dd", "yyyy-MM-d", "yyyy-M-d", "yyyy/MM/dd", "yyyy/M/dd", "yyyy/MM/d", "yyyy/M/d"}; |
| | | ArrayList<ComMngPopulationLowSecurityExcelVO> voList = Lists.newArrayList(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | ArrayList<ComMngPopulationLowSecurityMistakeExcelVO> mistakes = Lists.newArrayList(); |
| | | for (Map<Integer, String> oneData : list) { |
| | | ComMngPopulationLowSecurityExcelVO vo = new ComMngPopulationLowSecurityExcelVO(); |
| | | if (StringUtils.isNotEmpty(oneData.get(0))){ |
| | | vo.setSerialNumber(oneData.get(0)); |
| | | } |
| | | //姓名和身份证都为空,为空户,无需操作,否则就解析年龄,性别,出生年月日 |
| | | if(StringUtils.isNotEmpty(oneData.get(1)) || StringUtils.isNotEmpty(oneData.get(2))){ |
| | | if(StringUtils.isEmpty(oneData.get(1))){ |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | index++; |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("名字不可为空,请填写姓名"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setName(oneData.get(1)); |
| | | if(StringUtils.isEmpty(oneData.get(2))){ |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | index++; |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("身份证号不可为空,请填写身份证"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | |
| | | //判断身份证号码位数 |
| | | if(oneData.get(2).length() != 18){ |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | index++; |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("身份证号位数有误,请检查身份证号码是否正确"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setCardNo(oneData.get(2).toUpperCase()); |
| | | //根据身份证号码解析年龄以及性别 |
| | | //获取用户生日 |
| | | String birthday = vo.getCardNo().substring(6, 14); |
| | | if(StringUtils.isNotEmpty(birthday)){ |
| | | String year = birthday.substring(0,4); |
| | | String month = birthday.substring(4,6); |
| | | String day = birthday.substring(6,8); |
| | | vo.setBirthday(year + "-" + month + "-" + day); |
| | | } |
| | | // //设置用户年龄 |
| | | // vo.setAge(AgeUtils.getAgeFromBirthTime(birthday)); |
| | | //获取用户性别 |
| | | int sex = Integer.parseInt(vo.getCardNo().substring(16, 17)); |
| | | if(sex%2 == 1){ |
| | | vo.setSex(PopulSexEnum.nan.getCode()); |
| | | }else{ |
| | | vo.setSex(PopulSexEnum.nv.getCode()); |
| | | } |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(3))){ |
| | | vo.setPhone(oneData.get(3)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(4))){ |
| | | vo.setRegion(oneData.get(4)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(5))){ |
| | | vo.setFamilyCode(oneData.get(5)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(6))){ |
| | | vo.setGroupName(oneData.get(6)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(7))){ |
| | | vo.setClassifiedRescueCategory(oneData.get(7)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(8))){ |
| | | vo.setApplyDate(DateUtil.parse(oneData.get(8), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(9))){ |
| | | vo.setHouseHolderName(oneData.get(9)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(10))){ |
| | | vo.setHouseHolderCardNo(oneData.get(10)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(11))){ |
| | | vo.setHouseHolderCode(oneData.get(11)); |
| | | } |
| | | if(StringUtils.isEmpty(oneData.get(12))){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("街路巷不可为空"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setRoad(oneData.get(12)); |
| | | if(StringUtils.isEmpty(oneData.get(13))){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("小区号不可为空"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setDoorNo(oneData.get(13).trim()); |
| | | if(StringUtils.isEmpty(oneData.get(14))){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("楼排号不可为空"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setFloor(oneData.get(14).trim()); |
| | | if(StringUtils.isEmpty(oneData.get(15))){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("单元号不可为空"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setUnitNo(oneData.get(15).trim()); |
| | | if(StringUtils.isEmpty(oneData.get(16))){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("户室不可为空"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setHouseNo(oneData.get(16).trim()); |
| | | if(StringUtils.isNotEmpty(oneData.get(17))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(17)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | index++; |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否租住有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsRent(isOk); |
| | | }else { |
| | | vo.setIsRent(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(18))){ |
| | | Integer isOk = PopulHouseStatusEnum.getCodeByName(oneData.get(18).trim()); |
| | | if(isOk.equals(-1)){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的房屋状态有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setHouseStatus(isOk); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(19))){ |
| | | Integer isOk = PopulHousePurposeEnum.getCodeByName(oneData.get(19).trim()); |
| | | if(isOk.equals(-1)){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的房屋用途有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setHousePurpose(PopulHousePurposeEnum.getCodeByName(oneData.get(19).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(20))){ |
| | | Integer isOk = PopulHouseControlStatusEnum.getCodeByName(oneData.get(20)); |
| | | if(isOk.equals(-1)){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的管控状态有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setControlStatus(isOk); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | Integer isOk = PopulOutOrLocalEnum.getCodeByName(oneData.get(21)); |
| | | if(isOk.equals(-1)){ |
| | | index++; |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | setLowSecurityMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的本地/外地有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setOutOrLocal(isOk); |
| | | }else { |
| | | vo.setOutOrLocal(PopulOutOrLocalEnum.getCodeByName("本地")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(22))){ |
| | | vo.setCensusRegister(oneData.get(22).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(23))){ |
| | | vo.setResidencePostalCode(oneData.get(23).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(24))){ |
| | | vo.setSalvageCertificateNo(oneData.get(24).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(25))){ |
| | | vo.setGuaranteedPopulationNumber(Integer.valueOf(oneData.get(25).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(26))){ |
| | | vo.setFamilyPopulationNumber(Integer.valueOf(oneData.get(26).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(27))){ |
| | | vo.setAccountPerson(oneData.get(27).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(28))){ |
| | | vo.setAccountBank(oneData.get(28).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(29))){ |
| | | vo.setAccountCardNo(oneData.get(29).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(30))){ |
| | | vo.setBankAccount(oneData.get(30).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(31))){ |
| | | vo.setSupportInstitutions(oneData.get(31).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(32))){ |
| | | vo.setDistributionMethod(oneData.get(32).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(33))){ |
| | | vo.setGuaranteedAmount(new BigDecimal(oneData.get(33).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(34))){ |
| | | vo.setReallocationAmount(new BigDecimal(oneData.get(34).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(35))){ |
| | | vo.setDifferenceReliefAmount(new BigDecimal(oneData.get(35).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(36))){ |
| | | vo.setClassifiedInsuredAmount(new BigDecimal(oneData.get(36).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(37))){ |
| | | vo.setTotalMonthlyFamilyIncome(new BigDecimal(oneData.get(37).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(38))){ |
| | | vo.setAverageMonthlyFamilyIncome(new BigDecimal(oneData.get(38).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(39))){ |
| | | vo.setTotalMonthlyFamilyExpenditure(new BigDecimal(oneData.get(39).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(40))){ |
| | | vo.setLng(oneData.get(40).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(41))){ |
| | | vo.setLat(oneData.get(41).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(42))){ |
| | | vo.setOriginateDate(oneData.get(42).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(43))){ |
| | | vo.setNursingFee(new BigDecimal(oneData.get(43).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(44))){ |
| | | vo.setApplyReason(oneData.get(44).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(45))){ |
| | | vo.setReviewComment(oneData.get(45).trim()); |
| | | } |
| | | vo.getUserTagStr().add("低保户"); |
| | | for (int i = 46; i < headSize; i++) { |
| | | if (oneData.get(i) != null && oneData.get(i).equals("是")) { |
| | | vo.getUserTagStr().add(headData.get(i).substring(0,headData.get(i).indexOf("("))); |
| | | } |
| | | } |
| | | //将重复的数据进行MD5加密实现去重 |
| | | String distinct = vo.getName() + vo.getCardNo() + vo.getRoad() + vo.getDoorNo() + vo.getFloor() + vo.getUnitNo() + vo.getHouseNo(); |
| | | try { |
| | | String distinctPass = PayUtil.MD5(distinct); |
| | | if(StringUtils.isNotEmpty(distinctPass)){ |
| | | vo.setDistinctPass(distinctPass); |
| | | } |
| | | }catch (Exception e){ |
| | | log.error("组装MD5加密字段失败,数据表格行数:" + index); |
| | | continue; |
| | | } |
| | | voList.add(vo); |
| | | index++; |
| | | } |
| | | //客户需要暂时注释,等客户处理完成需要恢复 |
| | | // if(populationImportErrorVOList.isEmpty()){ |
| | | // R r = communityService.listSavePopulationServeExcelVO(voList, communityId); |
| | | // if (!R.isOk(r)) { |
| | | // throw new ServiceException(r.getMsg()); |
| | | // } |
| | | // }else{ |
| | | // throw new ServiceException("500", JSON.toJSONString(populationImportErrorVOList)); |
| | | // } |
| | | //根据list中的IdCard城市来去重 |
| | | List<ComMngPopulationLowSecurityExcelVO> newVoList = voList.stream().filter(ListUtils.distinctByKey(ComMngPopulationLowSecurityExcelVO::getDistinctPass)).collect(Collectors.toList()); |
| | | log.info("开始进入业务层处理逻辑"); |
| | | R r = communityService.listSavePopulationLowSecurityExcelVO(newVoList, communityId); |
| | | log.info("业务层处理逻辑完成"); |
| | | if (!R.isOk(r)) { |
| | | log.info("业务层处理成功"); |
| | | List<ComMngPopulationLowSecurityMistakeExcelVO> list = JSONArray.parseArray(JSONArray.toJSONString(r.getData()), ComMngPopulationLowSecurityMistakeExcelVO.class); |
| | | // String errMsg = r.getMsg(); |
| | | // List<ComMngPopulationImportErrorVO> errorList = JSON.parseArray(errMsg,ComMngPopulationImportErrorVO.class); |
| | | // if(!errorList.isEmpty()){ |
| | | // populationImportErrorVOList.addAll(errorList); |
| | | // } |
| | | mistakes.addAll(list); |
| | | log.info("将错误数据存入redis中"); |
| | | valueOperations.set(LowSecurity,JSONArray.toJSONString(mistakes),1, TimeUnit.HOURS); |
| | | log.info("将错误数据存入redis中成功"); |
| | | throw new ServiceException("500", LowSecurity); |
| | | }else{ |
| | | log.info("业务层处理逻辑失败"); |
| | | if(!mistakes.isEmpty()){ |
| | | log.info("业务层处理逻辑失败,将错误数据缓存到redis中"); |
| | | valueOperations.set(LowSecurity,JSONArray.toJSONString(mistakes),1, TimeUnit.HOURS); |
| | | log.info("业务层处理逻辑失败,将错误数据缓存到redis中成功"); |
| | | throw new ServiceException("500", LowSecurity); |
| | | } |
| | | } |
| | | } catch (NumberFormatException e) { |
| | | log.info("处理数据时失败"); |
| | | e.printStackTrace(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | // ComMngPopulationImportErrorVO importErrorVO = new ComMngPopulationImportErrorVO(); |
| | | // importErrorVO.setErrorPosition("第" + index + "行"); |
| | | // importErrorVO.setErrorMsg("数据格式有误,请检查文档内数据"); |
| | | // populationImportErrorVOList.add(importErrorVO); |
| | | log.error("数据格式有误,第" + index + "行"); |
| | | throw new ServiceException("500", "导入失败111"); |
| | | } |
| | | } |
| | | |
| | | private void setLowSecurityMistake(Map<Integer, String> map, ComMngPopulationLowSecurityMistakeExcelVO vo){ |
| | | vo.setSerialNumber(map.get(0)); |
| | | vo.setName(map.get(1)); |
| | | vo.setCardNo(map.get(2)); |
| | | vo.setPhone(map.get(3)); |
| | | vo.setRegion(map.get(4)); |
| | | vo.setFamilyCode(map.get(5)); |
| | | vo.setGroupName(map.get(6)); |
| | | vo.setClassifiedRescueCategory(map.get(7)); |
| | | vo.setApplyDate(map.get(8)); |
| | | vo.setHouseHolderName(map.get(9)); |
| | | vo.setHouseHolderCardNo(map.get(10)); |
| | | vo.setHouseHolderCode(map.get(11)); |
| | | vo.setRoad(map.get(12)); |
| | | vo.setDoorNo(map.get(13)); |
| | | vo.setFloor(map.get(14)); |
| | | vo.setUnitNo(map.get(15)); |
| | | vo.setHouseNo(map.get(16)); |
| | | vo.setIsRent(map.get(17)); |
| | | vo.setHouseStatus(map.get(18)); |
| | | vo.setHousePurpose(map.get(19)); |
| | | vo.setControlStatus(map.get(20)); |
| | | vo.setOutOrLocal(map.get(21)); |
| | | vo.setCensusRegister(map.get(22)); |
| | | vo.setResidencePostalCode(map.get(23)); |
| | | vo.setSalvageCertificateNo(map.get(24)); |
| | | vo.setGuaranteedPopulationNumber(map.get(25)); |
| | | vo.setFamilyPopulationNumber(map.get(26)); |
| | | vo.setAccountPerson(map.get(27)); |
| | | vo.setAccountBank(map.get(28)); |
| | | vo.setAccountCardNo(map.get(29)); |
| | | vo.setBankAccount(map.get(30)); |
| | | vo.setSupportInstitutions(map.get(31)); |
| | | vo.setDistributionMethod(map.get(32)); |
| | | vo.setGuaranteedAmount(map.get(33)); |
| | | vo.setReallocationAmount(map.get(34)); |
| | | vo.setDifferenceReliefAmount(map.get(35)); |
| | | vo.setClassifiedInsuredAmount(map.get(36)); |
| | | vo.setTotalMonthlyFamilyIncome(map.get(37)); |
| | | vo.setAverageMonthlyFamilyIncome(map.get(38)); |
| | | vo.setTotalMonthlyFamilyExpenditure(map.get(39)); |
| | | vo.setLng(map.get(40)); |
| | | vo.setLat(map.get(41)); |
| | | vo.setOriginateDate(map.get(42)); |
| | | vo.setNursingFee(map.get(43)); |
| | | vo.setApplyReason(map.get(44)); |
| | | vo.setReviewComment(map.get(45)); |
| | | } |
| | | |
| | | private String convertMarriage(String ma) { |
| | | |
| | | if(Objects.equals("已",ma) || Objects.equals("一",ma)){ |
| | | ma = "已婚"; |
| | | }else if(Objects.equals("未",ma) || Objects.equals("未婚婚",ma)){ |
| | | ma = "未婚"; |
| | | }else if(Objects.equals("初",ma)){ |
| | | ma = "初婚"; |
| | | }else if(Objects.equals("再",ma)){ |
| | | ma = "再婚"; |
| | | }else if(Objects.equals("复",ma)){ |
| | | ma = "复婚"; |
| | | }else if(Objects.equals("丧",ma) || Objects.equals("丧偶偶",ma)){ |
| | | ma = "丧偶"; |
| | | }else if(Objects.equals("离",ma) || Objects.equals("离异",ma) || Objects.equals("离异婚",ma)){ |
| | | ma = "离婚"; |
| | | }else if(Objects.equals("分",ma)){ |
| | | ma = "分居"; |
| | | } |
| | | |
| | | return ma; |
| | | } |
| | | |
| | | private String convertRelation(String ra) { |
| | | if(ra.contains("户主")){ |
| | | ra = "户主"; |
| | | }else if(Objects.equals(ra,"女儿")){ |
| | | ra = "女"; |
| | | }else if(Objects.equals(ra,"儿子") || Objects.equals(ra,"儿")){ |
| | | ra = "子"; |
| | | }else if(Objects.equals(ra,"大女")){ |
| | | ra = "长女"; |
| | | }else if(Objects.equals(ra,"二女") || Objects.equals(ra,"此女")){ |
| | | ra = "次女"; |
| | | }else if(Objects.equals(ra,"二子")){ |
| | | ra = "次子"; |
| | | }else if(Objects.equals(ra,"长男") || ra.contains("长子")){ |
| | | ra = "长子"; |
| | | }else if(Objects.equals(ra,"非亲属") || ra.contains("女友") || ra.contains("女朋友") |
| | | || ra.contains("男友") || ra.contains("男朋友")){ |
| | | ra = "其他"; |
| | | }else if(Objects.equals(ra,"姐")){ |
| | | ra = "姐姐"; |
| | | }else if(Objects.equals(ra,"户主")){ |
| | | ra = "本人"; |
| | | }else if(Objects.equals(ra,"妻子") || Objects.equals(ra,"媳妇")){ |
| | | ra = "妻"; |
| | | }else if(Objects.equals(ra,"哥") || Objects.equals(ra,"哥哥")){ |
| | | ra = "兄"; |
| | | }else if(Objects.equals(ra,"丈夫")){ |
| | | ra = "夫"; |
| | | }else if(Objects.equals(ra,"丈母娘")){ |
| | | ra = "岳母"; |
| | | }else if(Objects.equals(ra,"继子") || Objects.equals(ra,"养子")){ |
| | | ra = "养子或继子"; |
| | | }else if(Objects.equals(ra,"继女") || Objects.equals(ra,"养女")){ |
| | | ra = "养女或继女"; |
| | | }else if(ra.contains("儿媳")||ra.contains("长媳")){ |
| | | ra = "儿媳"; |
| | | }else if(Objects.equals(ra,"三姨") || Objects.equals(ra,"姨姨")){ |
| | | ra = "姨母"; |
| | | }else if(Objects.equals(ra,"二外孙女")){ |
| | | ra = "外孙女"; |
| | | }else if(Objects.equals(ra,"外孙")){ |
| | | ra = "外孙子"; |
| | | }else if(Objects.equals(ra,"侄儿")){ |
| | | ra = "侄子"; |
| | | }else if(ra.contains("表")){ |
| | | ra = "表兄弟、表姐妹"; |
| | | }else if(Objects.equals(ra,"继父") || Objects.equals(ra,"养父")){ |
| | | ra = "继父或养父"; |
| | | }else if(Objects.equals(ra,"父")){ |
| | | ra = "父亲"; |
| | | }else if(Objects.equals(ra,"弟弟")){ |
| | | ra = "弟"; |
| | | }else if(Objects.equals(ra,"孙")){ |
| | | ra = "孙子"; |
| | | }else if(Objects.equals(ra,"孙媳妇") || Objects.equals(ra,"外孙媳妇")){ |
| | | ra = "孙媳妇或外孙媳妇"; |
| | | }else if(Objects.equals(ra,"妹")){ |
| | | ra = "妹妹"; |
| | | }else if(Objects.equals(ra,"祖父母")){ |
| | | ra = "祖父母或外祖父母"; |
| | | }else if(Objects.equals(ra,"姐妹") || Objects.equals(ra,"兄弟")){ |
| | | ra = "兄弟姐妹"; |
| | | }else if(Objects.equals(ra,"其他姐妹") || Objects.equals(ra,"其他兄弟")){ |
| | | ra = "其他兄弟姐妹"; |
| | | }else if(Objects.equals(ra,"奶奶")){ |
| | | ra = "祖母"; |
| | | }else if(Objects.equals(ra,"爷爷")){ |
| | | ra = "祖父"; |
| | | }else if(Objects.equals(ra,"爷爷")){ |
| | | ra = "祖父"; |
| | | }else if(ra.contains("堂")){ |
| | | ra = "堂兄弟、堂姐妹"; |
| | | } |
| | | |
| | | return ra; |
| | | } |
| | | } |
| | |
| | | import com.panzhihua.common.exceptions.ServiceException; |
| | | import com.panzhihua.common.model.vos.BcDictionaryVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationMajorExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationMajorMistakeExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationMistakeExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationRehabilitationMistakeExcelVO; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.utlis.ListUtils; |
| | | import com.panzhihua.common.utlis.PayUtil; |
| | |
| | | vo.setEconomicCondition(oneData.get(15).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(16))){ |
| | | vo.setGuarDian(oneData.get(16).trim()); |
| | | vo.setPersonType(oneData.get(16).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(17))){ |
| | | vo.setGuarDianPhone(oneData.get(17).trim()); |
| | | vo.setFamilySituation(oneData.get(17).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(18))){ |
| | | Integer isOk = PopulRelationEnum.getCodeByName(oneData.get(18)); |
| | | vo.setCustodyPerson(oneData.get(18).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(19))){ |
| | | Integer isOk = PopulRelationEnum.getCodeByName(oneData.get(19)); |
| | | if(isOk.equals(-1)){ |
| | | index++; |
| | | ComMngPopulationMajorMistakeExcelVO mistake = new ComMngPopulationMajorMistakeExcelVO(); |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的与患者关系有误"); |
| | | mistake.setMistake("您填写的与监护人关系有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setPatientRelation(isOk); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(19))){ |
| | | vo.setDiagnose(oneData.get(19).trim()); |
| | | vo.setCustodyRelation(isOk); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(20))){ |
| | | vo.setOther(oneData.get(20).trim()); |
| | | vo.setCustodyCardNo(oneData.get(20).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | vo.setCustodyPersonPhone(oneData.get(21).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(22))){ |
| | | vo.setCustodyAddress(oneData.get(22).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(23))){ |
| | | vo.setHelpPerson(oneData.get(23).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(24))){ |
| | | vo.setHelpPersonPhone(oneData.get(24).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(25))){ |
| | | vo.setHelpMethod(oneData.get(25).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(26))){ |
| | | vo.setHelpSituation(oneData.get(26).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(27))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(27)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationMajorMistakeExcelVO mistake = new ComMngPopulationMajorMistakeExcelVO(); |
| | | index++; |
| | | setMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否违法犯罪有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsCrime(isOk); |
| | | }else { |
| | | vo.setIsCrime(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(28))){ |
| | | vo.setCrimeSutiation(oneData.get(28).trim()); |
| | | } |
| | | vo.getUserTagStr().add("重精人员"); |
| | | for (int i = 21; i < headSize; i++) { |
| | | for (int i = 29; i < headSize; i++) { |
| | | if (oneData.get(i) != null && oneData.get(i).equals("是")) { |
| | | vo.getUserTagStr().add(headData.get(i).substring(0,headData.get(i).indexOf("("))); |
| | | } |
| | |
| | | vo.setCensusRegister(map.get(13)); |
| | | vo.setCultureLevel(map.get(14)); |
| | | vo.setEconomicCondition(map.get(15)); |
| | | vo.setGuarDian(map.get(16)); |
| | | vo.setGuarDianPhone(map.get(17)); |
| | | vo.setPatientRelation(map.get(18)); |
| | | vo.setDiagnose(map.get(19)); |
| | | vo.setOther(map.get(20)); |
| | | vo.setPersonType(map.get(16)); |
| | | vo.setFamilySituation(map.get(17)); |
| | | vo.setCustodyPerson(map.get(18)); |
| | | vo.setCustodyRelation(map.get(19)); |
| | | vo.setCustodyCardNo(map.get(20)); |
| | | vo.setCustodyPersonPhone(map.get(21)); |
| | | vo.setCustodyAddress(map.get(22)); |
| | | vo.setHelpPerson(map.get(23)); |
| | | vo.setHelpPersonPhone(map.get(24)); |
| | | vo.setHelpMethod(map.get(25)); |
| | | vo.setHelpSituation(map.get(26)); |
| | | vo.setIsCrime(map.get(27)); |
| | | vo.setCrimeSutiation(map.get(28)); |
| | | } |
| | | |
| | | private String convertMarriage(String ma) { |
| | |
| | | package com.panzhihua.common.listen; |
| | | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.alibaba.excel.EasyExcel; |
| | | import com.alibaba.excel.ExcelWriter; |
| | | import com.alibaba.excel.context.AnalysisContext; |
| | |
| | | |
| | | int index = 2; |
| | | try { |
| | | String[] parsePatterns = new String[]{"yyyy-MM-dd", "yyyy-M-dd", "yyyy-MM-d", "yyyy-M-d", "yyyy/MM/dd", "yyyy/M/dd", "yyyy/MM/d", "yyyy/M/d"}; |
| | | ArrayList<ComMngPopulationRehabilitationExcelVO> voList = Lists.newArrayList(); |
| | | // List<ComMngPopulationImportErrorVO> populationImportErrorVOList = new ArrayList<>(); |
| | | ArrayList<ComMngPopulationRehabilitationMistakeExcelVO> mistakes = Lists.newArrayList(); |
| | |
| | | vo.setIsRehab(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | vo.setRemark(oneData.get(21).trim()); |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(21)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationRehabilitationMistakeExcelVO mistake = new ComMngPopulationRehabilitationMistakeExcelVO(); |
| | | index++; |
| | | setRehabilitationMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否累惯犯有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsRecidivist(isOk); |
| | | }else { |
| | | vo.setIsRecidivist(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(22))){ |
| | | vo.setOriginalTerm(oneData.get(22).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(23))){ |
| | | vo.setSentenceBegin(DateUtil.parse(oneData.get(23).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(24))){ |
| | | vo.setOriginalCharge(oneData.get(24).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(25))){ |
| | | vo.setSentenceEnd(DateUtil.parse(oneData.get(25).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(26))){ |
| | | vo.setSentencePlace(oneData.get(26).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(27))){ |
| | | vo.setRiskAssessment(oneData.get(27).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(28))){ |
| | | vo.setJoinDate(DateUtil.parse(oneData.get(28).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(29))){ |
| | | vo.setJoinSituation(oneData.get(29).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(30))){ |
| | | Integer isOk = PopulHouseUseEnum.getCodeByName(oneData.get(30)); |
| | | if(isOk.equals(-1)){ |
| | | ComMngPopulationRehabilitationMistakeExcelVO mistake = new ComMngPopulationRehabilitationMistakeExcelVO(); |
| | | index++; |
| | | setRehabilitationMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的是否重新犯罪有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setIsAgainCrime(isOk); |
| | | }else { |
| | | vo.setIsAgainCrime(PopulHouseUseEnum.getCodeByName("否")); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(31))){ |
| | | vo.setAgainCrimeName(oneData.get(31).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(32))){ |
| | | vo.setPlaceSituation(oneData.get(32).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(33))){ |
| | | vo.setPlaceDate(DateUtil.parse(oneData.get(33).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(34))){ |
| | | vo.setNotPlaceReason(oneData.get(34).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(35))){ |
| | | vo.setHelpBegin(DateUtil.parse(oneData.get(35).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(36))){ |
| | | vo.setHelpEnd(DateUtil.parse(oneData.get(36).trim())); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(37))){ |
| | | vo.setHelpSituation(oneData.get(37).trim()); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(38))){ |
| | | vo.setRemark(oneData.get(38).trim()); |
| | | } |
| | | vo.getUserTagStr().add("刑满释放"); |
| | | for (int i = 22; i < headSize; i++) { |
| | | for (int i = 39; i < headSize; i++) { |
| | | if (oneData.get(i) != null && oneData.get(i).equals("是")) { |
| | | vo.getUserTagStr().add(headData.get(i).substring(0,headData.get(i).indexOf("("))); |
| | | } |
| | |
| | | vo.setPatientRelation(map.get(18)); |
| | | vo.setRehabReasonAndType(map.get(19)); |
| | | vo.setIsRehab(map.get(20)); |
| | | vo.setRemark(map.get(21)); |
| | | vo.setIsRecidivist(map.get(21)); |
| | | vo.setOriginalTerm(map.get(22)); |
| | | vo.setSentenceBegin(map.get(23)); |
| | | vo.setOriginalCharge(map.get(24)); |
| | | vo.setSentenceEnd(map.get(25)); |
| | | vo.setSentencePlace(map.get(26)); |
| | | vo.setRiskAssessment(map.get(27)); |
| | | vo.setJoinDate(map.get(28)); |
| | | vo.setJoinSituation(map.get(29)); |
| | | vo.setIsAgainCrime(map.get(30)); |
| | | vo.setAgainCrimeName(map.get(31)); |
| | | vo.setPlaceSituation(map.get(32)); |
| | | vo.setPlaceDate(map.get(33)); |
| | | vo.setNotPlaceReason(map.get(34)); |
| | | vo.setHelpBegin(map.get(35)); |
| | | vo.setHelpEnd(map.get(36)); |
| | | vo.setHelpSituation(map.get(37)); |
| | | vo.setRemark(map.get(38)); |
| | | } |
| | | |
| | | private R mistakeExportPopulation(List<ComMngPopulationMistakeExcelVO> vo) { |
| | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationVeteransExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationVeteransMistakeExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationVeteransExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationVeteransMistakeExcelVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.utlis.ListUtils; |
| | | import com.panzhihua.common.utlis.PayUtil; |
| | |
| | | import org.springframework.data.redis.core.StringRedisTemplate; |
| | | import org.springframework.data.redis.core.ValueOperations; |
| | | |
| | | import java.text.ParseException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | vo.setControlStatus(isOk); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(19))){ |
| | | vo.setEnlistDate(DateUtil.parse(oneData.get(19))); |
| | | vo.setEnlistDate(DateUtil.parse(oneData.get(19), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(20))){ |
| | | vo.setRetireDate(DateUtil.parse(oneData.get(20))); |
| | | vo.setRetireDate(DateUtil.parse(oneData.get(20), parsePatterns)); |
| | | } |
| | | if(StringUtils.isNotEmpty(oneData.get(21))){ |
| | | vo.setPersonCategory(oneData.get(21).trim()); |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:57:35 |
| | | * @describe 社区矫正人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("吸毒人员表") |
| | | @EncryptDecryptClass |
| | | public class ComCorrectPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("社区矫正人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 矫正类别 |
| | | */ |
| | | @ApiModelProperty("矫正类别") |
| | | private String correctType; |
| | | |
| | | /** |
| | | * 矫正开始时间 |
| | | */ |
| | | @ApiModelProperty("矫正开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date correctBegin; |
| | | |
| | | /** |
| | | * 矫正结束时间 |
| | | */ |
| | | @ApiModelProperty("矫正结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date correctEnd; |
| | | |
| | | /** |
| | | * 接收方式 |
| | | */ |
| | | @ApiModelProperty("接收方式") |
| | | private String receiveMethod; |
| | | |
| | | /** |
| | | * 是否累惯犯(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否累惯犯(1.是 0.否)") |
| | | private Integer isRecidivist; |
| | | |
| | | /** |
| | | * 四史情况 |
| | | */ |
| | | @ApiModelProperty("四史情况") |
| | | private String fourHistory; |
| | | |
| | | /** |
| | | * 三涉情况 |
| | | */ |
| | | @ApiModelProperty("三涉情况") |
| | | private String threeInvovle; |
| | | |
| | | /** |
| | | * 是否建立矫正小组(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否建立矫正小组(1.是 0.否)") |
| | | private Integer isCorrectGroup; |
| | | |
| | | /** |
| | | * 矫正小组人员组成情况 |
| | | */ |
| | | @ApiModelProperty("矫正小组人员组成情况") |
| | | private String correctGroupConstitute; |
| | | |
| | | /** |
| | | * 矫正解除(终止)类型 |
| | | */ |
| | | @ApiModelProperty("矫正解除(终止)类型") |
| | | private String correctRelieveType; |
| | | |
| | | /** |
| | | * 是否有脱管(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否有脱管(1.是 0.否)") |
| | | private Integer isOutControl; |
| | | |
| | | /** |
| | | * 脱管原因 |
| | | */ |
| | | @ApiModelProperty("脱管原因") |
| | | private String outControlReason; |
| | | |
| | | /** |
| | | * 脱管纠正情况 |
| | | */ |
| | | @ApiModelProperty("脱管纠正情况") |
| | | private String outControlCorrect; |
| | | |
| | | /** |
| | | * 检察监督脱管情况 |
| | | */ |
| | | @ApiModelProperty("检察监督脱管情况") |
| | | private String inspectOutControl; |
| | | |
| | | /** |
| | | * 是否有漏管(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否有漏管(1.是 0.否)") |
| | | private Integer isMissControl; |
| | | |
| | | /** |
| | | * 漏管原因 |
| | | */ |
| | | @ApiModelProperty("漏管原因") |
| | | private String missControlReason; |
| | | |
| | | /** |
| | | * 漏管纠正情况 |
| | | */ |
| | | @ApiModelProperty("漏管纠正情况") |
| | | private String missControlCorrect; |
| | | |
| | | /** |
| | | * 检察监督漏管 |
| | | */ |
| | | @ApiModelProperty("检察监督漏管") |
| | | private String inspectMissControl; |
| | | |
| | | /** |
| | | * 奖惩情况 |
| | | */ |
| | | @ApiModelProperty("奖惩情况") |
| | | private String rewardAndPunishiment; |
| | | |
| | | /** |
| | | * 是否重新犯罪(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否重新犯罪(1.是 0.否)") |
| | | private Integer isAgainCrime; |
| | | |
| | | /** |
| | | * 重新犯罪名称 |
| | | */ |
| | | @ApiModelProperty("重新犯罪名称") |
| | | private String againCrimeName; |
| | | |
| | | /** |
| | | * 刑罚变更执行情况 |
| | | */ |
| | | @ApiModelProperty("刑罚变更执行情况") |
| | | private String pubishmentChange; |
| | | |
| | | /** |
| | | * 案件类别 |
| | | */ |
| | | @ApiModelProperty("案件类别") |
| | | private String caseType; |
| | | |
| | | /** |
| | | * 具体罪名 |
| | | */ |
| | | @ApiModelProperty("具体罪名") |
| | | private String specificCharge; |
| | | |
| | | /** |
| | | * 原判刑期 |
| | | */ |
| | | @ApiModelProperty("原判刑期") |
| | | private String originalTerm; |
| | | |
| | | /** |
| | | * 原判刑开始日期 |
| | | */ |
| | | @ApiModelProperty("原判刑开始日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date originalTermBegin; |
| | | |
| | | /** |
| | | * 原判刑结束日期 |
| | | */ |
| | | @ApiModelProperty("原判刑结束日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date originalTermEnd; |
| | | |
| | | /** |
| | | * 学历 |
| | | */ |
| | | @ApiModelProperty("学历") |
| | | private Integer cultureLevel; |
| | | |
| | | /** |
| | | * 社区矫正人员编号 |
| | | */ |
| | | @ApiModelProperty("社区矫正人员编号") |
| | | private String correctPersonCode; |
| | | |
| | | /** |
| | | * 原羁押场所 |
| | | */ |
| | | @ApiModelProperty("原羁押场所") |
| | | private String originalCustodyplace; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:58:07 |
| | | * @describe 邪教人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("邪教人员表") |
| | | @EncryptDecryptClass |
| | | public class ComCultPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("邪教矫正人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 邪教名称 |
| | | */ |
| | | @ApiModelProperty("邪教名称") |
| | | private String cultName; |
| | | |
| | | /** |
| | | * 基本情况(参加邪教的活动情况) |
| | | */ |
| | | @ApiModelProperty("基本情况(参加邪教的活动情况)") |
| | | private String basicSituation; |
| | | |
| | | /** |
| | | * 参加邪教时间 |
| | | */ |
| | | @ApiModelProperty("参加邪教时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date joinCultDate; |
| | | |
| | | /** |
| | | * 是否对外宣传(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否对外宣传(1.是 0.否)") |
| | | private Integer isExternalPublicity; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:48:22 |
| | | * @describe 实有人口导入》残疾人表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("残疾人表") |
| | | @EncryptDecryptClass |
| | | public class ComDisabilityPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("残疾人id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 办证状况 |
| | | */ |
| | | @ApiModelProperty("办证状况") |
| | | private String certificateSituation; |
| | | |
| | | /** |
| | | * 残疾类别 |
| | | */ |
| | | @ApiModelProperty("残疾类别") |
| | | private String disType; |
| | | |
| | | /** |
| | | * 残疾等级 |
| | | */ |
| | | @ApiModelProperty("残疾等级") |
| | | private String disLevel; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:57:18 |
| | | * @describe 吸毒人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("吸毒人员表") |
| | | @EncryptDecryptClass |
| | | public class ComDrugPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("吸毒人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | @ApiModelProperty("身份证号码") |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 初次发现日期 |
| | | */ |
| | | @ApiModelProperty("初次发现日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date firstDate; |
| | | |
| | | /** |
| | | * 管控情况 |
| | | */ |
| | | @ApiModelProperty("管控情况") |
| | | private String controlSituation; |
| | | |
| | | /** |
| | | * 管控人姓名 |
| | | */ |
| | | @ApiModelProperty("管控人姓名") |
| | | private String controlPerson; |
| | | |
| | | /** |
| | | * 管控人联系方式 |
| | | */ |
| | | @ApiModelProperty("管控人联系方式") |
| | | private String controlPersonPhone; |
| | | |
| | | /** |
| | | * 帮扶情况 |
| | | */ |
| | | @ApiModelProperty("帮扶情况") |
| | | private String helpSituation; |
| | | |
| | | /** |
| | | * 帮扶人姓名 |
| | | */ |
| | | @ApiModelProperty("帮扶人姓名") |
| | | private String helpPerson; |
| | | |
| | | /** |
| | | * 帮扶人联系方式 |
| | | */ |
| | | @ApiModelProperty("帮扶人联系方式") |
| | | private String helpPersonPhone; |
| | | |
| | | /** |
| | | * 吸毒原因 |
| | | */ |
| | | @ApiModelProperty("吸毒原因") |
| | | private String drugReason; |
| | | |
| | | /** |
| | | * 吸毒后果 |
| | | */ |
| | | @ApiModelProperty("吸毒后果") |
| | | private String drugResult; |
| | | |
| | | /** |
| | | * 有无犯罪史 |
| | | */ |
| | | @ApiModelProperty("有无犯罪史") |
| | | private String haveCrime; |
| | | |
| | | /** |
| | | * 违法犯罪情况 |
| | | */ |
| | | @ApiModelProperty("违法犯罪情况") |
| | | private String crimeSutiation; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:05 |
| | | * @describe 实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("重点上访人员表") |
| | | @EncryptDecryptClass |
| | | public class ComKeyPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("重点上访人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:48:38 |
| | | * @describe 实有人口导入》低保户人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("低保户人员表") |
| | | @EncryptDecryptClass |
| | | public class ComLowSecurityPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("低保户人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 地区 |
| | | */ |
| | | @ApiModelProperty("地区") |
| | | private String region; |
| | | |
| | | /** |
| | | * 家庭编码 |
| | | */ |
| | | @ApiModelProperty("家庭编码") |
| | | private String familyCode; |
| | | |
| | | /** |
| | | * 组名称 |
| | | */ |
| | | @ApiModelProperty("组名称") |
| | | private String groupName; |
| | | |
| | | /** |
| | | * 分类救助类别 |
| | | */ |
| | | @ApiModelProperty("分类救助类别") |
| | | private String classifiedRescueCategory; |
| | | |
| | | /** |
| | | * 申请日期 |
| | | */ |
| | | @ApiModelProperty("申请日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date applyDate; |
| | | |
| | | /** |
| | | * 户主姓名 |
| | | */ |
| | | @ApiModelProperty("户主姓名") |
| | | private String houseHolderName; |
| | | |
| | | /** |
| | | * 户主身份证 |
| | | */ |
| | | @ApiModelProperty("户主身份证") |
| | | private String houseHolderCardNo; |
| | | |
| | | /** |
| | | * 户主编码 |
| | | */ |
| | | @ApiModelProperty("户主编码") |
| | | private String houseHolderCode; |
| | | |
| | | /** |
| | | * 居住地邮编 |
| | | */ |
| | | @ApiModelProperty("居住地邮编") |
| | | private String residencePostalCode; |
| | | |
| | | /** |
| | | * 救助证号 |
| | | */ |
| | | @ApiModelProperty("救助证号") |
| | | private String salvageCertificateNo; |
| | | |
| | | /** |
| | | * 保障人口数 |
| | | */ |
| | | @ApiModelProperty("保障人口数") |
| | | private Integer guaranteedPopulationNumber; |
| | | |
| | | /** |
| | | * 家庭人口数 |
| | | */ |
| | | @ApiModelProperty("家庭人口数") |
| | | private Integer familyPopulationNumber; |
| | | |
| | | /** |
| | | * 开户人 |
| | | */ |
| | | @ApiModelProperty("开户人") |
| | | private String accountPerson; |
| | | |
| | | /** |
| | | * 开户银行 |
| | | */ |
| | | @ApiModelProperty("开户银行") |
| | | private String accountBank; |
| | | |
| | | /** |
| | | * 开户人身份证号 |
| | | */ |
| | | @ApiModelProperty("开户人身份证号") |
| | | private String accountCardNo; |
| | | |
| | | /** |
| | | * 银行账号 |
| | | */ |
| | | @ApiModelProperty("银行账号") |
| | | private String bankAccount; |
| | | |
| | | /** |
| | | * 供养机构 |
| | | */ |
| | | @ApiModelProperty("供养机构") |
| | | private String supportInstitutions; |
| | | |
| | | /** |
| | | * 资金发放方式 |
| | | */ |
| | | @ApiModelProperty("资金发放方式") |
| | | private String distributionMethod; |
| | | |
| | | /** |
| | | * 保障金额 |
| | | */ |
| | | @ApiModelProperty("保障金额") |
| | | private BigDecimal guaranteedAmount; |
| | | |
| | | /** |
| | | * 调剂金额 |
| | | */ |
| | | @ApiModelProperty("调剂金额") |
| | | private BigDecimal reallocationAmount; |
| | | |
| | | /** |
| | | * 差额救助金额 |
| | | */ |
| | | @ApiModelProperty("差额救助金额") |
| | | private BigDecimal differenceReliefAmount; |
| | | |
| | | /** |
| | | * 分类施保金额 |
| | | */ |
| | | @ApiModelProperty("分类施保金额") |
| | | private BigDecimal classifiedInsuredAmount; |
| | | |
| | | /** |
| | | * 家庭月总收入 |
| | | */ |
| | | @ApiModelProperty("家庭月总收入") |
| | | private BigDecimal totalMonthlyFamilyIncome; |
| | | |
| | | /** |
| | | * 家庭月均收入 |
| | | */ |
| | | @ApiModelProperty("家庭月均收入") |
| | | private BigDecimal averageMonthlyFamilyIncome; |
| | | |
| | | /** |
| | | * 家庭月支出 |
| | | */ |
| | | @ApiModelProperty("家庭月支出") |
| | | private BigDecimal totalMonthlyFamilyExpenditure; |
| | | |
| | | /** |
| | | * 经度 |
| | | */ |
| | | @ApiModelProperty("经度") |
| | | private String lng; |
| | | |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @ApiModelProperty("纬度") |
| | | private String lat; |
| | | |
| | | /** |
| | | * 始发年月 |
| | | */ |
| | | @ApiModelProperty("始发年月") |
| | | private Date originateDate; |
| | | |
| | | /** |
| | | * 护理费 |
| | | */ |
| | | @ApiModelProperty("护理费") |
| | | private BigDecimal nursingFee; |
| | | |
| | | /** |
| | | * 申请理由 |
| | | */ |
| | | @ApiModelProperty("申请理由") |
| | | private String applyReason; |
| | | |
| | | /** |
| | | * 审核意见 |
| | | */ |
| | | @ApiModelProperty("审核意见") |
| | | private String reviewComment; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:57:54 |
| | | * @describe 重精人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("重精人员表") |
| | | @EncryptDecryptClass |
| | | public class ComMajorPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("重精人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 经济状况 |
| | | */ |
| | | @ApiModelProperty("经济状况") |
| | | private String economicCondition; |
| | | |
| | | /** |
| | | * 人员类型 |
| | | */ |
| | | @ApiModelProperty("人员类型") |
| | | private String personType; |
| | | |
| | | /** |
| | | * 家庭情况 |
| | | */ |
| | | @ApiModelProperty("家庭情况") |
| | | private String familySituation; |
| | | |
| | | /** |
| | | * 监护人姓名 |
| | | */ |
| | | @ApiModelProperty("监护人姓名") |
| | | private String custodyPerson; |
| | | |
| | | /** |
| | | * 与监护人关系 |
| | | */ |
| | | @ApiModelProperty("与监护人关系") |
| | | private Integer custodyRelation; |
| | | |
| | | /** |
| | | * 监护人公民身份号码 |
| | | */ |
| | | @ApiModelProperty("监护人公民身份号码") |
| | | private String custodyCardNo; |
| | | |
| | | /** |
| | | * 监护人联系方式 |
| | | */ |
| | | @ApiModelProperty("监护人联系方式") |
| | | private String custodyPersonPhone; |
| | | |
| | | /** |
| | | * 监护人居住详址 |
| | | */ |
| | | @ApiModelProperty("监护人居住详址") |
| | | private String custodyAddress; |
| | | |
| | | /** |
| | | * 帮扶人姓名 |
| | | */ |
| | | @ApiModelProperty("帮扶人姓名") |
| | | private String helpPerson; |
| | | |
| | | /** |
| | | * 帮扶人联系方式 |
| | | */ |
| | | @ApiModelProperty("帮扶人联系方式") |
| | | private String helpPersonPhone; |
| | | |
| | | /** |
| | | * 帮扶手段 |
| | | */ |
| | | @ApiModelProperty("帮扶手段") |
| | | private String helpMethod; |
| | | |
| | | /** |
| | | * 帮扶情况 |
| | | */ |
| | | @ApiModelProperty("帮扶情况") |
| | | private String helpSituation; |
| | | |
| | | /** |
| | | * 是否违法犯罪(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否违法犯罪(1.是 0.否)") |
| | | private Integer isCrime; |
| | | |
| | | /** |
| | | * 违法犯罪情况 |
| | | */ |
| | | @ApiModelProperty("违法犯罪情况") |
| | | private String crimeSutiation; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
| | |
| | | @ExcelProperty(value = "户口所在地", index = 15) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "矫正开始时间", index = 16) |
| | | private Date correctBegin; |
| | | @ExcelProperty(value = "学历", index = 16) |
| | | private Integer cultureLevel; |
| | | |
| | | @ExcelProperty(value = "矫正结束时间", index = 17) |
| | | private Date correctEnd; |
| | | @ExcelProperty(value = "社区矫正人员编号", index = 17) |
| | | private String correctPersonCode; |
| | | |
| | | @ExcelProperty(value = "矫正类型", index = 18) |
| | | @ExcelProperty(value = "原羁押场所", index = 18) |
| | | private String originalCustodyplace; |
| | | |
| | | @ExcelProperty(value = "矫正类别", index = 19) |
| | | private String correctType; |
| | | |
| | | @ExcelProperty(value = "罪名", index = 19) |
| | | private String charges; |
| | | @ExcelProperty(value = "案件类别", index = 20) |
| | | private String caseType; |
| | | |
| | | @ExcelProperty(value = "罪名", index = 20) |
| | | @ExcelProperty(value = "具体罪名", index = 21) |
| | | private String specificCharge; |
| | | |
| | | @ExcelProperty(value = "原判刑期", index = 22) |
| | | private String originalTerm; |
| | | |
| | | @ExcelProperty(value = "原判刑开始日期", index = 23) |
| | | private Date originalTermBegin; |
| | | |
| | | @ExcelProperty(value = "原判刑结束日期", index = 24) |
| | | private Date originalTermEnd; |
| | | |
| | | @ExcelProperty(value = "矫正开始时间", index = 25) |
| | | private Date correctBegin; |
| | | |
| | | @ExcelProperty(value = "矫正结束时间", index = 26) |
| | | private Date correctEnd; |
| | | |
| | | @ExcelProperty(value = "接收方式", index = 27) |
| | | private String receiveMethod; |
| | | |
| | | @ExcelProperty(value = "是否累惯犯(1.是 0.否)", index = 28) |
| | | private Integer isRecidivist; |
| | | |
| | | @ExcelProperty(value = "四史情况", index = 29) |
| | | private String fourHistory; |
| | | |
| | | @ExcelProperty(value = "三涉情况", index = 30) |
| | | private String threeInvovle; |
| | | |
| | | @ExcelProperty(value = "是否建立矫正小组(1.是 0.否)", index = 31) |
| | | private Integer isCorrectGroup; |
| | | |
| | | @ExcelProperty(value = "矫正小组人员组成情况", index = 32) |
| | | private String correctGroupConstitute; |
| | | |
| | | @ExcelProperty(value = "矫正解除(终止)类型", index = 33) |
| | | private String correctRelieveType; |
| | | |
| | | @ExcelProperty(value = "是否有脱管(1.是 0.否)", index = 34) |
| | | private Integer isOutControl; |
| | | |
| | | @ExcelProperty(value = "脱管原因", index = 35) |
| | | private String outControlReason; |
| | | |
| | | @ExcelProperty(value = "脱管纠正情况", index = 36) |
| | | private String outControlCorrect; |
| | | |
| | | @ExcelProperty(value = "检察监督脱管情况", index = 37) |
| | | private String inspectOutControl; |
| | | |
| | | @ExcelProperty(value = "是否有漏管(1.是 0.否)", index = 38) |
| | | private Integer isMissControl; |
| | | |
| | | @ExcelProperty(value = "漏管原因", index = 39) |
| | | private String missControlReason; |
| | | |
| | | @ExcelProperty(value = "漏管纠正情况", index = 40) |
| | | private String missControlCorrect; |
| | | |
| | | @ExcelProperty(value = "检察监督漏管", index = 41) |
| | | private String inspectMissControl; |
| | | |
| | | @ExcelProperty(value = "奖惩情况", index = 42) |
| | | private String rewardAndPunishiment; |
| | | |
| | | @ExcelProperty(value = "是否重新犯罪(1.是 0.否)", index = 43) |
| | | private Integer isAgainCrime; |
| | | |
| | | @ExcelProperty(value = "重新犯罪名称", index = 44) |
| | | private String againCrimeName; |
| | | |
| | | @ExcelProperty(value = "刑罚变更执行情况", index = 45) |
| | | private String pubishmentChange; |
| | | |
| | | @ExcelProperty(value = "备注", index = 46) |
| | | private String remark; |
| | | |
| | | |
| | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @description: 批量导入社区矫正人员 |
| | |
| | | @ExcelProperty(value = "户口所在地", index = 15) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "矫正开始时间", index = 16) |
| | | private String correctBegin; |
| | | @ExcelProperty(value = "学历", index = 16) |
| | | private String cultureLevel; |
| | | |
| | | @ExcelProperty(value = "矫正结束时间", index = 17) |
| | | private String correctEnd; |
| | | @ExcelProperty(value = "社区矫正人员编号", index = 17) |
| | | private String correctPersonCode; |
| | | |
| | | @ExcelProperty(value = "矫正类型", index = 18) |
| | | @ExcelProperty(value = "原羁押场所", index = 18) |
| | | private String originalCustodyplace; |
| | | |
| | | @ExcelProperty(value = "矫正类别", index = 19) |
| | | private String correctType; |
| | | |
| | | @ExcelProperty(value = "罪名", index = 19) |
| | | private String charges; |
| | | @ExcelProperty(value = "案件类别", index = 20) |
| | | private String caseType; |
| | | |
| | | @ExcelProperty(value = "备注", index = 20) |
| | | @ExcelProperty(value = "具体罪名", index = 21) |
| | | private String specificCharge; |
| | | |
| | | @ExcelProperty(value = "原判刑期", index = 22) |
| | | private String originalTerm; |
| | | |
| | | @ExcelProperty(value = "原判刑开始日期", index = 23) |
| | | private String originalTermBegin; |
| | | |
| | | @ExcelProperty(value = "原判刑结束日期", index = 24) |
| | | private String originalTermEnd; |
| | | |
| | | @ExcelProperty(value = "矫正开始时间", index = 25) |
| | | private String correctBegin; |
| | | |
| | | @ExcelProperty(value = "矫正结束时间", index = 26) |
| | | private String correctEnd; |
| | | |
| | | @ExcelProperty(value = "接收方式", index = 27) |
| | | private String receiveMethod; |
| | | |
| | | @ExcelProperty(value = "是否累惯犯(1.是 0.否)", index = 28) |
| | | private String isRecidivist; |
| | | |
| | | @ExcelProperty(value = "四史情况", index = 29) |
| | | private String fourHistory; |
| | | |
| | | @ExcelProperty(value = "三涉情况", index = 30) |
| | | private String threeInvovle; |
| | | |
| | | @ExcelProperty(value = "是否建立矫正小组(1.是 0.否)", index = 31) |
| | | private String isCorrectGroup; |
| | | |
| | | @ExcelProperty(value = "矫正小组人员组成情况", index = 32) |
| | | private String correctGroupConstitute; |
| | | |
| | | @ExcelProperty(value = "矫正解除(终止)类型", index = 33) |
| | | private String correctRelieveType; |
| | | |
| | | @ExcelProperty(value = "是否有脱管(1.是 0.否)", index = 34) |
| | | private String isOutControl; |
| | | |
| | | @ExcelProperty(value = "脱管原因", index = 35) |
| | | private String outControlReason; |
| | | |
| | | @ExcelProperty(value = "脱管纠正情况", index = 36) |
| | | private String outControlCorrect; |
| | | |
| | | @ExcelProperty(value = "检察监督脱管情况", index = 37) |
| | | private String inspectOutControl; |
| | | |
| | | @ExcelProperty(value = "是否有漏管(1.是 0.否)", index = 38) |
| | | private String isMissControl; |
| | | |
| | | @ExcelProperty(value = "漏管原因", index = 39) |
| | | private String missControlReason; |
| | | |
| | | @ExcelProperty(value = "漏管纠正情况", index = 40) |
| | | private String missControlCorrect; |
| | | |
| | | @ExcelProperty(value = "检察监督漏管", index = 41) |
| | | private String inspectMissControl; |
| | | |
| | | @ExcelProperty(value = "奖惩情况", index = 42) |
| | | private String rewardAndPunishiment; |
| | | |
| | | @ExcelProperty(value = "是否重新犯罪(1.是 0.否)", index = 43) |
| | | private String isAgainCrime; |
| | | |
| | | @ExcelProperty(value = "重新犯罪名称", index = 44) |
| | | private String againCrimeName; |
| | | |
| | | @ExcelProperty(value = "刑罚变更执行情况", index = 45) |
| | | private String pubishmentChange; |
| | | |
| | | @ExcelProperty(value = "备注", index = 46) |
| | | private String remark; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 21) |
| | | @ExcelProperty(value = "错误信息", index = 47) |
| | | private String mistake; |
| | | } |
| | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "户口所在地", index = 18) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "邪教名称", index = 19) |
| | | @ExcelProperty(value = "邪教名称(涉邪组织)", index = 19) |
| | | private String cultName; |
| | | |
| | | @ExcelProperty(value = "基本情况", index = 20) |
| | | @ExcelProperty(value = "基本情况(参加邪教的活动情况)", index = 20) |
| | | private String basicSituation; |
| | | |
| | | @ExcelProperty(value = "备注", index = 21) |
| | | @ExcelProperty(value = "参加邪教时间", index = 21) |
| | | private Date joinCultDate; |
| | | |
| | | @ExcelProperty(value = "是否对外宣传(1.是 0.否)", index = 22) |
| | | private Integer isExternalPublicity; |
| | | |
| | | @ExcelProperty(value = "备注", index = 23) |
| | | private String remark; |
| | | |
| | | |
| | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "户口所在地", index = 18) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "邪教名称", index = 19) |
| | | @ExcelProperty(value = "邪教名称(涉邪组织)", index = 19) |
| | | private String cultName; |
| | | |
| | | @ExcelProperty(value = "基本情况", index = 20) |
| | | @ExcelProperty(value = "基本情况(参加邪教的活动情况)", index = 20) |
| | | private String basicSituation; |
| | | |
| | | @ExcelProperty(value = "备注", index = 21) |
| | | @ExcelProperty(value = "参加邪教时间)", index = 21) |
| | | private String joinCultDate; |
| | | |
| | | @ExcelProperty(value = "是否对外宣传(1.是 0.否)", index = 22) |
| | | private String isExternalPublicity; |
| | | |
| | | @ExcelProperty(value = "备注", index = 23) |
| | | private String remark; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 22) |
| | | @ExcelProperty(value = "错误信息", index = 24) |
| | | private String mistake; |
| | | } |
| | |
| | | @ExcelProperty(value = "户口所在地", index = 15) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "备注", index = 16) |
| | | @ExcelProperty(value = "初次发现日期", index = 16) |
| | | private Date firstDate; |
| | | |
| | | @ExcelProperty(value = "管控情况", index = 17) |
| | | private String controlSituation; |
| | | |
| | | @ExcelProperty(value = "管控人姓名", index = 18) |
| | | private String controlPerson; |
| | | |
| | | @ExcelProperty(value = "管控人联系方式", index = 19) |
| | | private String controlPersonPhone; |
| | | |
| | | @ExcelProperty(value = "帮扶情况", index = 20) |
| | | private String helpSituation; |
| | | |
| | | @ExcelProperty(value = "帮扶人姓名", index = 21) |
| | | private String helpPerson; |
| | | |
| | | @ExcelProperty(value = "帮扶人联系方式", index = 22) |
| | | private String helpPersonPhone; |
| | | |
| | | @ExcelProperty(value = "吸毒原因", index = 23) |
| | | private String drugReason; |
| | | |
| | | @ExcelProperty(value = "吸毒后果", index = 24) |
| | | private String drugResult; |
| | | |
| | | @ExcelProperty(value = "有无犯罪史", index = 25) |
| | | private String haveCrime; |
| | | |
| | | @ExcelProperty(value = "违法犯罪情况", index = 26) |
| | | private String crimeSutiation; |
| | | |
| | | @ExcelProperty(value = "备注", index = 27) |
| | | private String remark; |
| | | |
| | | |
| | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "户口所在地", index = 15) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "备注", index = 16) |
| | | @ExcelProperty(value = "初次发现日期", index = 16) |
| | | private String firstDate; |
| | | |
| | | @ExcelProperty(value = "管控情况", index = 17) |
| | | private String controlSituation; |
| | | |
| | | @ExcelProperty(value = "管控人姓名", index = 18) |
| | | private String controlPerson; |
| | | |
| | | @ExcelProperty(value = "管控人联系方式", index = 19) |
| | | private String controlPersonPhone; |
| | | |
| | | @ExcelProperty(value = "帮扶情况", index = 20) |
| | | private String helpSituation; |
| | | |
| | | @ExcelProperty(value = "帮扶人姓名", index = 21) |
| | | private String helpPerson; |
| | | |
| | | @ExcelProperty(value = "帮扶人联系方式", index = 22) |
| | | private String helpPersonPhone; |
| | | |
| | | @ExcelProperty(value = "吸毒原因", index = 23) |
| | | private String drugReason; |
| | | |
| | | @ExcelProperty(value = "吸毒后果", index = 24) |
| | | private String drugResult; |
| | | |
| | | @ExcelProperty(value = "有无犯罪史", index = 25) |
| | | private String haveCrime; |
| | | |
| | | @ExcelProperty(value = "违法犯罪情况", index = 26) |
| | | private String crimeSutiation; |
| | | |
| | | @ExcelProperty(value = "备注", index = 27) |
| | | private String remark; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 17) |
| | | @ExcelProperty(value = "错误信息", index = 28) |
| | | private String mistake; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.google.common.collect.Lists; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @description: 批量导入低保户 |
| | | * @author: txb |
| | | */ |
| | | @Data |
| | | @EncryptDecryptClass |
| | | public class ComMngPopulationLowSecurityExcelVO implements Serializable { |
| | | |
| | | @ExcelProperty(value = "序号", index = 0) |
| | | private String serialNumber; |
| | | |
| | | @ExcelProperty(value = "姓名", index = 1) |
| | | private String name; |
| | | |
| | | @ExcelProperty(value = "身份证号码", index = 2) |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | @ExcelProperty(value = "联系电话", index = 3) |
| | | private String phone; |
| | | |
| | | @ExcelProperty(value = "地区", index = 4) |
| | | private String region; |
| | | |
| | | @ExcelProperty(value = "家庭编码", index = 5) |
| | | private String familyCode; |
| | | |
| | | @ExcelProperty(value = "组名称" ,index = 6) |
| | | private String groupName; |
| | | |
| | | @ExcelProperty(value = "分类救助类别", index = 7) |
| | | private String classifiedRescueCategory; |
| | | |
| | | @ExcelProperty(value = "申请日期", index = 8) |
| | | private Date applyDate; |
| | | |
| | | @ExcelProperty(value = "户主姓名", index = 9) |
| | | private String houseHolderName; |
| | | |
| | | @ExcelProperty(value = "户主身份证", index = 10) |
| | | private String houseHolderCardNo; |
| | | |
| | | @ExcelProperty(value = "户主编码", index = 11) |
| | | private String houseHolderCode; |
| | | |
| | | @ExcelProperty(value = "街/路/巷", index = 12) |
| | | private String road; |
| | | |
| | | @ExcelProperty(value = "小区号", index = 13) |
| | | private String doorNo; |
| | | |
| | | @ExcelProperty(value = "楼排号", index = 14) |
| | | private String floor; |
| | | |
| | | @ExcelProperty(value = "单元号", index = 15) |
| | | private String unitNo; |
| | | |
| | | @ExcelProperty(value = "户室(房间号)", index = 16) |
| | | private String houseNo; |
| | | |
| | | @ExcelProperty(value = "是否租住", index = 17) |
| | | private Integer isRent; |
| | | |
| | | @ExcelProperty(value = "房屋状态(1.自住 2.租住 3.其他)", index = 18) |
| | | private Integer houseStatus; |
| | | |
| | | @ExcelProperty(value = "房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)", index = 19) |
| | | private Integer housePurpose; |
| | | |
| | | @ExcelProperty(value = "管控状态(1.常规 2.关注 3.管控)", index = 20) |
| | | private Integer controlStatus; |
| | | |
| | | @ExcelProperty(value = "外地/本地(1.本地 2.外地)", index = 21) |
| | | private Integer outOrLocal; |
| | | |
| | | @ExcelProperty(value = "户口所在地", index = 22) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "居住地邮编", index = 23) |
| | | private String residencePostalCode; |
| | | |
| | | @ExcelProperty(value = "救助证号", index = 24) |
| | | private String salvageCertificateNo; |
| | | |
| | | @ExcelProperty(value = "保障人口数", index = 25) |
| | | private Integer guaranteedPopulationNumber; |
| | | |
| | | @ExcelProperty(value = "家庭人口数", index = 26) |
| | | private Integer familyPopulationNumber; |
| | | |
| | | @ExcelProperty(value = "开户人", index = 27) |
| | | private String accountPerson; |
| | | |
| | | @ExcelProperty(value = "开户银行", index = 28) |
| | | private String accountBank; |
| | | |
| | | @ExcelProperty(value = "开户人身份证号", index = 29) |
| | | private String accountCardNo; |
| | | |
| | | @ExcelProperty(value = "银行账号", index = 30) |
| | | private String bankAccount; |
| | | |
| | | @ExcelProperty(value = "供养机构", index = 31) |
| | | private String supportInstitutions; |
| | | |
| | | @ExcelProperty(value = "资金发放方式", index = 32) |
| | | private String distributionMethod; |
| | | |
| | | @ExcelProperty(value = "保障金额", index = 33) |
| | | private BigDecimal guaranteedAmount; |
| | | |
| | | @ExcelProperty(value = "调剂金额", index = 34) |
| | | private BigDecimal reallocationAmount; |
| | | |
| | | @ExcelProperty(value = "差额救助金额", index = 35) |
| | | private BigDecimal differenceReliefAmount; |
| | | |
| | | @ExcelProperty(value = "分类施保金额", index = 36) |
| | | private BigDecimal classifiedInsuredAmount; |
| | | |
| | | @ExcelProperty(value = "家庭月总收入", index = 37) |
| | | private BigDecimal totalMonthlyFamilyIncome; |
| | | |
| | | @ExcelProperty(value = "家庭月均收入", index = 38) |
| | | private BigDecimal averageMonthlyFamilyIncome; |
| | | |
| | | @ExcelProperty(value = "家庭月支出", index = 39) |
| | | private BigDecimal totalMonthlyFamilyExpenditure; |
| | | |
| | | @ExcelProperty(value = "经度", index = 40) |
| | | private String lng; |
| | | |
| | | @ExcelProperty(value = "纬度", index = 41) |
| | | private String lat; |
| | | |
| | | @ExcelProperty(value = "始发年月", index = 42) |
| | | private String originateDate; |
| | | |
| | | @ExcelProperty(value = "护理费", index = 43) |
| | | private BigDecimal nursingFee; |
| | | |
| | | @ExcelProperty(value = "申请理由", index = 44) |
| | | private String applyReason; |
| | | |
| | | @ExcelProperty(value = "审核意见", index = 45) |
| | | private String reviewComment; |
| | | |
| | | /** |
| | | * 去重字段,使用(姓名+身份证号+街路巷+小区号+楼牌号+单元号+户室)组合字段进行MD5加密实现去重 |
| | | */ |
| | | private String distinctPass; |
| | | |
| | | /** |
| | | * 年龄 |
| | | */ |
| | | private Integer age; |
| | | |
| | | /** |
| | | * 性别(1.男 2.女) |
| | | */ |
| | | private Integer sex; |
| | | |
| | | /** |
| | | * 出生年月日 |
| | | */ |
| | | private String birthday; |
| | | |
| | | /** |
| | | * 扩展字段用逗号隔开 |
| | | */ |
| | | private List<String> userTagStr = Lists.newArrayList(); |
| | | |
| | | private Long houseId; |
| | | |
| | | /** |
| | | * 地址 |
| | | */ |
| | | private String address; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * @description: 批量导入低保户 |
| | | * @author: txb |
| | | */ |
| | | @Data |
| | | @EncryptDecryptClass |
| | | public class ComMngPopulationLowSecurityMistakeExcelVO implements Serializable { |
| | | |
| | | @ExcelProperty(value = "序号", index = 0) |
| | | private String serialNumber; |
| | | |
| | | @ExcelProperty(value = "姓名", index = 1) |
| | | private String name; |
| | | |
| | | @ExcelProperty(value = "身份证号码", index = 2) |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | @ExcelProperty(value = "联系电话", index = 3) |
| | | private String phone; |
| | | |
| | | @ExcelProperty(value = "地区", index = 4) |
| | | private String region; |
| | | |
| | | @ExcelProperty(value = "家庭编码", index = 5) |
| | | private String familyCode; |
| | | |
| | | @ExcelProperty(value = "组名称" ,index = 6) |
| | | private String groupName; |
| | | |
| | | @ExcelProperty(value = "分类救助类别", index = 7) |
| | | private String classifiedRescueCategory; |
| | | |
| | | @ExcelProperty(value = "申请日期", index = 8) |
| | | private String applyDate; |
| | | |
| | | @ExcelProperty(value = "户主姓名", index = 9) |
| | | private String houseHolderName; |
| | | |
| | | @ExcelProperty(value = "户主身份证", index = 10) |
| | | private String houseHolderCardNo; |
| | | |
| | | @ExcelProperty(value = "户主编码", index = 11) |
| | | private String houseHolderCode; |
| | | |
| | | @ExcelProperty(value = "街/路/巷", index = 12) |
| | | private String road; |
| | | |
| | | @ExcelProperty(value = "小区号", index = 13) |
| | | private String doorNo; |
| | | |
| | | @ExcelProperty(value = "楼排号", index = 14) |
| | | private String floor; |
| | | |
| | | @ExcelProperty(value = "单元号", index = 15) |
| | | private String unitNo; |
| | | |
| | | @ExcelProperty(value = "户室(房间号)", index = 16) |
| | | private String houseNo; |
| | | |
| | | @ExcelProperty(value = "是否租住", index = 17) |
| | | private String isRent; |
| | | |
| | | @ExcelProperty(value = "房屋状态(1.自住 2.租住 3.其他)", index = 18) |
| | | private String houseStatus; |
| | | |
| | | @ExcelProperty(value = "房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)", index = 19) |
| | | private String housePurpose; |
| | | |
| | | @ExcelProperty(value = "管控状态(1.常规 2.关注 3.管控)", index = 20) |
| | | private String controlStatus; |
| | | |
| | | @ExcelProperty(value = "外地/本地(1.本地 2.外地)", index = 21) |
| | | private String outOrLocal; |
| | | |
| | | @ExcelProperty(value = "户口所在地", index = 22) |
| | | private String censusRegister; |
| | | |
| | | @ExcelProperty(value = "居住地邮编", index = 23) |
| | | private String residencePostalCode; |
| | | |
| | | @ExcelProperty(value = "救助证号", index = 24) |
| | | private String salvageCertificateNo; |
| | | |
| | | @ExcelProperty(value = "保障人口数", index = 25) |
| | | private String guaranteedPopulationNumber; |
| | | |
| | | @ExcelProperty(value = "家庭人口数", index = 26) |
| | | private String familyPopulationNumber; |
| | | |
| | | @ExcelProperty(value = "开户人", index = 27) |
| | | private String accountPerson; |
| | | |
| | | @ExcelProperty(value = "开户银行", index = 28) |
| | | private String accountBank; |
| | | |
| | | @ExcelProperty(value = "开户人身份证号", index = 29) |
| | | private String accountCardNo; |
| | | |
| | | @ExcelProperty(value = "银行账号", index = 30) |
| | | private String bankAccount; |
| | | |
| | | @ExcelProperty(value = "供养机构", index = 31) |
| | | private String supportInstitutions; |
| | | |
| | | @ExcelProperty(value = "资金发放方式", index = 32) |
| | | private String distributionMethod; |
| | | |
| | | @ExcelProperty(value = "保障金额", index = 33) |
| | | private String guaranteedAmount; |
| | | |
| | | @ExcelProperty(value = "调剂金额", index = 34) |
| | | private String reallocationAmount; |
| | | |
| | | @ExcelProperty(value = "差额救助金额", index = 35) |
| | | private String differenceReliefAmount; |
| | | |
| | | @ExcelProperty(value = "分类施保金额", index = 36) |
| | | private String classifiedInsuredAmount; |
| | | |
| | | @ExcelProperty(value = "家庭月总收入", index = 37) |
| | | private String totalMonthlyFamilyIncome; |
| | | |
| | | @ExcelProperty(value = "家庭月均收入", index = 38) |
| | | private String averageMonthlyFamilyIncome; |
| | | |
| | | @ExcelProperty(value = "家庭月支出", index = 39) |
| | | private String totalMonthlyFamilyExpenditure; |
| | | |
| | | @ExcelProperty(value = "经度", index = 40) |
| | | private String lng; |
| | | |
| | | @ExcelProperty(value = "纬度", index = 41) |
| | | private String lat; |
| | | |
| | | @ExcelProperty(value = "始发年月", index = 42) |
| | | private String originateDate; |
| | | |
| | | @ExcelProperty(value = "护理费", index = 43) |
| | | private String nursingFee; |
| | | |
| | | @ExcelProperty(value = "申请理由", index = 44) |
| | | private String applyReason; |
| | | |
| | | @ExcelProperty(value = "审核意见", index = 45) |
| | | private String reviewComment; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 46) |
| | | private String mistake; |
| | | } |
| | |
| | | @ExcelProperty(value = "经济状况", index = 15) |
| | | private String economicCondition; |
| | | |
| | | @ExcelProperty(value = "监护人", index = 16) |
| | | private String guarDian; |
| | | @ExcelProperty(value = "人员类型", index = 16) |
| | | private String personType; |
| | | |
| | | @ExcelProperty(value = "监护人联系电话", index = 17) |
| | | private String guarDianPhone; |
| | | @ExcelProperty(value = "家庭情况", index = 17) |
| | | private String familySituation; |
| | | |
| | | @ExcelProperty(value = "与患者关系", index = 18) |
| | | private Integer patientRelation; |
| | | @ExcelProperty(value = "监护人姓名", index = 18) |
| | | private String custodyPerson; |
| | | |
| | | @ExcelProperty(value = "目前诊断", index = 19) |
| | | private String diagnose; |
| | | @ExcelProperty(value = "与监护人关系", index = 19) |
| | | private Integer custodyRelation; |
| | | |
| | | @ExcelProperty(value = "其他", index = 20) |
| | | private String other; |
| | | @ExcelProperty(value = "监护人公民身份号码", index = 20) |
| | | private String custodyCardNo; |
| | | |
| | | @ExcelProperty(value = "监护人联系方式", index = 21) |
| | | private String custodyPersonPhone; |
| | | |
| | | @ExcelProperty(value = "监护人居住详址", index = 22) |
| | | private String custodyAddress; |
| | | |
| | | @ExcelProperty(value = "帮扶人姓名", index = 23) |
| | | private String helpPerson; |
| | | |
| | | @ExcelProperty(value = "帮扶人联系方式", index = 24) |
| | | private String helpPersonPhone; |
| | | |
| | | @ExcelProperty(value = "帮扶手段", index = 25) |
| | | private String helpMethod; |
| | | |
| | | @ExcelProperty(value = "帮扶情况", index = 26) |
| | | private String helpSituation; |
| | | |
| | | @ExcelProperty(value = "是否违法犯罪(1.是 0.否)", index = 27) |
| | | private Integer isCrime; |
| | | |
| | | @ExcelProperty(value = "违法犯罪情况", index = 28) |
| | | private String crimeSutiation; |
| | | |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "经济状况", index = 15) |
| | | private String economicCondition; |
| | | |
| | | @ExcelProperty(value = "监护人", index = 16) |
| | | private String guarDian; |
| | | @ExcelProperty(value = "人员类型", index = 16) |
| | | private String personType; |
| | | |
| | | @ExcelProperty(value = "监护人联系电话", index = 17) |
| | | private String guarDianPhone; |
| | | @ExcelProperty(value = "家庭情况", index = 17) |
| | | private String familySituation; |
| | | |
| | | @ExcelProperty(value = "与患者关系", index = 18) |
| | | private String patientRelation; |
| | | @ExcelProperty(value = "监护人姓名", index = 18) |
| | | private String custodyPerson; |
| | | |
| | | @ExcelProperty(value = "目前诊断", index = 19) |
| | | private String diagnose; |
| | | @ExcelProperty(value = "与监护人关系", index = 19) |
| | | private String custodyRelation; |
| | | |
| | | @ExcelProperty(value = "其他", index = 20) |
| | | private String other; |
| | | @ExcelProperty(value = "监护人公民身份号码", index = 20) |
| | | private String custodyCardNo; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 21) |
| | | @ExcelProperty(value = "监护人联系方式", index = 21) |
| | | private String custodyPersonPhone; |
| | | |
| | | @ExcelProperty(value = "监护人居住详址", index = 22) |
| | | private String custodyAddress; |
| | | |
| | | @ExcelProperty(value = "帮扶人姓名", index = 23) |
| | | private String helpPerson; |
| | | |
| | | @ExcelProperty(value = "帮扶人联系方式", index = 24) |
| | | private String helpPersonPhone; |
| | | |
| | | @ExcelProperty(value = "帮扶手段", index = 25) |
| | | private String helpMethod; |
| | | |
| | | @ExcelProperty(value = "帮扶情况", index = 26) |
| | | private String helpSituation; |
| | | |
| | | @ExcelProperty(value = "是否违法犯罪(1.是 0.否)", index = 27) |
| | | private String isCrime; |
| | | |
| | | @ExcelProperty(value = "违法犯罪情况", index = 28) |
| | | private String crimeSutiation; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 29) |
| | | private String mistake; |
| | | } |
| | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "是否列管", index = 20) |
| | | private Integer isRehab; |
| | | |
| | | @ExcelProperty(value = "备注", index = 21) |
| | | @ExcelProperty(value = "是否累惯犯(1.是 0.否)", index = 21) |
| | | private Integer isRecidivist; |
| | | |
| | | @ExcelProperty(value = "原判刑期", index = 22) |
| | | private String originalTerm; |
| | | |
| | | @ExcelProperty(value = "服刑日期", index = 23) |
| | | private Date sentenceBegin; |
| | | |
| | | @ExcelProperty(value = "原罪名", index = 24) |
| | | private String originalCharge; |
| | | |
| | | @ExcelProperty(value = "释放日期", index = 25) |
| | | private Date sentenceEnd; |
| | | |
| | | @ExcelProperty(value = "服刑场所", index = 26) |
| | | private String sentencePlace; |
| | | |
| | | @ExcelProperty(value = "危险性评估", index = 27) |
| | | private String riskAssessment; |
| | | |
| | | @ExcelProperty(value = "衔接日期", index = 28) |
| | | private Date joinDate; |
| | | |
| | | @ExcelProperty(value = "衔接情况", index = 29) |
| | | private String joinSituation; |
| | | |
| | | @ExcelProperty(value = "是否重新犯罪(1.是 0.否)", index = 30) |
| | | private Integer isAgainCrime; |
| | | |
| | | @ExcelProperty(value = "重新犯罪名称", index = 31) |
| | | private String againCrimeName; |
| | | |
| | | @ExcelProperty(value = "安置情况", index = 32) |
| | | private String placeSituation; |
| | | |
| | | @ExcelProperty(value = "安置日期", index = 33) |
| | | private Date placeDate; |
| | | |
| | | @ExcelProperty(value = "未安置原因", index = 34) |
| | | private String notPlaceReason; |
| | | |
| | | @ExcelProperty(value = "帮教开始", index = 35) |
| | | private Date helpBegin; |
| | | |
| | | @ExcelProperty(value = "帮教结束", index = 36) |
| | | private Date helpEnd; |
| | | |
| | | @ExcelProperty(value = "帮教情况", index = 37) |
| | | private String helpSituation; |
| | | |
| | | @ExcelProperty(value = "备注", index = 38) |
| | | private String remark; |
| | | |
| | | /** |
| | | * 去重字段,使用(姓名+身份证号+街路巷+小区号+楼牌号+单元号+户室)组合字段进行MD5加密实现去重 |
| | | */ |
| | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "是否列管", index = 20) |
| | | private String isRehab; |
| | | |
| | | @ExcelProperty(value = "备注", index = 21) |
| | | @ExcelProperty(value = "是否累惯犯(1.是 0.否)", index = 21) |
| | | private String isRecidivist; |
| | | |
| | | @ExcelProperty(value = "原判刑期", index = 22) |
| | | private String originalTerm; |
| | | |
| | | @ExcelProperty(value = "服刑日期", index = 23) |
| | | private String sentenceBegin; |
| | | |
| | | @ExcelProperty(value = "原罪名", index = 24) |
| | | private String originalCharge; |
| | | |
| | | @ExcelProperty(value = "释放日期", index = 25) |
| | | private String sentenceEnd; |
| | | |
| | | @ExcelProperty(value = "服刑场所", index = 26) |
| | | private String sentencePlace; |
| | | |
| | | @ExcelProperty(value = "危险性评估", index = 27) |
| | | private String riskAssessment; |
| | | |
| | | @ExcelProperty(value = "衔接日期", index = 28) |
| | | private String joinDate; |
| | | |
| | | @ExcelProperty(value = "衔接情况", index = 29) |
| | | private String joinSituation; |
| | | |
| | | @ExcelProperty(value = "是否重新犯罪(1.是 0.否)", index = 30) |
| | | private String isAgainCrime; |
| | | |
| | | @ExcelProperty(value = "重新犯罪名称", index = 31) |
| | | private String againCrimeName; |
| | | |
| | | @ExcelProperty(value = "安置情况", index = 32) |
| | | private String placeSituation; |
| | | |
| | | @ExcelProperty(value = "安置日期", index = 33) |
| | | private String placeDate; |
| | | |
| | | @ExcelProperty(value = "未安置原因", index = 34) |
| | | private String notPlaceReason; |
| | | |
| | | @ExcelProperty(value = "帮教开始", index = 35) |
| | | private String helpBegin; |
| | | |
| | | @ExcelProperty(value = "帮教结束", index = 36) |
| | | private String helpEnd; |
| | | |
| | | @ExcelProperty(value = "帮教情况", index = 37) |
| | | private String helpSituation; |
| | | |
| | | @ExcelProperty(value = "备注", index = 38) |
| | | private String remark; |
| | | |
| | | @ExcelProperty(value = "错误信息", index = 22) |
| | | @ExcelProperty(value = "错误信息", index = 39) |
| | | private String mistake; |
| | | } |
| | |
| | | @ApiModelProperty("文化程度名称") |
| | | private String cultureLevelName; |
| | | |
| | | @ApiModelProperty("职业") |
| | | private String profession; |
| | | |
| | | @ApiModelProperty("婚姻状况(10.未婚 20.已婚 21.初婚 22.再婚 23.复婚 30.丧偶 40.离婚 90.未说明的婚姻状况 60.其他)") |
| | | private Integer marriage; |
| | | |
| | |
| | | @ApiModelProperty("车辆列表") |
| | | private List<ComMngPopulationCarVO> carList; |
| | | |
| | | @ApiModelProperty("吸毒信息") |
| | | private ComDrugPopulationVO comDrugPopulationVO; |
| | | |
| | | @ApiModelProperty("社区矫正信息") |
| | | private ComCorrectPopulationVO comCorrectPopulationVO; |
| | | |
| | | @ApiModelProperty("精神障碍信息") |
| | | private ComMajorPopulationVO comMajorPopulationVO; |
| | | |
| | | @ApiModelProperty("邪教信息") |
| | | private ComCultPopulationVO comCultPopulationVO; |
| | | |
| | | @ApiModelProperty("刑释信息") |
| | | private ComRehabilitationPopulationVO comRehabilitationPopulationVO; |
| | | |
| | | @ApiModelProperty("上访信息") |
| | | private ComKeyPopulationVO comKeyPopulationVO; |
| | | |
| | | @ApiModelProperty("退役军人信息") |
| | | private ComVeteransPopulationVO comVeteransPopulationVO; |
| | | |
| | | @ApiModelProperty("残疾人信息") |
| | | private ComDisabilityPopulationVO comDisabilityPopulationVO; |
| | | |
| | | @ApiModelProperty("低保户信息") |
| | | private ComLowSecurityPopulationVO comLowSecurityPopulationVO; |
| | | |
| | | public interface sex{ |
| | | int nan = 1; |
| | | int nv = 2; |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:58:23 |
| | | * @describe 实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("刑满释放人员表") |
| | | @EncryptDecryptClass |
| | | public class ComRehabilitationPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("刑满释放人员id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 与人员关系 |
| | | */ |
| | | @ApiModelProperty("与人员关系") |
| | | private Integer patientRelation; |
| | | |
| | | /** |
| | | * 列管原因及类型 |
| | | */ |
| | | @ApiModelProperty("列管原因及类型") |
| | | private String rehabReasonAndType; |
| | | |
| | | /** |
| | | * 是否列管(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否列管(1.是 0.否)") |
| | | private Integer isRehab; |
| | | |
| | | /** |
| | | * 是否累惯犯(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否累惯犯(1.是 0.否)") |
| | | private Integer isRecidivist; |
| | | |
| | | /** |
| | | * 原判刑期 |
| | | */ |
| | | @ApiModelProperty("原判刑期") |
| | | private String originalTerm; |
| | | |
| | | /** |
| | | * 服刑日期 |
| | | */ |
| | | @ApiModelProperty("服刑日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date sentenceBegin; |
| | | |
| | | /** |
| | | * 原罪名 |
| | | */ |
| | | @ApiModelProperty("原罪名") |
| | | private String originalCharge; |
| | | |
| | | /** |
| | | * 释放日期 |
| | | */ |
| | | @ApiModelProperty("释放日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date sentenceEnd; |
| | | |
| | | /** |
| | | * 服刑场所 |
| | | */ |
| | | @ApiModelProperty("服刑场所") |
| | | private String sentencePlace; |
| | | |
| | | /** |
| | | * 危险性评估 |
| | | */ |
| | | @ApiModelProperty("危险性评估") |
| | | private String riskAssessment; |
| | | |
| | | /** |
| | | * 衔接日期 |
| | | */ |
| | | @ApiModelProperty("衔接日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date joinDate; |
| | | |
| | | /** |
| | | * 衔接情况 |
| | | */ |
| | | @ApiModelProperty("衔接情况") |
| | | private String joinSituation; |
| | | |
| | | /** |
| | | * 是否重新犯罪(1.是 0.否) |
| | | */ |
| | | @ApiModelProperty("是否重新犯罪(1.是 0.否)") |
| | | private Integer isAgainCrime; |
| | | |
| | | /** |
| | | * 重新犯罪名称 |
| | | */ |
| | | @ApiModelProperty("重新犯罪名称") |
| | | private String againCrimeName; |
| | | |
| | | /** |
| | | * 安置情况 |
| | | */ |
| | | @ApiModelProperty("安置情况") |
| | | private String placeSituation; |
| | | |
| | | /** |
| | | * 安置日期 |
| | | */ |
| | | @ApiModelProperty("安置日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date placeDate; |
| | | |
| | | /** |
| | | * 未安置原因 |
| | | */ |
| | | @ApiModelProperty("未安置原因") |
| | | private String notPlaceReason; |
| | | |
| | | /** |
| | | * 帮教开始 |
| | | */ |
| | | @ApiModelProperty("帮教开始") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date helpBegin; |
| | | |
| | | /** |
| | | * 帮教结束 |
| | | */ |
| | | @ApiModelProperty("帮教结束") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date helpEnd; |
| | | |
| | | /** |
| | | * 帮教情况 |
| | | */ |
| | | @ApiModelProperty("帮教情况") |
| | | private String helpSituation; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:48:54 |
| | | * @describe 实有人口导入》退役军人表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @ApiModel("退役军人表") |
| | | @EncryptDecryptClass |
| | | public class ComVeteransPopulationVO { |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @ApiModelProperty("退役军人id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | @ApiModelProperty("人口id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | @ApiModelProperty("街道id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty("社区id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @ApiModelProperty("名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @ApiModelProperty("身份证号码") |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | @ApiModelProperty("联系电话") |
| | | private String phone; |
| | | |
| | | /** |
| | | * 人员状态:正常、失联、出国(取字典表) |
| | | */ |
| | | @ApiModelProperty("人员状态:正常、失联、出国(取字典表)") |
| | | private String personStatus; |
| | | |
| | | /** |
| | | * 机构 |
| | | */ |
| | | @ApiModelProperty("机构") |
| | | private String organization; |
| | | |
| | | /** |
| | | * 照片 |
| | | */ |
| | | @ApiModelProperty("照片") |
| | | private String photo; |
| | | |
| | | /** |
| | | * 户籍性质(1.城镇户口 2.农村户口) |
| | | */ |
| | | @ApiModelProperty("户籍性质(1.城镇户口 2.农村户口)") |
| | | private Integer regiterNature; |
| | | |
| | | /** |
| | | * 入伍时间 |
| | | */ |
| | | @ApiModelProperty("入伍时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date enlistDate; |
| | | |
| | | /** |
| | | * 退伍时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | @ApiModelProperty("退伍时间") |
| | | private Date retireDate; |
| | | |
| | | /** |
| | | * 人员类别 |
| | | */ |
| | | @ApiModelProperty("人员类别") |
| | | private String personCategory; |
| | | |
| | | /** |
| | | * 住房状况 |
| | | */ |
| | | @ApiModelProperty("住房状况") |
| | | private String houseSituation; |
| | | |
| | | /** |
| | | * 住房状况其他 |
| | | */ |
| | | @ApiModelProperty("住房状况其他") |
| | | private String houseSituationOther; |
| | | |
| | | /** |
| | | * 建筑面积 |
| | | */ |
| | | @ApiModelProperty("建筑面积") |
| | | private String buildArea; |
| | | |
| | | /** |
| | | * 现就业情况 |
| | | */ |
| | | @ApiModelProperty("现就业情况") |
| | | private String employmentSituation; |
| | | |
| | | /** |
| | | * 在职情况类型 |
| | | */ |
| | | @ApiModelProperty("在职情况类型") |
| | | private String incumbencyType; |
| | | |
| | | /** |
| | | * 现就业情况其他 |
| | | */ |
| | | @ApiModelProperty("现就业情况其他") |
| | | private String employmentSituationOther; |
| | | |
| | | /** |
| | | * 养老保险 |
| | | */ |
| | | @ApiModelProperty("养老保险") |
| | | private String endowmentInsurance; |
| | | |
| | | /** |
| | | * 医疗保险 |
| | | */ |
| | | @ApiModelProperty("医疗保险") |
| | | private String medicalInsurance; |
| | | |
| | | /** |
| | | * 现个人年收入(单位:元) |
| | | */ |
| | | @ApiModelProperty("现个人年收入(单位:元)") |
| | | private String annualIncome; |
| | | |
| | | /** |
| | | * 父亲健康状况 |
| | | */ |
| | | @ApiModelProperty("父亲健康状况") |
| | | private String fatherHealthy; |
| | | |
| | | /** |
| | | * 母亲健康状况 |
| | | */ |
| | | @ApiModelProperty("母亲健康状况") |
| | | private String motherHealthy; |
| | | |
| | | /** |
| | | * 配偶健康状况 |
| | | */ |
| | | @ApiModelProperty("配偶健康状况") |
| | | private String spouseHealthy; |
| | | |
| | | /** |
| | | * 儿子健康状况 |
| | | */ |
| | | @ApiModelProperty("儿子健康状况") |
| | | private String sonHealthy; |
| | | |
| | | /** |
| | | * 女儿健康状况 |
| | | */ |
| | | @ApiModelProperty("女儿健康状况") |
| | | private String daughterDealthy; |
| | | |
| | | /** |
| | | * 主要困难 |
| | | */ |
| | | @ApiModelProperty("主要困难") |
| | | private String mainDifficulty; |
| | | |
| | | /** |
| | | * 其他困难 |
| | | */ |
| | | @ApiModelProperty("其他困难") |
| | | private String otherDifficulty; |
| | | |
| | | /** |
| | | * 主要诉求 |
| | | */ |
| | | @ApiModelProperty("主要诉求") |
| | | private String mainDemand; |
| | | |
| | | /** |
| | | * 主要诉求其他事项问题(手填) |
| | | */ |
| | | @ApiModelProperty("主要诉求其他事项问题(手填)") |
| | | private String mainDemandOther; |
| | | |
| | | /** |
| | | * 需参加的学历培训 |
| | | */ |
| | | @ApiModelProperty("需参加的学历培训") |
| | | private String academicTraining; |
| | | |
| | | /** |
| | | * 是否已参加退役军人培训(政府性质)1.是 2.否 |
| | | */ |
| | | @ApiModelProperty("是否已参加退役军人培训(政府性质)1.是 2.否") |
| | | private Integer isVeteransTraining; |
| | | |
| | | /** |
| | | * 入伍前学历 |
| | | */ |
| | | @ApiModelProperty("入伍前学历") |
| | | private String educationBeforeEnlistment; |
| | | |
| | | /** |
| | | * 再教育学历 |
| | | */ |
| | | @ApiModelProperty("再教育学历") |
| | | private String reEducation; |
| | | |
| | | /** |
| | | * 所学专业 |
| | | */ |
| | | @ApiModelProperty("所学专业") |
| | | private String major; |
| | | |
| | | /** |
| | | * 所学专业其他 |
| | | */ |
| | | @ApiModelProperty("所学专业其他") |
| | | private String majorOther; |
| | | |
| | | /** |
| | | * 曾从事行业(含现从事行业) |
| | | */ |
| | | @ApiModelProperty("曾从事行业(含现从事行业)") |
| | | private String onceEngagedIndustry; |
| | | |
| | | /** |
| | | * 曾从事行业(含现从事行业)其他(手填) |
| | | */ |
| | | @ApiModelProperty("曾从事行业(含现从事行业)其他(手填)") |
| | | private String onceEngagedIndustryOther; |
| | | |
| | | /** |
| | | * 意向就业地点 |
| | | */ |
| | | @ApiModelProperty("意向就业地点") |
| | | private String intendedPlaceOfEmployment; |
| | | |
| | | /** |
| | | * 意向就业地点其他地区(手填) |
| | | */ |
| | | @ApiModelProperty("意向就业地点其他地区(手填)") |
| | | private String intendedPlaceOfEmploymentOther; |
| | | |
| | | /** |
| | | * 待业期间的求职意向 |
| | | */ |
| | | @ApiModelProperty("待业期间的求职意向") |
| | | private String unemploymedEngagedIndustry; |
| | | |
| | | /** |
| | | * 待业期间的求职意向其他(手填) |
| | | */ |
| | | @ApiModelProperty("待业期间的求职意向其他(手填)") |
| | | private String unemploymedEngagedIndustryOther; |
| | | |
| | | /** |
| | | * 是否有创业意愿(1.是 2.否) |
| | | */ |
| | | @ApiModelProperty("是否有创业意愿(1.是 2.否)") |
| | | private Integer isBusiness; |
| | | |
| | | /** |
| | | * 创业意愿 |
| | | */ |
| | | @ApiModelProperty("创业意愿") |
| | | private String businessDesire; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 填表单位 |
| | | */ |
| | | @ApiModelProperty("填表单位") |
| | | private String fillUnit; |
| | | |
| | | /** |
| | | * 填表人 |
| | | */ |
| | | @ApiModelProperty("填表人") |
| | | private String fillPerson; |
| | | |
| | | /** |
| | | * 填表人联系电话 |
| | | */ |
| | | @ApiModelProperty("填表人联系电话") |
| | | private String fillPersonPhone; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty("创建时间") |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | @ApiModelProperty("创建用户") |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty("修改时间") |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | @ApiModelProperty("修改用户") |
| | | private Long updateBy; |
| | | } |
| | |
| | | R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入低保户 |
| | | * |
| | | * @param list 低保户数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/population/importLowSecurity") |
| | | R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | | * |
| | | * @param list 用户信息 |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation(value = "excel导入低保户") |
| | | @PostMapping(value = "/serve/importLowSecurity", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | public R importLowSecurity(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | //获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | | log.info("传入文件名字【{}】", fileName); |
| | | InputStream inputStream = null; |
| | | try { |
| | | inputStream = file.getInputStream(); |
| | | ComMngPopulationLowSecurityExcelListen mngPopulationDisabilityExcelListen = new ComMngPopulationLowSecurityExcelListen(communityService, this.getCommunityId(),userName,password,host,port,excelUrl,stringRedisTemplate); |
| | | EasyExcel.read(inputStream, null, mngPopulationDisabilityExcelListen).sheet().doRead(); |
| | | } catch (IOException e) { |
| | | log.error("导入模板失败【{}】", e.getMessage()); |
| | | e.printStackTrace(); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | | * |
| | |
| | | List<String> head15 = new ArrayList<String>(); |
| | | head15.add("户口所在地"); |
| | | List<String> head16 = new ArrayList<String>(); |
| | | head16.add("备注"); |
| | | head16.add("初次发现日期"); |
| | | List<String> head17 = new ArrayList<String>(); |
| | | head17.add("管控情况"); |
| | | List<String> head18 = new ArrayList<String>(); |
| | | head18.add("管控人姓名"); |
| | | List<String> head19 = new ArrayList<String>(); |
| | | head19.add("管控人联系方式"); |
| | | List<String> head20 = new ArrayList<String>(); |
| | | head20.add("帮扶情况"); |
| | | List<String> head21 = new ArrayList<String>(); |
| | | head21.add("帮扶人姓名"); |
| | | List<String> head22 = new ArrayList<String>(); |
| | | head22.add("帮扶人联系方式"); |
| | | List<String> head23 = new ArrayList<String>(); |
| | | head23.add("吸毒原因"); |
| | | List<String> head24 = new ArrayList<String>(); |
| | | head24.add("吸毒后果"); |
| | | List<String> head25 = new ArrayList<String>(); |
| | | head25.add("有无犯罪史"); |
| | | List<String> head26 = new ArrayList<String>(); |
| | | head26.add("违法犯罪情况"); |
| | | List<String> head27 = new ArrayList<String>(); |
| | | head27.add("备注"); |
| | | list.add(head0); |
| | | list.add(head1); |
| | | list.add(head2); |
| | |
| | | list.add(head14); |
| | | list.add(head15); |
| | | list.add(head16); |
| | | list.add(head17); |
| | | list.add(head18); |
| | | list.add(head19); |
| | | list.add(head20); |
| | | list.add(head21); |
| | | list.add(head22); |
| | | list.add(head23); |
| | | list.add(head24); |
| | | list.add(head25); |
| | | list.add(head26); |
| | | list.add(head27); |
| | | return list; |
| | | } |
| | | |
| | |
| | | List<String> head15 = new ArrayList<String>(); |
| | | head15.add("户口所在地"); |
| | | List<String> head16 = new ArrayList<String>(); |
| | | head16.add("*矫正开始时间"); |
| | | head16.add("学历"); |
| | | List<String> head17 = new ArrayList<String>(); |
| | | head17.add("矫正结束时间"); |
| | | head17.add("社区矫正人员编号"); |
| | | List<String> head18 = new ArrayList<String>(); |
| | | head18.add("矫正类型"); |
| | | head18.add("原羁押场所"); |
| | | List<String> head19 = new ArrayList<String>(); |
| | | head19.add("罪名"); |
| | | head19.add("矫正类别"); |
| | | List<String> head20 = new ArrayList<String>(); |
| | | head20.add("备注"); |
| | | head20.add("案件类别"); |
| | | List<String> head21 = new ArrayList<String>(); |
| | | head21.add("具体罪名"); |
| | | List<String> head22 = new ArrayList<String>(); |
| | | head22.add("原判刑期"); |
| | | List<String> head23 = new ArrayList<String>(); |
| | | head23.add("原判刑开始日期"); |
| | | List<String> head24 = new ArrayList<String>(); |
| | | head24.add("原判刑结束日期"); |
| | | List<String> head25 = new ArrayList<String>(); |
| | | head25.add("矫正开始日期"); |
| | | List<String> head26 = new ArrayList<String>(); |
| | | head26.add("矫正结束日期"); |
| | | List<String> head27 = new ArrayList<String>(); |
| | | head27.add("接收方式"); |
| | | List<String> head28 = new ArrayList<String>(); |
| | | head28.add("是否累惯犯"); |
| | | List<String> head29 = new ArrayList<String>(); |
| | | head29.add("四史情况"); |
| | | List<String> head30 = new ArrayList<String>(); |
| | | head30.add("三涉情况"); |
| | | List<String> head31 = new ArrayList<String>(); |
| | | head31.add("是否建立矫正小组"); |
| | | List<String> head32 = new ArrayList<String>(); |
| | | head32.add("矫正小组人员组成情况"); |
| | | List<String> head33 = new ArrayList<String>(); |
| | | head33.add("矫正解除(终止)类型"); |
| | | List<String> head34 = new ArrayList<String>(); |
| | | head34.add("是否有脱管"); |
| | | List<String> head35 = new ArrayList<String>(); |
| | | head35.add("脱管原因"); |
| | | List<String> head36 = new ArrayList<String>(); |
| | | head36.add("脱管纠正情况"); |
| | | List<String> head37 = new ArrayList<String>(); |
| | | head37.add("检察监督脱管情况"); |
| | | List<String> head38 = new ArrayList<String>(); |
| | | head38.add("是否有漏管"); |
| | | List<String> head39 = new ArrayList<String>(); |
| | | head39.add("漏管原因"); |
| | | List<String> head40 = new ArrayList<String>(); |
| | | head40.add("漏管纠正情况"); |
| | | List<String> head41 = new ArrayList<String>(); |
| | | head41.add("检察监督漏管情况"); |
| | | List<String> head42 = new ArrayList<String>(); |
| | | head42.add("奖惩情况"); |
| | | List<String> head43 = new ArrayList<String>(); |
| | | head43.add("是否重新犯罪"); |
| | | List<String> head44 = new ArrayList<String>(); |
| | | head44.add("重新犯罪名称"); |
| | | List<String> head45 = new ArrayList<String>(); |
| | | head45.add("刑罚变更执行情况"); |
| | | List<String> head46 = new ArrayList<String>(); |
| | | head46.add("备注"); |
| | | list.add(head0); |
| | | list.add(head1); |
| | | list.add(head2); |
| | |
| | | list.add(head18); |
| | | list.add(head19); |
| | | list.add(head20); |
| | | list.add(head21); |
| | | list.add(head22); |
| | | list.add(head23); |
| | | list.add(head24); |
| | | list.add(head25); |
| | | list.add(head26); |
| | | list.add(head27); |
| | | list.add(head28); |
| | | list.add(head29); |
| | | list.add(head30); |
| | | list.add(head31); |
| | | list.add(head32); |
| | | list.add(head33); |
| | | list.add(head34); |
| | | list.add(head35); |
| | | list.add(head36); |
| | | list.add(head37); |
| | | list.add(head38); |
| | | list.add(head39); |
| | | list.add(head40); |
| | | list.add(head41); |
| | | list.add(head42); |
| | | list.add(head43); |
| | | list.add(head44); |
| | | list.add(head45); |
| | | list.add(head46); |
| | | return list; |
| | | } |
| | | |
| | |
| | | List<String> head15 = new ArrayList<String>(); |
| | | head15.add("经济状况"); |
| | | List<String> head16 = new ArrayList<String>(); |
| | | head16.add("监护人"); |
| | | head16.add("人员类型"); |
| | | List<String> head17 = new ArrayList<String>(); |
| | | head17.add("监护人电话"); |
| | | head17.add("家庭情况"); |
| | | List<String> head18 = new ArrayList<String>(); |
| | | head18.add("与患者关系"); |
| | | head18.add("监护人姓名"); |
| | | List<String> head19 = new ArrayList<String>(); |
| | | head19.add("目前诊断"); |
| | | head19.add("与监护人关系"); |
| | | List<String> head20 = new ArrayList<String>(); |
| | | head20.add("其他"); |
| | | head20.add("监护人公民身份号码"); |
| | | List<String> head21 = new ArrayList<String>(); |
| | | head11.add("监护人联系方式"); |
| | | List<String> head22 = new ArrayList<String>(); |
| | | head12.add("监护人居住详址"); |
| | | List<String> head23 = new ArrayList<String>(); |
| | | head13.add("帮扶人姓名"); |
| | | List<String> head24 = new ArrayList<String>(); |
| | | head14.add("帮扶人联系方式"); |
| | | List<String> head25 = new ArrayList<String>(); |
| | | head15.add("帮扶手段"); |
| | | List<String> head26 = new ArrayList<String>(); |
| | | head16.add("帮扶情况"); |
| | | List<String> head27 = new ArrayList<String>(); |
| | | head17.add("是否违法犯罪"); |
| | | List<String> head28 = new ArrayList<String>(); |
| | | head18.add("违法犯罪情况"); |
| | | List<String> head29 = new ArrayList<String>(); |
| | | list.add(head0); |
| | | list.add(head1); |
| | | list.add(head2); |
| | |
| | | list.add(head18); |
| | | list.add(head19); |
| | | list.add(head20); |
| | | list.add(head21); |
| | | list.add(head22); |
| | | list.add(head23); |
| | | list.add(head24); |
| | | list.add(head25); |
| | | list.add(head26); |
| | | list.add(head27); |
| | | list.add(head28); |
| | | list.add(head29); |
| | | return list; |
| | | } |
| | | |
| | |
| | | List<String> head18 = new ArrayList<String>(); |
| | | head18.add("户口所在地"); |
| | | List<String> head19 = new ArrayList<String>(); |
| | | head19.add("邪教名称"); |
| | | head19.add("邪教名称(涉邪组织)"); |
| | | List<String> head20 = new ArrayList<String>(); |
| | | head20.add("基本情况"); |
| | | head20.add("基本情况(参加邪教的活动情况)"); |
| | | List<String> head21 = new ArrayList<String>(); |
| | | head21.add("备注"); |
| | | head21.add("参加邪教时间"); |
| | | List<String> head22 = new ArrayList<String>(); |
| | | head22.add("是否对外宣传"); |
| | | List<String> head23 = new ArrayList<String>(); |
| | | head23.add("备注"); |
| | | list.add(head0); |
| | | list.add(head1); |
| | | list.add(head2); |
| | |
| | | list.add(head19); |
| | | list.add(head20); |
| | | list.add(head21); |
| | | list.add(head22); |
| | | list.add(head23); |
| | | return list; |
| | | } |
| | | |
| | |
| | | List<String> head20 = new ArrayList<String>(); |
| | | head20.add("是否列管"); |
| | | List<String> head21 = new ArrayList<String>(); |
| | | head21.add("备注"); |
| | | head21.add("是否累犯"); |
| | | List<String> head22 = new ArrayList<String>(); |
| | | head22.add("原判刑期"); |
| | | List<String> head23 = new ArrayList<String>(); |
| | | head23.add("服刑日期"); |
| | | List<String> head24 = new ArrayList<String>(); |
| | | head24.add("原罪名"); |
| | | List<String> head25 = new ArrayList<String>(); |
| | | head25.add("释放日期"); |
| | | List<String> head26 = new ArrayList<String>(); |
| | | head26.add("服刑场所"); |
| | | List<String> head27 = new ArrayList<String>(); |
| | | head27.add("危险性评估"); |
| | | List<String> head28 = new ArrayList<String>(); |
| | | head28.add("衔接日期"); |
| | | List<String> head29 = new ArrayList<String>(); |
| | | head29.add("衔接情况"); |
| | | List<String> head30 = new ArrayList<String>(); |
| | | head30.add("是否重新犯罪"); |
| | | List<String> head31 = new ArrayList<String>(); |
| | | head31.add("重新犯罪罪名"); |
| | | List<String> head32 = new ArrayList<String>(); |
| | | head32.add("安置情况"); |
| | | List<String> head33 = new ArrayList<String>(); |
| | | head33.add("安置日期"); |
| | | List<String> head34 = new ArrayList<String>(); |
| | | head34.add("未安置原因"); |
| | | List<String> head35 = new ArrayList<String>(); |
| | | head35.add("帮教开始"); |
| | | List<String> head36 = new ArrayList<String>(); |
| | | head36.add("帮教结束"); |
| | | List<String> head37 = new ArrayList<String>(); |
| | | head37.add("帮教情况"); |
| | | List<String> head38 = new ArrayList<String>(); |
| | | head38.add("备注"); |
| | | list.add(head0); |
| | | list.add(head1); |
| | | list.add(head2); |
| | |
| | | list.add(head19); |
| | | list.add(head20); |
| | | list.add(head21); |
| | | list.add(head22); |
| | | list.add(head23); |
| | | list.add(head24); |
| | | list.add(head25); |
| | | list.add(head26); |
| | | list.add(head27); |
| | | list.add(head28); |
| | | list.add(head29); |
| | | list.add(head30); |
| | | list.add(head31); |
| | | list.add(head32); |
| | | list.add(head33); |
| | | list.add(head34); |
| | | list.add(head35); |
| | | list.add(head36); |
| | | list.add(head37); |
| | | list.add(head38); |
| | | return list; |
| | | } |
| | | |
| | |
| | | List<String> head10 = new ArrayList<String>(); |
| | | head10.add("户主身份证号"); |
| | | List<String> head11 = new ArrayList<String>(); |
| | | head11.add("*街/路/巷"); |
| | | head11.add("户主编码"); |
| | | List<String> head12 = new ArrayList<String>(); |
| | | head12.add("*小区号(政府对于每个小区都有特定编号)"); |
| | | head12.add("*街/路/巷"); |
| | | List<String> head13 = new ArrayList<String>(); |
| | | head13.add("*楼排号"); |
| | | head13.add("*小区号(政府对于每个小区都有特定编号)"); |
| | | List<String> head14 = new ArrayList<String>(); |
| | | head14.add("*单元号"); |
| | | head14.add("*楼排号"); |
| | | List<String> head15 = new ArrayList<String>(); |
| | | head15.add("*户室(四位数表示。前两位楼层,后两位户号)"); |
| | | head15.add("*单元号"); |
| | | List<String> head16 = new ArrayList<String>(); |
| | | head16.add("*是否租住(自住/租住)"); |
| | | head16.add("*户室(四位数表示。前两位楼层,后两位户号)"); |
| | | List<String> head17 = new ArrayList<String>(); |
| | | head17.add("*房屋状态(自住/租住/其他)"); |
| | | head17.add("*是否租住(自住/租住)"); |
| | | List<String> head18 = new ArrayList<String>(); |
| | | head18.add("*房屋用途(住宅/公寓/宿舍/仓库/其他)"); |
| | | head18.add("*房屋状态(自住/租住/其他)"); |
| | | List<String> head19 = new ArrayList<String>(); |
| | | head19.add("*管控状态(常规/关注/管控)"); |
| | | head19.add("*房屋用途(住宅/公寓/宿舍/仓库/其他)"); |
| | | List<String> head20 = new ArrayList<String>(); |
| | | head20.add("本地/外地"); |
| | | head20.add("*管控状态(常规/关注/管控)"); |
| | | List<String> head21 = new ArrayList<String>(); |
| | | head21.add("户口所在地"); |
| | | head21.add("本地/外地"); |
| | | List<String> head22 = new ArrayList<String>(); |
| | | head22.add("居住地邮编"); |
| | | head22.add("户口所在地"); |
| | | List<String> head23 = new ArrayList<String>(); |
| | | head23.add("救助证号"); |
| | | head23.add("居住地邮编"); |
| | | List<String> head24 = new ArrayList<String>(); |
| | | head24.add("保障人口数"); |
| | | head24.add("救助证号"); |
| | | List<String> head25 = new ArrayList<String>(); |
| | | head25.add("家庭人口数"); |
| | | head25.add("保障人口数"); |
| | | List<String> head26 = new ArrayList<String>(); |
| | | head26.add("开户人"); |
| | | head26.add("家庭人口数"); |
| | | List<String> head27 = new ArrayList<String>(); |
| | | head27.add("开户银行"); |
| | | head27.add("开户人"); |
| | | List<String> head28 = new ArrayList<String>(); |
| | | head28.add("开户人身份证号"); |
| | | head28.add("开户银行"); |
| | | List<String> head29 = new ArrayList<String>(); |
| | | head29.add("银行账号"); |
| | | head29.add("开户人身份证号"); |
| | | List<String> head30 = new ArrayList<String>(); |
| | | head30.add("供养机构"); |
| | | head30.add("银行账号"); |
| | | List<String> head31 = new ArrayList<String>(); |
| | | head31.add("资金发放方式"); |
| | | head31.add("供养机构"); |
| | | List<String> head32 = new ArrayList<String>(); |
| | | head32.add("保障金额"); |
| | | head32.add("资金发放方式"); |
| | | List<String> head33 = new ArrayList<String>(); |
| | | head33.add("调剂金额"); |
| | | head33.add("保障金额"); |
| | | List<String> head34 = new ArrayList<String>(); |
| | | head34.add("差额救助金额"); |
| | | head34.add("调剂金额"); |
| | | List<String> head35 = new ArrayList<String>(); |
| | | head35.add("分类施保金额"); |
| | | head35.add("差额救助金额"); |
| | | List<String> head36 = new ArrayList<String>(); |
| | | head36.add("家庭月总收入"); |
| | | head36.add("分类施保金额"); |
| | | List<String> head37 = new ArrayList<String>(); |
| | | head37.add("家庭月均收入"); |
| | | head37.add("家庭月总收入"); |
| | | List<String> head38 = new ArrayList<String>(); |
| | | head38.add("家庭月支出"); |
| | | head38.add("家庭月均收入"); |
| | | List<String> head39 = new ArrayList<String>(); |
| | | head39.add("经度"); |
| | | head39.add("家庭月支出"); |
| | | List<String> head40 = new ArrayList<String>(); |
| | | head40.add("纬度"); |
| | | head40.add("经度"); |
| | | List<String> head41 = new ArrayList<String>(); |
| | | head41.add("始发年月"); |
| | | head41.add("纬度"); |
| | | List<String> head42 = new ArrayList<String>(); |
| | | head42.add("护理费"); |
| | | head42.add("始发年月"); |
| | | List<String> head43 = new ArrayList<String>(); |
| | | head43.add("申请理由"); |
| | | head43.add("护理费"); |
| | | List<String> head44 = new ArrayList<String>(); |
| | | head44.add("审核意见"); |
| | | head44.add("申请理由"); |
| | | List<String> head45 = new ArrayList<String>(); |
| | | head45.add("审核意见"); |
| | | list.add(head0); |
| | | list.add(head1); |
| | | list.add(head2); |
| | |
| | | list.add(head42); |
| | | list.add(head43); |
| | | list.add(head44); |
| | | list.add(head45); |
| | | return list; |
| | | } |
| | | |
| | |
| | | return R.fail(); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation(value = "下载导入失败低保户数据") |
| | | @PostMapping("/download/error/populationLowSecurity") |
| | | public R downloadErrorLowSecurityPopulation(@RequestParam(value = "key") String key) { |
| | | List<ComMngPopulationLowSecurityMistakeExcelVO> list = new ArrayList<>(); |
| | | Boolean isExits = stringRedisTemplate.hasKey(key); |
| | | ValueOperations<String, String> valueOperations = stringRedisTemplate.opsForValue(); |
| | | if(isExits){ |
| | | String json = valueOperations.get(key); |
| | | list= JSONArray.parseArray(json,ComMngPopulationLowSecurityMistakeExcelVO.class); |
| | | } |
| | | // List<ComMngPopulationMistakeExcelVO> list = JSON.parseArray(mistakes,ComMngPopulationMistakeExcelVO.class); |
| | | //生成动态模板excel通过ftp工具上传到主节点,然后返回模板下载地址 |
| | | String ftpUrl = "/mnt/data/web/excel/"; |
| | | String nowDate = DateUtils.getCurrentDateString(); |
| | | String name = "低保户错误数据" + nowDate +".xlsx"; |
| | | try { |
| | | SFTPUtil sftp = new SFTPUtil(userName, password, host, port); |
| | | sftp.login(); |
| | | boolean existDir = sftp.isExistDir(ftpUrl + name); |
| | | if (!existDir) { |
| | | String property = System.getProperty("user.dir"); |
| | | String fileName = property + File.separator + name; |
| | | // 这里 需要指定写用哪个class去写 |
| | | ExcelWriter excelWriter = null; |
| | | InputStream inputStream = null; |
| | | try { |
| | | excelWriter = EasyExcel.write(fileName, ComMngPopulationLowSecurityMistakeExcelVO.class).registerWriteHandler(new LongestMatchColumnWidthStyleStrategy()).registerWriteHandler(new CustomSheetWriteHandler()).build(); |
| | | WriteSheet writeSheet = EasyExcel.writerSheet("低保户错误数据").build(); |
| | | excelWriter.write(list, writeSheet); |
| | | excelWriter.finish(); |
| | | File file = new File(fileName); |
| | | inputStream = new FileInputStream(file); |
| | | sftp.uploadMore(ftpUrl, name, inputStream); |
| | | sftp.logout(); |
| | | inputStream.close(); |
| | | String absolutePath = file.getAbsolutePath(); |
| | | boolean delete = file.delete(); |
| | | log.info("删除excel【{}】结果【{}】", absolutePath, delete); |
| | | } finally { |
| | | // 千万别忘记finish 会帮忙关闭流 |
| | | if (inputStream != null) { |
| | | inputStream.close(); |
| | | } |
| | | if (excelWriter != null) { |
| | | excelWriter.finish(); |
| | | } |
| | | } |
| | | } |
| | | return R.ok(excelUrl + name); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | log.error("文件传输失败【{}】", e.getMessage()); |
| | | return R.fail(); |
| | | } |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 16:45:25 |
| | | * @describe 社区矫正人员表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/correct/population") |
| | | public class ComCorrectPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:24 |
| | | * @describe 邪教人员表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/cult/population") |
| | | public class ComCultPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:54:57 |
| | | * @describe 实有人口导入》残疾人表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/disability/population") |
| | | public class ComDisabilityPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 15:37:19 |
| | | * @describe 吸毒人员表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/drug/population") |
| | | public class ComDrugPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:05 |
| | | * @describe 前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/key/population") |
| | | public class ComKeyPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:52:55 |
| | | * @describe 实有人口导入》低保户人员表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/lowSecurity/population") |
| | | public class ComLowSecurityPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:14:17 |
| | | * @describe 重精人员表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/major/population") |
| | | public class ComMajorPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:41 |
| | | * @describe 前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/rehabilitation/population") |
| | | public class ComRehabilitationPopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:26 |
| | | * @describe 前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/sentence/population") |
| | | public class ComSentencePopulationApi { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:56:46 |
| | | * @describe 实有人口导入》退役军人表前端控制器 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/veterans/population") |
| | | public class ComVeteransPopulationApi { |
| | | |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 批量导入低保户 |
| | | * |
| | | * @param list 低保户数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @PostMapping("/common/data/population/importLowSecurity") |
| | | public R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, @RequestParam(value = "communityId") Long communityId) { |
| | | return comMngPopulationService.listSaveLowSecurityPopulation(list, communityId); |
| | | } |
| | | |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | | * |
| | | * @param list 用户信息 |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComCorrectPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 16:45:25 |
| | | * @describe 社区矫正人员表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComCorrectPopulationDAO extends BaseMapper<ComCorrectPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComCultPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:24 |
| | | * @describe 邪教人员表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComCultPopulationDAO extends BaseMapper<ComCultPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComDisabilityPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:54:57 |
| | | * @describe 实有人口导入》残疾人表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComDisabilityPopulationDAO extends BaseMapper<ComDisabilityPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComDrugPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 15:37:19 |
| | | * @describe 吸毒人员表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComDrugPopulationDAO extends BaseMapper<ComDrugPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComKeyPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:05 |
| | | * @describe mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComKeyPopulationDAO extends BaseMapper<ComKeyPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComLowSecurityPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:52:55 |
| | | * @describe 实有人口导入》低保户人员表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComLowSecurityPopulationDAO extends BaseMapper<ComLowSecurityPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComMajorPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:14:17 |
| | | * @describe 重精人员表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComMajorPopulationDAO extends BaseMapper<ComMajorPopulationDO> { |
| | | |
| | | } |
| | |
| | | "cmp.label, " + |
| | | "cmp.marriage, " + |
| | | "cmp.culture_level, " + |
| | | "cmp.profession, " + |
| | | "cmp.out_or_local, " + |
| | | "cmp.census_register, " + |
| | | "cmp.healthy, " + |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComRehabilitationPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:41 |
| | | * @describe mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComRehabilitationPopulationDAO extends BaseMapper<ComRehabilitationPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComSentencePopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:26 |
| | | * @describe mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComSentencePopulationDAO extends BaseMapper<ComSentencePopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.panzhihua.service_community.model.dos.ComVeteransPopulationDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:56:46 |
| | | * @describe 实有人口导入》退役军人表mapper类 |
| | | */ |
| | | @Mapper |
| | | public interface ComVeteransPopulationDAO extends BaseMapper<ComVeteransPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:57:35 |
| | | * @describe 社区矫正人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_correct_population") |
| | | @EncryptDecryptClass |
| | | public class ComCorrectPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 矫正类别 |
| | | */ |
| | | private String correctType; |
| | | |
| | | /** |
| | | * 矫正开始时间 |
| | | */ |
| | | private Date correctBegin; |
| | | |
| | | /** |
| | | * 矫正结束时间 |
| | | */ |
| | | private Date correctEnd; |
| | | |
| | | /** |
| | | * 接收方式 |
| | | */ |
| | | private String receiveMethod; |
| | | |
| | | /** |
| | | * 是否累惯犯(1.是 0.否) |
| | | */ |
| | | private Integer isRecidivist; |
| | | |
| | | /** |
| | | * 四史情况 |
| | | */ |
| | | private String fourHistory; |
| | | |
| | | /** |
| | | * 三涉情况 |
| | | */ |
| | | private String threeInvovle; |
| | | |
| | | /** |
| | | * 是否建立矫正小组(1.是 0.否) |
| | | */ |
| | | private Integer isCorrectGroup; |
| | | |
| | | /** |
| | | * 矫正小组人员组成情况 |
| | | */ |
| | | private String correctGroupConstitute; |
| | | |
| | | /** |
| | | * 矫正解除(终止)类型 |
| | | */ |
| | | private String correctRelieveType; |
| | | |
| | | /** |
| | | * 是否有脱管(1.是 0.否) |
| | | */ |
| | | private Integer isOutControl; |
| | | |
| | | /** |
| | | * 脱管原因 |
| | | */ |
| | | private String outControlReason; |
| | | |
| | | /** |
| | | * 脱管纠正情况 |
| | | */ |
| | | private String outControlCorrect; |
| | | |
| | | /** |
| | | * 检察监督脱管情况 |
| | | */ |
| | | private String inspectOutControl; |
| | | |
| | | /** |
| | | * 是否有漏管(1.是 0.否) |
| | | */ |
| | | private Integer isMissControl; |
| | | |
| | | /** |
| | | * 漏管原因 |
| | | */ |
| | | private String missControlReason; |
| | | |
| | | /** |
| | | * 漏管纠正情况 |
| | | */ |
| | | private String missControlCorrect; |
| | | |
| | | /** |
| | | * 检察监督漏管 |
| | | */ |
| | | private String inspectMissControl; |
| | | |
| | | /** |
| | | * 奖惩情况 |
| | | */ |
| | | private String rewardAndPunishiment; |
| | | |
| | | /** |
| | | * 是否重新犯罪(1.是 0.否) |
| | | */ |
| | | private Integer isAgainCrime; |
| | | |
| | | /** |
| | | * 重新犯罪名称 |
| | | */ |
| | | private String againCrimeName; |
| | | |
| | | /** |
| | | * 刑罚变更执行情况 |
| | | */ |
| | | private String pubishmentChange; |
| | | |
| | | /** |
| | | * 案件类别 |
| | | */ |
| | | private String caseType; |
| | | |
| | | /** |
| | | * 具体罪名 |
| | | */ |
| | | private String specificCharge; |
| | | |
| | | /** |
| | | * 原判刑期 |
| | | */ |
| | | private String originalTerm; |
| | | |
| | | /** |
| | | * 原判刑开始日期 |
| | | */ |
| | | private Date originalTermBegin; |
| | | |
| | | /** |
| | | * 原判刑结束日期 |
| | | */ |
| | | private Date originalTermEnd; |
| | | |
| | | /** |
| | | * 学历 |
| | | */ |
| | | private Integer cultureLevel; |
| | | |
| | | /** |
| | | * 社区矫正人员编号 |
| | | */ |
| | | private String correctPersonCode; |
| | | |
| | | /** |
| | | * 原羁押场所 |
| | | */ |
| | | private String originalCustodyplace; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComCorrectPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", phone=" + phone + |
| | | ", correctType=" + correctType + |
| | | ", correctBegin=" + correctBegin + |
| | | ", correctEnd=" + correctEnd + |
| | | ", receiveMethod=" + receiveMethod + |
| | | ", isRecidivist=" + isRecidivist + |
| | | ", fourHistory=" + fourHistory + |
| | | ", threeInvovle=" + threeInvovle + |
| | | ", isCorrectGroup=" + isCorrectGroup + |
| | | ", correctGroupConstitute=" + correctGroupConstitute + |
| | | ", correctRelieveType=" + correctRelieveType + |
| | | ", isOutControl=" + isOutControl + |
| | | ", outControlReason=" + outControlReason + |
| | | ", outControlCorrect=" + outControlCorrect + |
| | | ", inspectOutControl=" + inspectOutControl + |
| | | ", isMissControl=" + isMissControl + |
| | | ", missControlReason=" + missControlReason + |
| | | ", missControlCorrect=" + missControlCorrect + |
| | | ", inspectMissControl=" + inspectMissControl + |
| | | ", rewardAndPunishiment=" + rewardAndPunishiment + |
| | | ", isAgainCrime=" + isAgainCrime + |
| | | ", againCrimeName=" + againCrimeName + |
| | | ", pubishmentChange=" + pubishmentChange + |
| | | ", caseType=" + caseType + |
| | | ", specificCharge=" + specificCharge + |
| | | ", originalTerm=" + originalTerm + |
| | | ", originalTermBegin=" + originalTermBegin + |
| | | ", originalTermEnd=" + originalTermEnd + |
| | | ", cultureLevel=" + cultureLevel + |
| | | ", correctPersonCode=" + correctPersonCode + |
| | | ", originalCustodyplace=" + originalCustodyplace + |
| | | ", remark=" + remark + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:58:07 |
| | | * @describe 邪教人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_cult_population") |
| | | @EncryptDecryptClass |
| | | public class ComCultPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 邪教名称 |
| | | */ |
| | | private String cultName; |
| | | |
| | | /** |
| | | * 基本情况(参加邪教的活动情况) |
| | | */ |
| | | private String basicSituation; |
| | | |
| | | /** |
| | | * 参加邪教时间 |
| | | */ |
| | | private Date joinCultDate; |
| | | |
| | | /** |
| | | * 是否对外宣传(1.是 0.否) |
| | | */ |
| | | private Integer isExternalPublicity; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComCultPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", cultName=" + cultName + |
| | | ", basicSituation=" + basicSituation + |
| | | ", joinCultDate=" + joinCultDate + |
| | | ", isExternalPublicity=" + isExternalPublicity + |
| | | ", remark=" + remark + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:48:22 |
| | | * @describe 实有人口导入》残疾人表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_disability_population") |
| | | @EncryptDecryptClass |
| | | public class ComDisabilityPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 办证状况 |
| | | */ |
| | | private String certificateSituation; |
| | | |
| | | /** |
| | | * 残疾类别 |
| | | */ |
| | | private String disType; |
| | | |
| | | /** |
| | | * 残疾等级 |
| | | */ |
| | | private String disLevel; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComDisabilityPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", phone=" + phone + |
| | | ", certificateSituation=" + certificateSituation + |
| | | ", disType=" + disType + |
| | | ", disLevel=" + disLevel + |
| | | ", remark=" + remark + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:57:18 |
| | | * @describe 吸毒人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_drug_population") |
| | | @EncryptDecryptClass |
| | | public class ComDrugPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 初次发现日期 |
| | | */ |
| | | private Date firstDate; |
| | | |
| | | /** |
| | | * 管控情况 |
| | | */ |
| | | private String controlSituation; |
| | | |
| | | /** |
| | | * 管控人姓名 |
| | | */ |
| | | private String controlPerson; |
| | | |
| | | /** |
| | | * 管控人联系方式 |
| | | */ |
| | | private String controlPersonPhone; |
| | | |
| | | /** |
| | | * 帮扶情况 |
| | | */ |
| | | private String helpSituation; |
| | | |
| | | /** |
| | | * 帮扶人姓名 |
| | | */ |
| | | private String helpPerson; |
| | | |
| | | /** |
| | | * 帮扶人联系方式 |
| | | */ |
| | | private String helpPersonPhone; |
| | | |
| | | /** |
| | | * 吸毒原因 |
| | | */ |
| | | private String drugReason; |
| | | |
| | | /** |
| | | * 吸毒后果 |
| | | */ |
| | | private String drugResult; |
| | | |
| | | /** |
| | | * 有无犯罪史 |
| | | */ |
| | | private String haveCrime; |
| | | |
| | | /** |
| | | * 违法犯罪情况 |
| | | */ |
| | | private String crimeSutiation; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComDrugPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", phone=" + phone + |
| | | ", firstDate=" + firstDate + |
| | | ", controlSituation=" + controlSituation + |
| | | ", controlPerson=" + controlPerson + |
| | | ", controlPersonPhone=" + controlPersonPhone + |
| | | ", helpSituation=" + helpSituation + |
| | | ", helpPerson=" + helpPerson + |
| | | ", helpPersonPhone=" + helpPersonPhone + |
| | | ", drugReason=" + drugReason + |
| | | ", drugResult=" + drugResult + |
| | | ", haveCrime=" + haveCrime + |
| | | ", crimeSutiation=" + crimeSutiation + |
| | | ", remark=" + remark + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:05 |
| | | * @describe 实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_key_population") |
| | | @EncryptDecryptClass |
| | | public class ComKeyPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:48:38 |
| | | * @describe 实有人口导入》低保户人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_low_security_population") |
| | | @EncryptDecryptClass |
| | | public class ComLowSecurityPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 地区 |
| | | */ |
| | | private String region; |
| | | |
| | | /** |
| | | * 家庭编码 |
| | | */ |
| | | private String familyCode; |
| | | |
| | | /** |
| | | * 组名称 |
| | | */ |
| | | private String groupName; |
| | | |
| | | /** |
| | | * 分类救助类别 |
| | | */ |
| | | private String classifiedRescueCategory; |
| | | |
| | | /** |
| | | * 申请日期 |
| | | */ |
| | | private Date applyDate; |
| | | |
| | | /** |
| | | * 户主姓名 |
| | | */ |
| | | private String houseHolderName; |
| | | |
| | | /** |
| | | * 户主身份证 |
| | | */ |
| | | private String houseHolderCardNo; |
| | | |
| | | /** |
| | | * 户主编码 |
| | | */ |
| | | private String houseHolderCode; |
| | | |
| | | /** |
| | | * 居住地邮编 |
| | | */ |
| | | private String residencePostalCode; |
| | | |
| | | /** |
| | | * 救助证号 |
| | | */ |
| | | private String salvageCertificateNo; |
| | | |
| | | /** |
| | | * 保障人口数 |
| | | */ |
| | | private Integer guaranteedPopulationNumber; |
| | | |
| | | /** |
| | | * 家庭人口数 |
| | | */ |
| | | private Integer familyPopulationNumber; |
| | | |
| | | /** |
| | | * 开户人 |
| | | */ |
| | | private String accountPerson; |
| | | |
| | | /** |
| | | * 开户银行 |
| | | */ |
| | | private String accountBank; |
| | | |
| | | /** |
| | | * 开户人身份证号 |
| | | */ |
| | | private String accountCardNo; |
| | | |
| | | /** |
| | | * 银行账号 |
| | | */ |
| | | private String bankAccount; |
| | | |
| | | /** |
| | | * 供养机构 |
| | | */ |
| | | private String supportInstitutions; |
| | | |
| | | /** |
| | | * 资金发放方式 |
| | | */ |
| | | private String distributionMethod; |
| | | |
| | | /** |
| | | * 保障金额 |
| | | */ |
| | | private BigDecimal guaranteedAmount; |
| | | |
| | | /** |
| | | * 调剂金额 |
| | | */ |
| | | private BigDecimal reallocationAmount; |
| | | |
| | | /** |
| | | * 差额救助金额 |
| | | */ |
| | | private BigDecimal differenceReliefAmount; |
| | | |
| | | /** |
| | | * 分类施保金额 |
| | | */ |
| | | private BigDecimal classifiedInsuredAmount; |
| | | |
| | | /** |
| | | * 家庭月总收入 |
| | | */ |
| | | private BigDecimal totalMonthlyFamilyIncome; |
| | | |
| | | /** |
| | | * 家庭月均收入 |
| | | */ |
| | | private BigDecimal averageMonthlyFamilyIncome; |
| | | |
| | | /** |
| | | * 家庭月支出 |
| | | */ |
| | | private BigDecimal totalMonthlyFamilyExpenditure; |
| | | |
| | | /** |
| | | * 经度 |
| | | */ |
| | | private String lng; |
| | | |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | private String lat; |
| | | |
| | | /** |
| | | * 始发年月 |
| | | */ |
| | | private Date originateDate; |
| | | |
| | | /** |
| | | * 护理费 |
| | | */ |
| | | private BigDecimal nursingFee; |
| | | |
| | | /** |
| | | * 申请理由 |
| | | */ |
| | | private String applyReason; |
| | | |
| | | /** |
| | | * 审核意见 |
| | | */ |
| | | private String reviewComment; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:57:54 |
| | | * @describe 重精人员表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_major_population") |
| | | @EncryptDecryptClass |
| | | public class ComMajorPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 经济状况 |
| | | */ |
| | | private String economicCondition; |
| | | |
| | | /** |
| | | * 人员类型 |
| | | */ |
| | | private String personType; |
| | | |
| | | /** |
| | | * 家庭情况 |
| | | */ |
| | | private String familySituation; |
| | | |
| | | /** |
| | | * 监护人姓名 |
| | | */ |
| | | private String custodyPerson; |
| | | |
| | | /** |
| | | * 与监护人关系 |
| | | */ |
| | | private Integer custodyRelation; |
| | | |
| | | /** |
| | | * 监护人公民身份号码 |
| | | */ |
| | | private String custodyCardNo; |
| | | |
| | | /** |
| | | * 监护人联系方式 |
| | | */ |
| | | private String custodyPersonPhone; |
| | | |
| | | /** |
| | | * 监护人居住详址 |
| | | */ |
| | | private String custodyAddress; |
| | | |
| | | /** |
| | | * 帮扶人姓名 |
| | | */ |
| | | private String helpPerson; |
| | | |
| | | /** |
| | | * 帮扶人联系方式 |
| | | */ |
| | | private String helpPersonPhone; |
| | | |
| | | /** |
| | | * 帮扶手段 |
| | | */ |
| | | private String helpMethod; |
| | | |
| | | /** |
| | | * 帮扶情况 |
| | | */ |
| | | private String helpSituation; |
| | | |
| | | /** |
| | | * 是否违法犯罪(1.是 0.否) |
| | | */ |
| | | private Integer isCrime; |
| | | |
| | | /** |
| | | * 违法犯罪情况 |
| | | */ |
| | | private String crimeSutiation; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComMajorPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", economicCondition=" + economicCondition + |
| | | ", personType=" + personType + |
| | | ", familySituation=" + familySituation + |
| | | ", custodyPerson=" + custodyPerson + |
| | | ", custodyRelation=" + custodyRelation + |
| | | ", custodyCardNo=" + custodyCardNo + |
| | | ", custodyPersonPhone=" + custodyPersonPhone + |
| | | ", custodyAddress=" + custodyAddress + |
| | | ", helpPerson=" + helpPerson + |
| | | ", helpPersonPhone=" + helpPersonPhone + |
| | | ", helpMethod=" + helpMethod + |
| | | ", helpSituation=" + helpSituation + |
| | | ", isCrime=" + isCrime + |
| | | ", crimeSutiation=" + crimeSutiation + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-10 15:58:23 |
| | | * @describe 实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_rehabilitation_population") |
| | | @EncryptDecryptClass |
| | | public class ComRehabilitationPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 与人员关系 |
| | | */ |
| | | private Integer patientRelation; |
| | | |
| | | /** |
| | | * 列管原因及类型 |
| | | */ |
| | | private String rehabReasonAndType; |
| | | |
| | | /** |
| | | * 是否列管(1.是 0.否) |
| | | */ |
| | | private Integer isRehab; |
| | | |
| | | /** |
| | | * 是否累惯犯(1.是 0.否) |
| | | */ |
| | | private Integer isRecidivist; |
| | | |
| | | /** |
| | | * 原判刑期 |
| | | */ |
| | | private String originalTerm; |
| | | |
| | | /** |
| | | * 服刑日期 |
| | | */ |
| | | private Date sentenceBegin; |
| | | |
| | | /** |
| | | * 原罪名 |
| | | */ |
| | | private String originalCharge; |
| | | |
| | | /** |
| | | * 释放日期 |
| | | */ |
| | | private Date sentenceEnd; |
| | | |
| | | /** |
| | | * 服刑场所 |
| | | */ |
| | | private String sentencePlace; |
| | | |
| | | /** |
| | | * 危险性评估 |
| | | */ |
| | | private String riskAssessment; |
| | | |
| | | /** |
| | | * 衔接日期 |
| | | */ |
| | | private Date joinDate; |
| | | |
| | | /** |
| | | * 衔接情况 |
| | | */ |
| | | private String joinSituation; |
| | | |
| | | /** |
| | | * 是否重新犯罪(1.是 0.否) |
| | | */ |
| | | private Integer isAgainCrime; |
| | | |
| | | /** |
| | | * 重新犯罪名称 |
| | | */ |
| | | private String againCrimeName; |
| | | |
| | | /** |
| | | * 安置情况 |
| | | */ |
| | | private String placeSituation; |
| | | |
| | | /** |
| | | * 安置日期 |
| | | */ |
| | | private Date placeDate; |
| | | |
| | | /** |
| | | * 未安置原因 |
| | | */ |
| | | private String notPlaceReason; |
| | | |
| | | /** |
| | | * 帮教开始 |
| | | */ |
| | | private Date helpBegin; |
| | | |
| | | /** |
| | | * 帮教结束 |
| | | */ |
| | | private Date helpEnd; |
| | | |
| | | /** |
| | | * 帮教情况 |
| | | */ |
| | | private String helpSituation; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComRehabilitationPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", phone=" + phone + |
| | | ", patientRelation=" + patientRelation + |
| | | ", rehabReasonAndType=" + rehabReasonAndType + |
| | | ", isRehab=" + isRehab + |
| | | ", isRecidivist=" + isRecidivist + |
| | | ", originalTerm=" + originalTerm + |
| | | ", sentenceBegin=" + sentenceBegin + |
| | | ", originalCharge=" + originalCharge + |
| | | ", sentenceEnd=" + sentenceEnd + |
| | | ", sentencePlace=" + sentencePlace + |
| | | ", riskAssessment=" + riskAssessment + |
| | | ", joinDate=" + joinDate + |
| | | ", joinSituation=" + joinSituation + |
| | | ", isAgainCrime=" + isAgainCrime + |
| | | ", againCrimeName=" + againCrimeName + |
| | | ", placeSituation=" + placeSituation + |
| | | ", placeDate=" + placeDate + |
| | | ", notPlaceReason=" + notPlaceReason + |
| | | ", helpBegin=" + helpBegin + |
| | | ", helpEnd=" + helpEnd + |
| | | ", helpSituation=" + helpSituation + |
| | | ", remark=" + remark + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:26 |
| | | * @describe 实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_sentence_population") |
| | | @EncryptDecryptClass |
| | | public class ComSentencePopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 配偶 |
| | | */ |
| | | private String spouse; |
| | | |
| | | /** |
| | | * 服刑开始时间 |
| | | */ |
| | | private Date sentenceBegin; |
| | | |
| | | /** |
| | | * 服刑结束时间 |
| | | */ |
| | | private Date sentenceEnd; |
| | | |
| | | /** |
| | | * 罪名 |
| | | */ |
| | | private String charge; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComSentencePopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", phone=" + phone + |
| | | ", spouse=" + spouse + |
| | | ", sentenceBegin=" + sentenceBegin + |
| | | ", sentenceEnd=" + sentenceEnd + |
| | | ", charge=" + charge + |
| | | ", remark=" + remark + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.model.dos; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:48:54 |
| | | * @describe 实有人口导入》退役军人表实体类 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("com_veterans_population") |
| | | @EncryptDecryptClass |
| | | public class ComVeteransPopulationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键id |
| | | */ |
| | | @TableId(type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人口id |
| | | */ |
| | | private Long populationId; |
| | | |
| | | /** |
| | | * 街道id |
| | | */ |
| | | private Long streetId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份证号码 |
| | | */ |
| | | @EncryptDecryptField |
| | | private String cardNo; |
| | | |
| | | /** |
| | | * 联系电话 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 人员状态:正常、失联、出国(取字典表) |
| | | */ |
| | | private String personStatus; |
| | | |
| | | /** |
| | | * 机构 |
| | | */ |
| | | private String organization; |
| | | |
| | | /** |
| | | * 照片 |
| | | */ |
| | | private String photo; |
| | | |
| | | /** |
| | | * 户籍性质(1.城镇户口 2.农村户口) |
| | | */ |
| | | private Integer regiterNature; |
| | | |
| | | /** |
| | | * 入伍时间 |
| | | */ |
| | | private Date enlistDate; |
| | | |
| | | /** |
| | | * 退伍时间 |
| | | */ |
| | | private Date retireDate; |
| | | |
| | | /** |
| | | * 人员类别 |
| | | */ |
| | | private String personCategory; |
| | | |
| | | /** |
| | | * 住房状况 |
| | | */ |
| | | private String houseSituation; |
| | | |
| | | /** |
| | | * 住房状况其他 |
| | | */ |
| | | private String houseSituationOther; |
| | | |
| | | /** |
| | | * 建筑面积 |
| | | */ |
| | | private String buildArea; |
| | | |
| | | /** |
| | | * 现就业情况 |
| | | */ |
| | | private String employmentSituation; |
| | | |
| | | /** |
| | | * 在职情况类型 |
| | | */ |
| | | private String incumbencyType; |
| | | |
| | | /** |
| | | * 现就业情况其他 |
| | | */ |
| | | private String employmentSituationOther; |
| | | |
| | | /** |
| | | * 养老保险 |
| | | */ |
| | | private String endowmentInsurance; |
| | | |
| | | /** |
| | | * 医疗保险 |
| | | */ |
| | | private String medicalInsurance; |
| | | |
| | | /** |
| | | * 现个人年收入(单位:元) |
| | | */ |
| | | private String annualIncome; |
| | | |
| | | /** |
| | | * 父亲健康状况 |
| | | */ |
| | | private String fatherHealthy; |
| | | |
| | | /** |
| | | * 母亲健康状况 |
| | | */ |
| | | private String motherHealthy; |
| | | |
| | | /** |
| | | * 配偶健康状况 |
| | | */ |
| | | private String spouseHealthy; |
| | | |
| | | /** |
| | | * 儿子健康状况 |
| | | */ |
| | | private String sonHealthy; |
| | | |
| | | /** |
| | | * 女儿健康状况 |
| | | */ |
| | | private String daughterDealthy; |
| | | |
| | | /** |
| | | * 主要困难 |
| | | */ |
| | | private String mainDifficulty; |
| | | |
| | | /** |
| | | * 其他困难 |
| | | */ |
| | | private String otherDifficulty; |
| | | |
| | | /** |
| | | * 主要诉求 |
| | | */ |
| | | private String mainDemand; |
| | | |
| | | /** |
| | | * 主要诉求其他事项问题(手填) |
| | | */ |
| | | private String mainDemandOther; |
| | | |
| | | /** |
| | | * 需参加的学历培训 |
| | | */ |
| | | private String academicTraining; |
| | | |
| | | /** |
| | | * 是否已参加退役军人培训(政府性质)1.是 2.否 |
| | | */ |
| | | private Integer isVeteransTraining; |
| | | |
| | | /** |
| | | * 入伍前学历 |
| | | */ |
| | | private String educationBeforeEnlistment; |
| | | |
| | | /** |
| | | * 再教育学历 |
| | | */ |
| | | private String reEducation; |
| | | |
| | | /** |
| | | * 所学专业 |
| | | */ |
| | | private String major; |
| | | |
| | | /** |
| | | * 所学专业其他 |
| | | */ |
| | | private String majorOther; |
| | | |
| | | /** |
| | | * 曾从事行业(含现从事行业) |
| | | */ |
| | | private String onceEngagedIndustry; |
| | | |
| | | /** |
| | | * 曾从事行业(含现从事行业)其他(手填) |
| | | */ |
| | | private String onceEngagedIndustryOther; |
| | | |
| | | /** |
| | | * 意向就业地点 |
| | | */ |
| | | private String intendedPlaceOfEmployment; |
| | | |
| | | /** |
| | | * 意向就业地点其他地区(手填) |
| | | */ |
| | | private String intendedPlaceOfEmploymentOther; |
| | | |
| | | /** |
| | | * 待业期间的求职意向 |
| | | */ |
| | | private String unemploymedEngagedIndustry; |
| | | |
| | | /** |
| | | * 待业期间的求职意向其他(手填) |
| | | */ |
| | | private String unemploymedEngagedIndustryOther; |
| | | |
| | | /** |
| | | * 是否有创业意愿(1.是 2.否) |
| | | */ |
| | | private Integer isBusiness; |
| | | |
| | | /** |
| | | * 创业意愿 |
| | | */ |
| | | private String businessDesire; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 填表单位 |
| | | */ |
| | | private String fillUnit; |
| | | |
| | | /** |
| | | * 填表人 |
| | | */ |
| | | private String fillPerson; |
| | | |
| | | /** |
| | | * 填表人联系电话 |
| | | */ |
| | | private String fillPersonPhone; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private Long createBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | |
| | | /** |
| | | * 修改用户 |
| | | */ |
| | | private Long updateBy; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ComVeteransPopulationDO{" + |
| | | "id=" + id + |
| | | ", populationId=" + populationId + |
| | | ", streetId=" + streetId + |
| | | ", communityId=" + communityId + |
| | | ", name=" + name + |
| | | ", cardNo=" + cardNo + |
| | | ", phone=" + phone + |
| | | ", personStatus=" + personStatus + |
| | | ", organization=" + organization + |
| | | ", photo=" + photo + |
| | | ", regiterNature=" + regiterNature + |
| | | ", enlistDate=" + enlistDate + |
| | | ", retireDate=" + retireDate + |
| | | ", personCategory=" + personCategory + |
| | | ", houseSituation=" + houseSituation + |
| | | ", houseSituationOther=" + houseSituationOther + |
| | | ", buildArea=" + buildArea + |
| | | ", employmentSituation=" + employmentSituation + |
| | | ", incumbencyType=" + incumbencyType + |
| | | ", employmentSituationOther=" + employmentSituationOther + |
| | | ", endowmentInsurance=" + endowmentInsurance + |
| | | ", medicalInsurance=" + medicalInsurance + |
| | | ", annualIncome=" + annualIncome + |
| | | ", fatherHealthy=" + fatherHealthy + |
| | | ", motherHealthy=" + motherHealthy + |
| | | ", spouseHealthy=" + spouseHealthy + |
| | | ", sonHealthy=" + sonHealthy + |
| | | ", daughterDealthy=" + daughterDealthy + |
| | | ", mainDifficulty=" + mainDifficulty + |
| | | ", otherDifficulty=" + otherDifficulty + |
| | | ", mainDemand=" + mainDemand + |
| | | ", mainDemandOther=" + mainDemandOther + |
| | | ", academicTraining=" + academicTraining + |
| | | ", isVeteransTraining=" + isVeteransTraining + |
| | | ", educationBeforeEnlistment=" + educationBeforeEnlistment + |
| | | ", reEducation=" + reEducation + |
| | | ", major=" + major + |
| | | ", majorOther=" + majorOther + |
| | | ", onceEngagedIndustry=" + onceEngagedIndustry + |
| | | ", onceEngagedIndustryOther=" + onceEngagedIndustryOther + |
| | | ", intendedPlaceOfEmployment=" + intendedPlaceOfEmployment + |
| | | ", intendedPlaceOfEmploymentOther=" + intendedPlaceOfEmploymentOther + |
| | | ", unemploymedEngagedIndustry=" + unemploymedEngagedIndustry + |
| | | ", unemploymedEngagedIndustryOther=" + unemploymedEngagedIndustryOther + |
| | | ", isBusiness=" + isBusiness + |
| | | ", businessDesire=" + businessDesire + |
| | | ", remark=" + remark + |
| | | ", fillUnit=" + fillUnit + |
| | | ", fillPerson=" + fillPerson + |
| | | ", fillPersonPhone=" + fillPersonPhone + |
| | | ", createAt=" + createAt + |
| | | ", createBy=" + createBy + |
| | | ", updateAt=" + updateAt + |
| | | ", updateBy=" + updateBy + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComCorrectPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 16:45:25 |
| | | * @describe 社区矫正人员表服务类 |
| | | */ |
| | | public interface ComCorrectPopulationService extends IService<ComCorrectPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComCultPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:24 |
| | | * @describe 邪教人员表服务类 |
| | | */ |
| | | public interface ComCultPopulationService extends IService<ComCultPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComDisabilityPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:54:57 |
| | | * @describe 实有人口导入》残疾人表服务类 |
| | | */ |
| | | public interface ComDisabilityPopulationService extends IService<ComDisabilityPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComDrugPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 15:37:19 |
| | | * @describe 吸毒人员表服务类 |
| | | */ |
| | | public interface ComDrugPopulationService extends IService<ComDrugPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComKeyPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:05 |
| | | * @describe 服务类 |
| | | */ |
| | | public interface ComKeyPopulationService extends IService<ComKeyPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComLowSecurityPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:52:55 |
| | | * @describe 实有人口导入》低保户人员表服务类 |
| | | */ |
| | | public interface ComLowSecurityPopulationService extends IService<ComLowSecurityPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComMajorPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:14:17 |
| | | * @describe 重精人员表服务类 |
| | | */ |
| | | public interface ComMajorPopulationService extends IService<ComMajorPopulationDO> { |
| | | |
| | | } |
| | |
| | | R listSaveDisabilityPopulation(List<ComMngPopulationDisabilityExcelVO> list, Long communityId); |
| | | |
| | | /** |
| | | * 批量导入低保户 |
| | | * |
| | | * @param list 低保户数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | R listSaveLowSecurityPopulation(List<ComMngPopulationLowSecurityExcelVO> list, Long communityId); |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | | * |
| | | * @param list 用户信息 |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComRehabilitationPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:41 |
| | | * @describe 服务类 |
| | | */ |
| | | public interface ComRehabilitationPopulationService extends IService<ComRehabilitationPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComSentencePopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:26 |
| | | * @describe 服务类 |
| | | */ |
| | | public interface ComSentencePopulationService extends IService<ComSentencePopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.model.dos.ComVeteransPopulationDO; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:56:46 |
| | | * @describe 实有人口导入》退役军人表服务类 |
| | | */ |
| | | public interface ComVeteransPopulationService extends IService<ComVeteransPopulationDO> { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComCorrectPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComCorrectPopulationDO; |
| | | import com.panzhihua.service_community.service.ComCorrectPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 16:45:25 |
| | | * @describe 社区矫正人员表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComCorrectPopulationServiceImpl extends ServiceImpl<ComCorrectPopulationDAO, ComCorrectPopulationDO> implements ComCorrectPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComCultPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComCultPopulationDO; |
| | | import com.panzhihua.service_community.service.ComCultPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:24 |
| | | * @describe 邪教人员表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComCultPopulationServiceImpl extends ServiceImpl<ComCultPopulationDAO, ComCultPopulationDO> implements ComCultPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComDisabilityPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComDisabilityPopulationDO; |
| | | import com.panzhihua.service_community.service.ComDisabilityPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:54:57 |
| | | * @describe 实有人口导入》残疾人表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComDisabilityPopulationServiceImpl extends ServiceImpl<ComDisabilityPopulationDAO, ComDisabilityPopulationDO> implements ComDisabilityPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComDrugPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComDrugPopulationDO; |
| | | import com.panzhihua.service_community.service.ComDrugPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 15:37:19 |
| | | * @describe 吸毒人员表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComDrugPopulationServiceImpl extends ServiceImpl<ComDrugPopulationDAO, ComDrugPopulationDO> implements ComDrugPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComKeyPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComKeyPopulationDO; |
| | | import com.panzhihua.service_community.service.ComKeyPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:05 |
| | | * @describe 服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComKeyPopulationServiceImpl extends ServiceImpl<ComKeyPopulationDAO, ComKeyPopulationDO> implements ComKeyPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComLowSecurityPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComLowSecurityPopulationDO; |
| | | import com.panzhihua.service_community.service.ComLowSecurityPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:52:55 |
| | | * @describe 实有人口导入》低保户人员表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComLowSecurityPopulationServiceImpl extends ServiceImpl<ComLowSecurityPopulationDAO, ComLowSecurityPopulationDO> implements ComLowSecurityPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComMajorPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComMajorPopulationDO; |
| | | import com.panzhihua.service_community.service.ComMajorPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:14:17 |
| | | * @describe 重精人员表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComMajorPopulationServiceImpl extends ServiceImpl<ComMajorPopulationDAO, ComMajorPopulationDO> implements ComMajorPopulationService { |
| | | |
| | | } |
| | |
| | | private BigScreenDAO bigScreenDAO; |
| | | @Resource |
| | | private ComMngUserTagDAO comMngUserTagDAO; |
| | | @Resource |
| | | private ComDrugPopulationDAO comDrugPopulationDAO; |
| | | @Resource |
| | | private ComCorrectPopulationDAO comCorrectPopulationDAO; |
| | | @Resource |
| | | private ComMajorPopulationDAO comMajorPopulationDAO; |
| | | @Resource |
| | | private ComCultPopulationDAO comCultPopulationDAO; |
| | | @Resource |
| | | private ComRehabilitationPopulationDAO comRehabilitationPopulationDAO; |
| | | @Resource |
| | | private ComKeyPopulationDAO comKeyPopulationDAO; |
| | | @Resource |
| | | private ComSentencePopulationDAO comSentencePopulationDAO; |
| | | @Resource |
| | | private ComVeteransPopulationDAO comVeteransPopulationDAO; |
| | | @Resource |
| | | private ComDisabilityPopulationDAO comDisabilityPopulationDAO; |
| | | @Resource |
| | | private ComLowSecurityPopulationDAO comLowSecurityPopulationDAO; |
| | | @Value("${domain.aesKey:}") |
| | | private String aesKey; |
| | | |
| | |
| | | List<ComMngPopulationCarVO> carList = comMngCarDAO.getPopulationCarListByIdCard(comMngPopulationDO.getCardNo()); |
| | | if (!carList.isEmpty()) { |
| | | comMngPopulationVO.setCarList(carList); |
| | | } |
| | | |
| | | //吸毒信息 |
| | | ComDrugPopulationVO comDrugPopulationVO = new ComDrugPopulationVO(); |
| | | ComDrugPopulationDO comDrugPopulationDO = comDrugPopulationDAO.selectOne(new QueryWrapper<ComDrugPopulationDO>(). |
| | | lambda().eq(ComDrugPopulationDO::getPopulationId, populationId)); |
| | | if (null != comDrugPopulationDO) { |
| | | BeanUtils.copyProperties(comDrugPopulationDO, comDrugPopulationVO); |
| | | comMngPopulationVO.setComDrugPopulationVO(comDrugPopulationVO); |
| | | } |
| | | |
| | | //社区矫正信息 |
| | | ComCorrectPopulationVO comCorrectPopulationVO = new ComCorrectPopulationVO(); |
| | | ComCorrectPopulationDO comCorrectPopulationDO = comCorrectPopulationDAO.selectOne(new QueryWrapper<ComCorrectPopulationDO>(). |
| | | lambda().eq(ComCorrectPopulationDO::getPopulationId, populationId)); |
| | | if (null != comCorrectPopulationDO) { |
| | | BeanUtils.copyProperties(comCorrectPopulationDO, comCorrectPopulationVO); |
| | | comMngPopulationVO.setComCorrectPopulationVO(comCorrectPopulationVO); |
| | | } |
| | | |
| | | //精神障碍信息 |
| | | ComMajorPopulationVO comMajorPopulationVO = new ComMajorPopulationVO(); |
| | | ComMajorPopulationDO comMajorPopulationDO = comMajorPopulationDAO.selectOne(new QueryWrapper<ComMajorPopulationDO>(). |
| | | lambda().eq(ComMajorPopulationDO::getPopulationId, populationId)); |
| | | if (null != comMajorPopulationDO) { |
| | | BeanUtils.copyProperties(comMajorPopulationDO, comMajorPopulationVO); |
| | | comMngPopulationVO.setComMajorPopulationVO(comMajorPopulationVO); |
| | | } |
| | | |
| | | //邪教信息 |
| | | ComCultPopulationVO comCultPopulationVO = new ComCultPopulationVO(); |
| | | ComCultPopulationDO comCultPopulationDO = comCultPopulationDAO.selectOne(new QueryWrapper<ComCultPopulationDO>(). |
| | | lambda().eq(ComCultPopulationDO::getPopulationId, populationId)); |
| | | if (null != comCultPopulationDO) { |
| | | BeanUtils.copyProperties(comCultPopulationDO, comCultPopulationVO); |
| | | comMngPopulationVO.setComCultPopulationVO(comCultPopulationVO); |
| | | } |
| | | |
| | | //刑释信息 |
| | | ComRehabilitationPopulationVO comRehabilitationPopulationVO = new ComRehabilitationPopulationVO(); |
| | | ComRehabilitationPopulationDO comRehabilitationPopulationDO = comRehabilitationPopulationDAO.selectOne(new QueryWrapper<ComRehabilitationPopulationDO>(). |
| | | lambda().eq(ComRehabilitationPopulationDO::getPopulationId, populationId)); |
| | | if (null != comRehabilitationPopulationDO) { |
| | | BeanUtils.copyProperties(comRehabilitationPopulationDO, comRehabilitationPopulationVO); |
| | | comMngPopulationVO.setComRehabilitationPopulationVO(comRehabilitationPopulationVO); |
| | | } |
| | | |
| | | //上访信息 |
| | | ComKeyPopulationVO comKeyPopulationVO = new ComKeyPopulationVO(); |
| | | ComKeyPopulationDO comKeyPopulationDO = comKeyPopulationDAO.selectOne(new QueryWrapper<ComKeyPopulationDO>(). |
| | | lambda().eq(ComKeyPopulationDO::getPopulationId, populationId)); |
| | | if (null != comRehabilitationPopulationDO) { |
| | | BeanUtils.copyProperties(comKeyPopulationDO, comKeyPopulationVO); |
| | | comMngPopulationVO.setComKeyPopulationVO(comKeyPopulationVO); |
| | | } |
| | | |
| | | //退役军人信息 |
| | | ComVeteransPopulationVO comVeteransPopulationVO = new ComVeteransPopulationVO(); |
| | | ComVeteransPopulationDO comVeteransPopulationDO = comVeteransPopulationDAO.selectOne(new QueryWrapper<ComVeteransPopulationDO>(). |
| | | lambda().eq(ComVeteransPopulationDO::getPopulationId, populationId)); |
| | | if (null != comRehabilitationPopulationDO) { |
| | | BeanUtils.copyProperties(comVeteransPopulationDO, comVeteransPopulationVO); |
| | | comMngPopulationVO.setComVeteransPopulationVO(comVeteransPopulationVO); |
| | | } |
| | | |
| | | //残疾人信息 |
| | | ComDisabilityPopulationVO comDisabilityPopulationVO = new ComDisabilityPopulationVO(); |
| | | ComDisabilityPopulationDO comDisabilityPopulationDO = comDisabilityPopulationDAO.selectOne(new QueryWrapper<ComDisabilityPopulationDO>(). |
| | | lambda().eq(ComDisabilityPopulationDO::getPopulationId, populationId)); |
| | | if (null != comRehabilitationPopulationDO) { |
| | | BeanUtils.copyProperties(comDisabilityPopulationDO, comDisabilityPopulationVO); |
| | | comMngPopulationVO.setComDisabilityPopulationVO(comDisabilityPopulationVO); |
| | | } |
| | | |
| | | //低保户信息 |
| | | ComLowSecurityPopulationVO comLowSecurityPopulationVO = new ComLowSecurityPopulationVO(); |
| | | ComLowSecurityPopulationDO comLowSecurityPopulationDO = comLowSecurityPopulationDAO.selectOne(new QueryWrapper<ComLowSecurityPopulationDO>(). |
| | | lambda().eq(ComLowSecurityPopulationDO::getPopulationId, populationId)); |
| | | if (null != comRehabilitationPopulationDO) { |
| | | BeanUtils.copyProperties(comLowSecurityPopulationDO, comLowSecurityPopulationVO); |
| | | comMngPopulationVO.setComLowSecurityPopulationVO(comLowSecurityPopulationVO); |
| | | } |
| | | return R.ok(comMngPopulationVO); |
| | | } |
| | |
| | | return R.ok(mistakes); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R listSaveLowSecurityPopulation(List<ComMngPopulationLowSecurityExcelVO> list, Long communityId) { |
| | | //需要新增的房屋集合 |
| | | List<ComMngPopulationHouseDO> houseList = new ArrayList<>(); |
| | | //需要新增的人口集合 |
| | | List<ComMngPopulationDO> saveList = new ArrayList<>(); |
| | | //需要修改的人口集合 |
| | | List<ComMngPopulationDO> updateList = new ArrayList<>(); |
| | | //需要新增的吸毒人员集合 |
| | | List<ComDrugPopulationDO> saveDrugList = new ArrayList<>(); |
| | | //需要修改的吸毒人员集合 |
| | | List<ComDrugPopulationDO> updateDrugList = new ArrayList<>(); |
| | | //需要新增的人口与房屋关系集合 |
| | | List<ComMngPopulationHouseUserDO> houseUserList = new ArrayList<>(); |
| | | |
| | | log.info("开始处理导入数据"); |
| | | List<ComMngPopulationLowSecurityMistakeExcelVO> mistakes = new ArrayList<>(); |
| | | try { |
| | | //查询社区信息 |
| | | log.info("开始查询社区信息数据"); |
| | | ComPopulationActVO populationActVO = comActDAO.getPopulationActById(communityId); |
| | | if(populationActVO == null){ |
| | | log.error("未查询到社区信息"); |
| | | return R.fail("未查询到社区信息"); |
| | | } |
| | | log.info("开始查询社区信息数据完成"); |
| | | |
| | | //查询当前社区标签列表 |
| | | List<String> labelList = new ArrayList<>(); |
| | | List<ComMngUserTagDO> comMngUserTagDOS = comMngUserTagDAO.selectList(new QueryWrapper<ComMngUserTagDO>().eq("sys_flag", 1).or().eq("community_id", communityId)); |
| | | if (!ObjectUtils.isEmpty(comMngUserTagDOS)) { |
| | | labelList = comMngUserTagDOS.stream().map(comMngUserTagDO -> comMngUserTagDO.getTagName()).collect(Collectors.toList()); |
| | | } |
| | | |
| | | StringBuilder areaPath = new StringBuilder(); |
| | | areaPath.append(populationActVO.getProvinceName()).append(">").append(populationActVO.getCityName()).append(">").append(populationActVO.getDistrictName()).append(">"); |
| | | //处理实有人口信息 |
| | | Integer nub = 1; |
| | | |
| | | //查询所有人口数据放入HashMap中 |
| | | List<ComMngPopulationDO> populationList = this.baseMapper.selectList(null); |
| | | HashMap<String,Object> populationMap = new HashMap<>(); |
| | | populationList.forEach(population -> { |
| | | String key = population.getCardNo(); |
| | | populationMap.put(key,population); |
| | | }); |
| | | //查询所有房屋信息放入到HashMap中 |
| | | List<ComMngPopulationHouseDO> houseLists = comMngPopulationHouseDAO.selectList(null); |
| | | HashMap<String,Object> houseMap = new HashMap<>(); |
| | | houseLists.forEach(house -> { |
| | | String key = house.getCommunityId() + house.getVillageId() + house.getFloor() + house.getUnitNo() + house.getHouseNo(); |
| | | houseMap.put(key,house); |
| | | }); |
| | | |
| | | List<ComMngVillageDO> villageList = comActVillageDAO.selectList(null); |
| | | HashMap<String,Object> villageMap = new HashMap<>(); |
| | | villageList.forEach(village -> { |
| | | String key = village.getCommunityId() + village.getAlley() + village.getHouseNum(); |
| | | villageMap.put(key,village); |
| | | }); |
| | | |
| | | List<ComMngPopulationHouseUserDO> houseUserLists = comMngPopulationHouseUserDAO.selectList(null); |
| | | HashMap<String,Object> houseUserMap = new HashMap<>(); |
| | | houseUserLists.forEach(houseUser -> { |
| | | String key = houseUser.getPopulId() + houseUser.getHouseId() + ""; |
| | | houseUserMap.put(key,houseUser); |
| | | }); |
| | | |
| | | |
| | | for (ComMngPopulationLowSecurityExcelVO vo : list) { |
| | | if (vo.getDoorNo().contains("号")) { |
| | | vo.setDoorNo(vo.getDoorNo().replace("号","")); |
| | | } |
| | | if(vo.getFloor().contains("栋")){ |
| | | vo.setFloor(vo.getFloor().replace("栋","")); |
| | | } |
| | | if(vo.getUnitNo().contains("单元")){ |
| | | vo.setUnitNo(vo.getUnitNo().replace("单元","")); |
| | | } |
| | | if(vo.getHouseNo().contains("号")){ |
| | | vo.setHouseNo(vo.getHouseNo().replace("号","")); |
| | | } |
| | | log.info("开始查询小区街路巷是否存在"); |
| | | //查询小区街路巷是否存在 |
| | | ComMngVillageDO comMngVillageDO = null; |
| | | String villageKey = communityId + vo.getRoad() + vo.getDoorNo(); |
| | | if(!isOnly(villageKey,villageMap)){ |
| | | comMngVillageDO = (ComMngVillageDO)villageMap.get(villageKey); |
| | | }else{ |
| | | ComMngPopulationLowSecurityMistakeExcelVO mistake = new ComMngPopulationLowSecurityMistakeExcelVO(); |
| | | BeanUtils.copyProperties(vo,mistake); |
| | | setLowSecurityMistake(mistake, vo); |
| | | mistake.setMistake("街路巷或小区号不存在,请先在“小区管理”中添加该小区:街路巷:"+ vo.getRoad() +",小区号:" + vo.getDoorNo()); |
| | | mistakes.add(mistake); |
| | | log.info("未查询到街路巷:"+ vo.getRoad() +",小区号:" + vo.getDoorNo()); |
| | | continue; |
| | | } |
| | | StringBuilder address = new StringBuilder(); |
| | | address.append(populationActVO.getProvinceName()).append(populationActVO.getCityName()).append(populationActVO.getDistrictName()) |
| | | .append(populationActVO.getStreetName()).append(comMngVillageDO.getAlley()).append(vo.getDoorNo()).append("号").append(vo.getFloor()).append("栋") |
| | | .append(vo.getUnitNo()).append("单元").append(vo.getHouseNo()).append("号"); |
| | | |
| | | vo.setAddress(address.toString()); |
| | | log.info("开始查询小区街路巷是否存在完成"); |
| | | |
| | | log.info("开始查询房屋是否存在"); |
| | | //先判断房屋是否存在 |
| | | ComMngPopulationHouseDO populationHouseDO = null; |
| | | String houseKey = communityId + comMngVillageDO.getVillageId() + vo.getFloor() + vo.getUnitNo() + vo.getHouseNo(); |
| | | if(isOnly(houseKey,houseMap)){ |
| | | if(!houseList.isEmpty()){ |
| | | for (ComMngPopulationHouseDO house:houseList) { |
| | | if(house.getVillageId().equals(comMngVillageDO.getVillageId()) && house.getCommunityId().equals(communityId) |
| | | && house.getFloor().equals(vo.getFloor()) && house.getUnitNo().equals(vo.getUnitNo()) |
| | | && house.getHouseNo().equals(vo.getHouseNo())){ |
| | | populationHouseDO = house; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | if(populationHouseDO == null){ |
| | | //房屋信息不存在建立房屋信息 |
| | | populationHouseDO = saveLowSecurityPopulationHouse(vo, comMngVillageDO, communityId, areaPath, populationActVO.getName()); |
| | | houseList.add(populationHouseDO); |
| | | } |
| | | }else{ |
| | | populationHouseDO = (ComMngPopulationHouseDO)houseMap.get(houseKey); |
| | | } |
| | | vo.setHouseId(populationHouseDO.getId()); |
| | | log.info("开始查询房屋是否存在完成"); |
| | | |
| | | if (StringUtils.isEmpty(vo.getName()) && StringUtils.isEmpty(vo.getCardNo())) { |
| | | //空户处理完房屋信息,直接返回 |
| | | continue; |
| | | } |
| | | String cardNoAES = AESUtil.encrypt128(vo.getCardNo(), aesKey); |
| | | //判断实有人口是否已存在 |
| | | log.info("开始查询实有人口是否已存在"); |
| | | ComMngPopulationDO populationDO = null; |
| | | String populationKey = vo.getCardNo(); |
| | | if(!isOnly(populationKey,populationMap)){ |
| | | //存在实有人口信息,则更新 |
| | | populationDO = (ComMngPopulationDO)populationMap.get(populationKey); |
| | | ComMngPopulationDO updatePopulationDO = updateLowSecurityPopulationDO(vo,populationDO,labelList); |
| | | updateList.add(updatePopulationDO); |
| | | }else{ |
| | | //不存在实有人口,则新增 |
| | | populationDO = saveLowSecurityPopulationDO(vo, populationActVO, comMngVillageDO,labelList); |
| | | saveList.add(populationDO); |
| | | } |
| | | log.info("开始查询实有人口是否已存在完成"); |
| | | |
| | | log.info("开始查询实有人口房屋居住信息"); |
| | | //处理实有人口房屋居住信息 |
| | | if (populationDO != null) { |
| | | ComMngPopulationHouseUserDO populationHouseUserDO = null; |
| | | String houseUserKey = populationDO.getId() + populationHouseDO.getId() + ""; |
| | | if(isOnly(houseUserKey,houseUserMap)){ |
| | | populationHouseUserDO = new ComMngPopulationHouseUserDO(); |
| | | populationHouseUserDO.setId(Snowflake.getId()); |
| | | populationHouseUserDO.setHouseId(populationHouseDO.getId()); |
| | | populationHouseUserDO.setPopulId(populationDO.getId()); |
| | | // populationHouseUserDO.setRelation(vo.getRelation()); |
| | | populationHouseUserDO.setRelationId(vo.getIsRent()); |
| | | // populationHouseUserDO.setResidence(vo.getResidence()); |
| | | houseUserList.add(populationHouseUserDO); |
| | | } |
| | | } |
| | | log.info("开始查询实有人口房屋居住信息完成"); |
| | | } |
| | | }catch (Exception e){ |
| | | log.info("出现错误,错误原因:" + e.getMessage()); |
| | | } |
| | | log.info("处理完成导入数据"); |
| | | |
| | | log.info("开始执行数据库导入"); |
| | | if(!houseList.isEmpty()){ |
| | | log.info("执行数据库导入房屋"); |
| | | comMngPopulationHouseDAO.insertAll(houseList); |
| | | log.info("执行数据库导入房屋完成"); |
| | | } |
| | | if(!saveList.isEmpty()){ |
| | | log.info("执行数据库导入人口"); |
| | | this.baseMapper.insertAll(saveList); |
| | | log.info("执行数据库导入人口完成"); |
| | | } |
| | | if(!updateList.isEmpty()){ |
| | | log.info("执行数据库更新人口"); |
| | | this.baseMapper.updateAll(updateList); |
| | | // this.updateBatchById(updateList); |
| | | log.info("执行数据库更新人口完成"); |
| | | } |
| | | if(!houseUserList.isEmpty()){ |
| | | log.info("执行数据库导入人口房屋关系"); |
| | | comMngPopulationHouseUserService.saveBatch(houseUserList); |
| | | log.info("执行数据库导入人口房屋关系完成"); |
| | | } |
| | | log.info("执行数据库导入完成"); |
| | | |
| | | if (!mistakes.isEmpty()) { |
| | | log.info("返回错误数据"); |
| | | return R.fail(mistakes); |
| | | } |
| | | return R.ok(mistakes); |
| | | } |
| | | |
| | | |
| | | private ComMngPopulationDO updatePopulationDO(ComMngPopulationServeExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | |
| | | |
| | | private ComMngPopulationDO updateDrugPopulationDO(ComMngPopulationDrugExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComDrugPopulationDO comDrugPopulationDO = comDrugPopulationDAO.selectOne(new QueryWrapper<ComDrugPopulationDO>().lambda() |
| | | .eq(ComDrugPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comDrugPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comDrugPopulationDO.setCardNo(cardNoAES); |
| | | comDrugPopulationDAO.updateById(comDrugPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateCorrectPopulationDO(ComMngPopulationCorrectExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComCorrectPopulationDO comCorrectPopulationDO = comCorrectPopulationDAO.selectOne(new QueryWrapper<ComCorrectPopulationDO>().lambda() |
| | | .eq(ComCorrectPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comCorrectPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comCorrectPopulationDO.setCardNo(cardNoAES); |
| | | comCorrectPopulationDAO.updateById(comCorrectPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateMajorPopulationDO(ComMngPopulationMajorExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComMajorPopulationDO comMajorPopulationDO = comMajorPopulationDAO.selectOne(new QueryWrapper<ComMajorPopulationDO>().lambda() |
| | | .eq(ComMajorPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comMajorPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comMajorPopulationDO.setCardNo(cardNoAES); |
| | | comMajorPopulationDAO.updateById(comMajorPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateCultPopulationDO(ComMngPopulationCultExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComCultPopulationDO comCultPopulationDO = comCultPopulationDAO.selectOne(new QueryWrapper<ComCultPopulationDO>().lambda(). |
| | | eq(ComCultPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comCultPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comCultPopulationDO.setCardNo(cardNoAES); |
| | | comCultPopulationDAO.updateById(comCultPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateRehabilitationPopulationDO(ComMngPopulationRehabilitationExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComRehabilitationPopulationDO comRehabilitationPopulationDO = comRehabilitationPopulationDAO.selectOne(new QueryWrapper<ComRehabilitationPopulationDO>().lambda(). |
| | | eq(ComRehabilitationPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comRehabilitationPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comRehabilitationPopulationDO.setCardNo(cardNoAES); |
| | | comRehabilitationPopulationDAO.updateById(comRehabilitationPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateKeyPopulationDO(ComMngPopulationKeyExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComKeyPopulationDO comKeyPopulationDO = comKeyPopulationDAO.selectOne(new QueryWrapper<ComKeyPopulationDO>().lambda(). |
| | | eq(ComKeyPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comKeyPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comKeyPopulationDO.setCardNo(cardNoAES); |
| | | comKeyPopulationDAO.updateById(comKeyPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateSentencePopulationDO(ComMngPopulationSentenceExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComSentencePopulationDO comSentencePopulationDO = comSentencePopulationDAO.selectOne(new QueryWrapper<ComSentencePopulationDO>().lambda(). |
| | | eq(ComSentencePopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comSentencePopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comSentencePopulationDO.setCardNo(cardNoAES); |
| | | comSentencePopulationDAO.updateById(comSentencePopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateVeteransPopulationDO(ComMngPopulationVeteransExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComVeteransPopulationDO comVeteransPopulationDO = comVeteransPopulationDAO.selectOne(new QueryWrapper<ComVeteransPopulationDO>().lambda(). |
| | | eq(ComVeteransPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comVeteransPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comVeteransPopulationDO.setCardNo(cardNoAES); |
| | | comVeteransPopulationDAO.updateById(comVeteransPopulationDO); |
| | | return populationDO; |
| | | } |
| | | private ComMngPopulationDO updateDisabilityPopulationDO(ComMngPopulationDisabilityExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComDisabilityPopulationDO comDisabilityPopulationDO = comDisabilityPopulationDAO.selectOne(new QueryWrapper<ComDisabilityPopulationDO>().lambda(). |
| | | eq(ComDisabilityPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comDisabilityPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comDisabilityPopulationDO.setCardNo(cardNoAES); |
| | | comDisabilityPopulationDAO.updateById(comDisabilityPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO updateLowSecurityPopulationDO(ComMngPopulationLowSecurityExcelVO vo, ComMngPopulationDO populationDO,List<String> labelList){ |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | ComLowSecurityPopulationDO comLowSecurityPopulationDO = comLowSecurityPopulationDAO.selectOne(new QueryWrapper<ComLowSecurityPopulationDO>().lambda(). |
| | | eq(ComLowSecurityPopulationDO::getPopulationId, populationDO.getId())); |
| | | BeanUtils.copyProperties(vo, comLowSecurityPopulationDO); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | | while (iterator.hasNext()) { |
| | | String s = iterator.next(); |
| | | if (!labelList.contains(s)) |
| | | iterator.remove(); |
| | | } |
| | | String cardNoAES = populationDO.getCardNo(); |
| | | try { |
| | | cardNoAES = AESUtil.encrypt128(vo.getCardNo(), aesKey); |
| | | }catch (Exception e){ |
| | | log.error("身份证加密失败"); |
| | | } |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setCardNo(cardNoAES); |
| | | comLowSecurityPopulationDO.setCardNo(cardNoAES); |
| | | comLowSecurityPopulationDAO.updateById(comLowSecurityPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | |
| | | private ComMngPopulationDO saveDrugPopulationDO(ComMngPopulationDrugExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComDrugPopulationDO comDrugPopulationDO = new ComDrugPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comDrugPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comDrugPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comDrugPopulationDO.setId(Snowflake.getId()); |
| | | comDrugPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comDrugPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comDrugPopulationDAO.insert(comDrugPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveCorrectPopulationDO(ComMngPopulationCorrectExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComCorrectPopulationDO comCorrectPopulationDO = new ComCorrectPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comCorrectPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comCorrectPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comCorrectPopulationDO.setId(Snowflake.getId()); |
| | | comCorrectPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comCorrectPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comCorrectPopulationDAO.insert(comCorrectPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveMajorPopulationDO(ComMngPopulationMajorExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComMajorPopulationDO comMajorPopulationDO = new ComMajorPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comMajorPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comMajorPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comMajorPopulationDO.setId(Snowflake.getId()); |
| | | comMajorPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comMajorPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comMajorPopulationDAO.insert(comMajorPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveCultPopulationDO(ComMngPopulationCultExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComCultPopulationDO comCultPopulationDO = new ComCultPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comCultPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comCultPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comCultPopulationDO.setId(Snowflake.getId()); |
| | | comCultPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comCultPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comCultPopulationDAO.insert(comCultPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveRehabilitationPopulationDO(ComMngPopulationRehabilitationExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComRehabilitationPopulationDO comRehabilitationPopulationDO = new ComRehabilitationPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comRehabilitationPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comRehabilitationPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comRehabilitationPopulationDO.setId(Snowflake.getId()); |
| | | comRehabilitationPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comRehabilitationPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comRehabilitationPopulationDAO.insert(comRehabilitationPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveKeyPopulationDO(ComMngPopulationKeyExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComKeyPopulationDO comKeyPopulationDO = new ComKeyPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comKeyPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comKeyPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comKeyPopulationDO.setId(Snowflake.getId()); |
| | | comKeyPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comKeyPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comKeyPopulationDAO.insert(comKeyPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveSentencePopulationDO(ComMngPopulationSentenceExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComSentencePopulationDO comSentencePopulationDO = new ComSentencePopulationDO(); |
| | | BeanUtils.copyProperties(vo, comSentencePopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comSentencePopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comSentencePopulationDO.setId(Snowflake.getId()); |
| | | comSentencePopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comSentencePopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comSentencePopulationDAO.insert(comSentencePopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveVeteransPopulationDO(ComMngPopulationVeteransExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComVeteransPopulationDO comVeteransPopulationDO = new ComVeteransPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comVeteransPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comVeteransPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comVeteransPopulationDO.setId(Snowflake.getId()); |
| | | comVeteransPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comVeteransPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comVeteransPopulationDAO.insert(comVeteransPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveDisabilityPopulationDO(ComMngPopulationDisabilityExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | populationDO.setId(Snowflake.getId()); |
| | | ComDisabilityPopulationDO comDisabilityPopulationDO = new ComDisabilityPopulationDO(); |
| | | BeanUtils.copyProperties(vo, comDisabilityPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comDisabilityPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comDisabilityPopulationDO.setId(Snowflake.getId()); |
| | | comDisabilityPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comDisabilityPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comDisabilityPopulationDAO.insert(comDisabilityPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | | private ComMngPopulationDO saveLowSecurityPopulationDO(ComMngPopulationLowSecurityExcelVO vo, ComPopulationActVO comActDO, ComMngVillageDO comMngVillageDO,List<String> labelList) { |
| | | ComMngPopulationDO populationDO = new ComMngPopulationDO(); |
| | | ComLowSecurityPopulationDO comLowSecurityPopulationDO = new ComLowSecurityPopulationDO(); |
| | | BeanUtils.copyProperties(vo, populationDO); |
| | | BeanUtils.copyProperties(vo, comLowSecurityPopulationDO); |
| | | Long populationId = Snowflake.getId(); |
| | | populationDO.setId(populationId); |
| | | comLowSecurityPopulationDO.setPopulationId(populationId); |
| | | List<String> userTag = vo.getUserTagStr().stream().map(userTagStr -> userTagStr.split("\\(")[0]).collect(Collectors.toList()); |
| | | |
| | | //如果导入数据标签中有当前社区标签列表中不包含的标签,则删除 |
| | | Iterator<String> iterator = userTag.iterator(); |
| | | while (iterator.hasNext()) { |
| | | String s = iterator.next(); |
| | | if (!labelList.contains(s)) |
| | | iterator.remove(); |
| | | } |
| | | populationDO.setVillageId(comMngVillageDO.getVillageId()); |
| | | populationDO.setActId(comActDO.getCommunityId()); |
| | | populationDO.setStreetId(comActDO.getStreetId()); |
| | | populationDO.setLabel(Joiner.on(",").join(userTag)); |
| | | populationDO.setVillageName(comMngVillageDO.getGroupAt()); |
| | | populationDO.setCardNoStr(vo.getCardNo()); |
| | | populationDO.setUpdateAt(new Date()); |
| | | //新增的时候默认绑定房屋id |
| | | // if ((vo.getIsRent() != null && vo.getIsRent().equals(PopulHouseUseEnum.SELF.getCode())) || |
| | | // (vo.getIsResidence() != null && vo.getIsResidence().intValue() == 1)) { |
| | | // populationDO.setHouseId(vo.getHouseId()); |
| | | // }else{ |
| | | // populationDO.setHouseId(null); |
| | | // } |
| | | |
| | | // this.baseMapper.insert(populationDO); |
| | | comLowSecurityPopulationDO.setId(Snowflake.getId()); |
| | | comLowSecurityPopulationDO.setCommunityId(comActDO.getCommunityId()); |
| | | comLowSecurityPopulationDO.setStreetId(comActDO.getStreetId()); |
| | | comLowSecurityPopulationDAO.insert(comLowSecurityPopulationDO); |
| | | return populationDO; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | private ComMngPopulationHouseDO saveDisabilityPopulationHouse(ComMngPopulationDisabilityExcelVO vo, ComMngVillageDO comMngVillageDO, Long communityId,StringBuilder areaPath, String actName) { |
| | | //查询该房屋未建立,执行建立房屋信息 |
| | | ComMngPopulationHouseDO populationHouseDO = new ComMngPopulationHouseDO(); |
| | | populationHouseDO.setId(Snowflake.getId()); |
| | | populationHouseDO.setStreetId(comMngVillageDO.getStreetId()); |
| | | populationHouseDO.setVillageId(comMngVillageDO.getVillageId()); |
| | | populationHouseDO.setAlley(vo.getRoad()); |
| | | populationHouseDO.setHouseNum(vo.getDoorNo()); |
| | | populationHouseDO.setStatus(vo.getIsRent()); |
| | | populationHouseDO.setCommunityId(communityId); |
| | | populationHouseDO.setFloor(vo.getFloor()); |
| | | populationHouseDO.setUnitNo(vo.getUnitNo()); |
| | | populationHouseDO.setHouseNo(vo.getHouseNo()); |
| | | populationHouseDO.setCode(vo.getHouseNo()); |
| | | populationHouseDO.setAddress(vo.getAddress()); |
| | | populationHouseDO.setUpdateAt(new Date()); |
| | | // populationHouseDO.setConstructPurpose(vo.getHousePurpose()); |
| | | StringBuilder housePath = new StringBuilder(); |
| | | housePath.append(populationHouseDO.getAlley()).append(">").append(actName).append(">").append(comMngVillageDO.getName()).append(">").append(vo.getAddress()); |
| | | populationHouseDO.setPath(areaPath.toString() + housePath.toString()); |
| | | // try { |
| | | // populationHouseDO.setConstructArea(new BigDecimal(vo.getBuildArea())); |
| | | // } catch (Exception e) { |
| | | // } |
| | | |
| | | if (StringUtils.isEmpty(vo.getName()) && StringUtils.isEmpty(vo.getCardNo())) { |
| | | populationHouseDO.setIsEmpty(PopulIsOksEnum.YES.getCode()); |
| | | } |
| | | if (vo.getHouseStatus() != null) { |
| | | populationHouseDO.setStatus(vo.getHouseStatus()); |
| | | } |
| | | if (vo.getHousePurpose() != null) { |
| | | populationHouseDO.setPurpose(vo.getHousePurpose()); |
| | | } |
| | | if (vo.getControlStatus() != null) { |
| | | populationHouseDO.setControlStatus(vo.getControlStatus()); |
| | | } |
| | | // comMngPopulationHouseDAO.insert(populationHouseDO); |
| | | return populationHouseDO; |
| | | } |
| | | |
| | | private ComMngPopulationHouseDO saveLowSecurityPopulationHouse(ComMngPopulationLowSecurityExcelVO vo, ComMngVillageDO comMngVillageDO, Long communityId,StringBuilder areaPath, String actName) { |
| | | //查询该房屋未建立,执行建立房屋信息 |
| | | ComMngPopulationHouseDO populationHouseDO = new ComMngPopulationHouseDO(); |
| | | populationHouseDO.setId(Snowflake.getId()); |
| | |
| | | mvo.setHouseStatus(PopulHouseStatusEnum.getCnDescByName(vo.getHouseStatus())); |
| | | mvo.setHousePurpose(PopulHousePurposeEnum.getCnDescByName(vo.getHousePurpose())); |
| | | mvo.setControlStatus(PopulHouseControlStatusEnum.getCnDescByName(vo.getControlStatus())); |
| | | // mvo.setCultureLevel(PopulCultureLevelEnum.getCnDescByName(vo.getCultureLevel())); |
| | | mvo.setCultureLevel(PopulCultureLevelEnum.getCnDescByName(vo.getCultureLevel())); |
| | | // mvo.setMarriage(PopulMarriageEnum.getCnDescByName(vo.getMarriage())); |
| | | mvo.setOutOrLocal(PopulOutOrLocalEnum.getCnDescByName(vo.getOutOrLocal())); |
| | | mvo.setIsCorrectGroup(PopulHouseUseEnum.getCnDescByName(vo.getIsCorrectGroup())); |
| | | mvo.setIsMissControl(PopulHouseUseEnum.getCnDescByName(vo.getIsMissControl())); |
| | | mvo.setIsAgainCrime(PopulHouseUseEnum.getCnDescByName(vo.getIsAgainCrime())); |
| | | mvo.setIsOutControl(PopulHouseUseEnum.getCnDescByName(vo.getIsOutControl())); |
| | | mvo.setIsRecidivist(PopulHouseUseEnum.getCnDescByName(vo.getIsRecidivist())); |
| | | // mvo.setResidence(PopulRelationEnum.getCnDescByName(vo.getResidence())); |
| | | // mvo.setPersonType(PopulPersonTypeEnum.getCnDescByName(vo.getPersonType())); |
| | | // mvo.setDeath(PopulOutOrLocalEnum.getCnDescByName(vo.getDeath())); |
| | |
| | | private void setMajorMistake(ComMngPopulationMajorMistakeExcelVO mvo, ComMngPopulationMajorExcelVO vo){ |
| | | // mvo.setPoliticalOutlook(PopulPoliticalOutlookEnum.getCnDescByName(vo.getPoliticalOutlook())); |
| | | mvo.setIsRent(PopulHouseUseEnum.getCnDescByName(vo.getIsRent())); |
| | | mvo.setPatientRelation(PopulRelationEnum.getCnDescByName(vo.getPatientRelation())); |
| | | mvo.setCustodyRelation(PopulRelationEnum.getCnDescByName(vo.getCustodyRelation())); |
| | | // mvo.setRelation(PopulRelationEnum.getCnDescByName(vo.getRelation())); |
| | | mvo.setHouseStatus(PopulHouseStatusEnum.getCnDescByName(vo.getHouseStatus())); |
| | | mvo.setHousePurpose(PopulHousePurposeEnum.getCnDescByName(vo.getHousePurpose())); |
| | |
| | | mvo.setCultureLevel(PopulCultureLevelEnum.getCnDescByName(vo.getCultureLevel())); |
| | | // mvo.setMarriage(PopulMarriageEnum.getCnDescByName(vo.getMarriage())); |
| | | mvo.setOutOrLocal(PopulOutOrLocalEnum.getCnDescByName(vo.getOutOrLocal())); |
| | | mvo.setIsCrime(PopulHouseUseEnum.getCnDescByName(vo.getIsCrime())); |
| | | // mvo.setResidence(PopulRelationEnum.getCnDescByName(vo.getResidence())); |
| | | // mvo.setPersonType(PopulPersonTypeEnum.getCnDescByName(vo.getPersonType())); |
| | | // mvo.setDeath(PopulOutOrLocalEnum.getCnDescByName(vo.getDeath())); |
| | |
| | | mvo.setCultureLevel(PopulCultureLevelEnum.getCnDescByName(vo.getCultureLevel())); |
| | | mvo.setMarriage(PopulMarriageEnum.getCnDescByName(vo.getMarriage())); |
| | | mvo.setOutOrLocal(PopulOutOrLocalEnum.getCnDescByName(vo.getOutOrLocal())); |
| | | mvo.setIsExternalPublicity(PopulHouseUseEnum.getCnDescByName(vo.getIsExternalPublicity())); |
| | | // mvo.setResidence(PopulRelationEnum.getCnDescByName(vo.getResidence())); |
| | | // mvo.setPersonType(PopulPersonTypeEnum.getCnDescByName(vo.getPersonType())); |
| | | // mvo.setDeath(PopulOutOrLocalEnum.getCnDescByName(vo.getDeath())); |
| | |
| | | // mvo.setMarriage(PopulMarriageEnum.getCnDescByName(vo.getMarriage())); |
| | | mvo.setOutOrLocal(PopulOutOrLocalEnum.getCnDescByName(vo.getOutOrLocal())); |
| | | mvo.setIsRehab(PopulHouseUseEnum.getCnDescByName(vo.getIsRehab())); |
| | | mvo.setIsRecidivist(PopulHouseUseEnum.getCnDescByName(vo.getIsRecidivist())); |
| | | mvo.setIsAgainCrime(PopulHouseUseEnum.getCnDescByName(vo.getIsAgainCrime())); |
| | | // mvo.setResidence(PopulRelationEnum.getCnDescByName(vo.getResidence())); |
| | | // mvo.setPersonType(PopulPersonTypeEnum.getCnDescByName(vo.getPersonType())); |
| | | // mvo.setDeath(PopulOutOrLocalEnum.getCnDescByName(vo.getDeath())); |
| | |
| | | // mvo.setDeath(PopulOutOrLocalEnum.getCnDescByName(vo.getDeath())); |
| | | } |
| | | |
| | | private void setLowSecurityMistake(ComMngPopulationLowSecurityMistakeExcelVO mvo, ComMngPopulationLowSecurityExcelVO vo){ |
| | | // mvo.setRegiterNature(PopulRegiterNatureEnum.getCnDescByName(vo.getRegiterNature())); |
| | | // mvo.setPoliticalOutlook(PopulPoliticalOutlookEnum.getCnDescByName(vo.getPoliticalOutlook())); |
| | | mvo.setIsRent(PopulHouseUseEnum.getCnDescByName(vo.getIsRent())); |
| | | // mvo.setPatientRelation(PopulRelationEnum.getCnDescByName(vo.getPatientRelation())); |
| | | mvo.setHouseStatus(PopulHouseStatusEnum.getCnDescByName(vo.getHouseStatus())); |
| | | mvo.setHousePurpose(PopulHousePurposeEnum.getCnDescByName(vo.getHousePurpose())); |
| | | mvo.setControlStatus(PopulHouseControlStatusEnum.getCnDescByName(vo.getControlStatus())); |
| | | // mvo.setCultureLevel(PopulCultureLevelEnum.getCnDescByName(vo.getCultureLevel())); |
| | | // mvo.setMarriage(PopulMarriageEnum.getCnDescByName(vo.getMarriage())); |
| | | mvo.setOutOrLocal(PopulOutOrLocalEnum.getCnDescByName(vo.getOutOrLocal())); |
| | | // mvo.setIsVeteransTraining(PopulHouseUseEnum.getCnDescByName(vo.getIsVeteransTraining())); |
| | | // mvo.setIsBusiness(PopulHouseUseEnum.getCnDescByName(vo.getIsBusiness())); |
| | | // mvo.setIsRehab(PopulHouseUseEnum.getCnDescByName(vo.getIsRehab())); |
| | | // mvo.setResidence(PopulRelationEnum.getCnDescByName(vo.getResidence())); |
| | | // mvo.setPersonType(PopulPersonTypeEnum.getCnDescByName(vo.getPersonType())); |
| | | // mvo.setDeath(PopulOutOrLocalEnum.getCnDescByName(vo.getDeath())); |
| | | } |
| | | |
| | | /** |
| | | * 判重方法 |
| | | * @param key 主键 |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComRehabilitationPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComRehabilitationPopulationDO; |
| | | import com.panzhihua.service_community.service.ComRehabilitationPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:40:41 |
| | | * @describe 服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComRehabilitationPopulationServiceImpl extends ServiceImpl<ComRehabilitationPopulationDAO, ComRehabilitationPopulationDO> implements ComRehabilitationPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComSentencePopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComSentencePopulationDO; |
| | | import com.panzhihua.service_community.service.ComSentencePopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 17:41:26 |
| | | * @describe 服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComSentencePopulationServiceImpl extends ServiceImpl<ComSentencePopulationDAO, ComSentencePopulationDO> implements ComSentencePopulationService { |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.dao.ComVeteransPopulationDAO; |
| | | import com.panzhihua.service_community.model.dos.ComVeteransPopulationDO; |
| | | import com.panzhihua.service_community.service.ComVeteransPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @auther txb |
| | | * @create 2021-08-09 19:56:46 |
| | | * @describe 实有人口导入》退役军人表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComVeteransPopulationServiceImpl extends ServiceImpl<ComVeteransPopulationDAO, ComVeteransPopulationDO> implements ComVeteransPopulationService { |
| | | |
| | | } |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComCorrectPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComCorrectPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="correct_type" property="correctType" /> |
| | | <result column="correct_begin" property="correctBegin" /> |
| | | <result column="correct_end" property="correctEnd" /> |
| | | <result column="receive_method" property="receiveMethod" /> |
| | | <result column="is_recidivist" property="isRecidivist" /> |
| | | <result column="four_history" property="fourHistory" /> |
| | | <result column="three_invovle" property="threeInvovle" /> |
| | | <result column="is_correct_group" property="isCorrectGroup" /> |
| | | <result column="correct_group_constitute" property="correctGroupConstitute" /> |
| | | <result column="correct_relieve_type" property="correctRelieveType" /> |
| | | <result column="is_out_control" property="isOutControl" /> |
| | | <result column="out_control_reason" property="outControlReason" /> |
| | | <result column="out_control_correct" property="outControlCorrect" /> |
| | | <result column="inspect_out_control" property="inspectOutControl" /> |
| | | <result column="is_miss_control" property="isMissControl" /> |
| | | <result column="miss_control_reason" property="missControlReason" /> |
| | | <result column="miss_control_correct" property="missControlCorrect" /> |
| | | <result column="inspect_miss_control" property="inspectMissControl" /> |
| | | <result column="reward_and_punishiment" property="rewardAndPunishiment" /> |
| | | <result column="is_again_crime" property="isAgainCrime" /> |
| | | <result column="again_crime_name" property="againCrimeName" /> |
| | | <result column="pubishment_change" property="pubishmentChange" /> |
| | | <result column="case_type" property="caseType" /> |
| | | <result column="specific_charge" property="specificCharge" /> |
| | | <result column="original_term" property="originalTerm" /> |
| | | <result column="original_term_begin" property="originalTermBegin" /> |
| | | <result column="originalTermEnd" property="originalTermEnd" /> |
| | | <result column="culture_level" property="cultureLevel" /> |
| | | <result column="correct_person_code" property="correctPersonCode" /> |
| | | <result column="original_custodyplace" property="originalCustodyplace" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, correct_type, correct_begin, correct_end, receive_method, is_recidivist, four_history, three_invovle, is_correct_group, correct_group_constitute, correct_relieve_type, is_out_control, out_control_reason, out_control_correct, inspect_out_control, is_miss_control, miss_control_reason, miss_control_correct, inspect_miss_control, reward_and_punishiment, is_again_crime, again_crime_name, pubishment_change, case_type, specific_charge, original_term, original_term_begin, originalTermEnd, culture_level, correct_person_code, original_custodyplace, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComCultPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComCultPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="cult_name" property="cultName" /> |
| | | <result column="basic_situation" property="basicSituation" /> |
| | | <result column="join_cult_date" property="joinCultDate" /> |
| | | <result column="is_external_publicity" property="isExternalPublicity" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, cult_name, basic_situation, join_cult_date, is_external_publicity, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComDisabilityPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComDisabilityPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="certificate_situation" property="certificateSituation" /> |
| | | <result column="dis_type" property="disType" /> |
| | | <result column="dis_level" property="disLevel" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, certificate_situation, dis_type, dis_level, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComDrugPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComDrugPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="first_date" property="firstDate" /> |
| | | <result column="control_situation" property="controlSituation" /> |
| | | <result column="control_person" property="controlPerson" /> |
| | | <result column="control_person_phone" property="controlPersonPhone" /> |
| | | <result column="help_situation" property="helpSituation" /> |
| | | <result column="help_person" property="helpPerson" /> |
| | | <result column="help_person_phone" property="helpPersonPhone" /> |
| | | <result column="drug_reason" property="drugReason" /> |
| | | <result column="drug_result" property="drugResult" /> |
| | | <result column="have_crime" property="haveCrime" /> |
| | | <result column="crime_sutiation" property="crimeSutiation" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, first_date, control_situation, control_person, control_person_phone, help_situation, help_person, help_person_phone, drug_reason, drug_result, have_crime, crime_sutiation, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComKeyPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComKeyPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComLowSecurityPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComLowSecurityPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="region" property="region" /> |
| | | <result column="family_code" property="familyCode" /> |
| | | <result column="group_name" property="groupName" /> |
| | | <result column="classified_rescue_category" property="classifiedRescueCategory" /> |
| | | <result column="apply_date" property="applyDate" /> |
| | | <result column="house_holder_name" property="houseHolderName" /> |
| | | <result column="house_holder_card_no" property="houseHolderCardNo" /> |
| | | <result column="house_holder_code" property="houseHolderCode" /> |
| | | <result column="residence_postal_code" property="residencePostalCode" /> |
| | | <result column="salvage_certificate_no" property="salvageCertificateNo" /> |
| | | <result column="guaranteed_population_number" property="guaranteedPopulationNumber" /> |
| | | <result column="family_population_number" property="familyPopulationNumber" /> |
| | | <result column="account_person" property="accountPerson" /> |
| | | <result column="account_bank" property="accountBank" /> |
| | | <result column="account_card_no" property="accountCardNo" /> |
| | | <result column="bank_account" property="bankAccount" /> |
| | | <result column="support_institutions" property="supportInstitutions" /> |
| | | <result column="distribution_method" property="distributionMethod" /> |
| | | <result column="guaranteed_amount" property="guaranteedAmount" /> |
| | | <result column="reallocation_amount" property="reallocationAmount" /> |
| | | <result column="difference_relief_amount" property="differenceReliefAmount" /> |
| | | <result column="classified_insured_amount" property="classifiedInsuredAmount" /> |
| | | <result column="total_monthly_family_income" property="totalMonthlyFamilyIncome" /> |
| | | <result column="average_monthly_family_income" property="averageMonthlyFamilyIncome" /> |
| | | <result column="total_monthly_family_expenditure" property="totalMonthlyFamilyExpenditure" /> |
| | | <result column="lng" property="lng" /> |
| | | <result column="lat" property="lat" /> |
| | | <result column="originate_date" property="originateDate" /> |
| | | <result column="nursing_fee" property="nursingFee" /> |
| | | <result column="apply_reason" property="applyReason" /> |
| | | <result column="review_comment" property="reviewComment" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, region, family_code, group_name, classified_rescue_category, apply_date, house_holder_name, house_holder_card_no, house_holder_code, residence_postal_code, salvage_certificate_no, guaranteed_population_number, family_population_number, account_person, account_bank, account_card_no, bank_account, support_institutions, distribution_method, guaranteed_amount, reallocation_amount, difference_relief_amount, classified_insured_amount, total_monthly_family_income, average_monthly_family_income, total_monthly_family_expenditure, lng, lat, originate_date, nursing_fee, apply_reason, review_comment, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComMajorPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComMajorPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="economic_condition" property="economicCondition" /> |
| | | <result column="person_type" property="personType" /> |
| | | <result column="family_situation" property="familySituation" /> |
| | | <result column="custody_person" property="custodyPerson" /> |
| | | <result column="custody_relation" property="custodyRelation" /> |
| | | <result column="custody_card_no" property="custodyCardNo" /> |
| | | <result column="custody_person_phone" property="custodyPersonPhone" /> |
| | | <result column="custody_address" property="custodyAddress" /> |
| | | <result column="help_person" property="helpPerson" /> |
| | | <result column="help_person_phone" property="helpPersonPhone" /> |
| | | <result column="help_method" property="helpMethod" /> |
| | | <result column="help_situation" property="helpSituation" /> |
| | | <result column="is_crime" property="isCrime" /> |
| | | <result column="crime_sutiation" property="crimeSutiation" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, economic_condition, person_type, family_situation, custody_person, custody_relation, custody_card_no, custody_person_phone, custody_address, help_person, help_person_phone, help_method, help_situation, is_crime, crime_sutiation, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComRehabilitationPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComRehabilitationPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="patient_relation" property="patientRelation" /> |
| | | <result column="rehab_reason_and_type" property="rehabReasonAndType" /> |
| | | <result column="is_rehab" property="isRehab" /> |
| | | <result column="is_recidivist" property="isRecidivist" /> |
| | | <result column="original_term" property="originalTerm" /> |
| | | <result column="sentence_begin" property="sentenceBegin" /> |
| | | <result column="original_charge" property="originalCharge" /> |
| | | <result column="sentence_end" property="sentenceEnd" /> |
| | | <result column="sentence_place" property="sentencePlace" /> |
| | | <result column="risk_assessment" property="riskAssessment" /> |
| | | <result column="join_date" property="joinDate" /> |
| | | <result column="join_situation" property="joinSituation" /> |
| | | <result column="is_again_crime" property="isAgainCrime" /> |
| | | <result column="again_crime_name" property="againCrimeName" /> |
| | | <result column="place_situation" property="placeSituation" /> |
| | | <result column="place_date" property="placeDate" /> |
| | | <result column="not_place_reason" property="notPlaceReason" /> |
| | | <result column="help_begin" property="helpBegin" /> |
| | | <result column="help_end" property="helpEnd" /> |
| | | <result column="help_situation" property="helpSituation" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, patient_relation, rehab_reason_and_type, is_rehab, is_recidivist, original_term, sentence_begin, original_charge, sentence_end, sentence_place, risk_assessment, join_date, join_situation, is_again_crime, again_crime_name, place_situation, place_date, not_place_reason, help_begin, help_end, help_situation, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComSentencePopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComSentencePopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="spouse" property="spouse" /> |
| | | <result column="sentence_begin" property="sentenceBegin" /> |
| | | <result column="sentence_end" property="sentenceEnd" /> |
| | | <result column="charge" property="charge" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, spouse, sentence_begin, sentence_end, charge, remark, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComVeteransPopulationDAO"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.panzhihua.service_community.model.dos.ComVeteransPopulationDO"> |
| | | <id column="id" property="id" /> |
| | | <result column="population_id" property="populationId" /> |
| | | <result column="street_id" property="streetId" /> |
| | | <result column="community_id" property="communityId" /> |
| | | <result column="name" property="name" /> |
| | | <result column="card_no" property="cardNo" /> |
| | | <result column="phone" property="phone" /> |
| | | <result column="person_status" property="personStatus" /> |
| | | <result column="organization" property="organization" /> |
| | | <result column="photo" property="photo" /> |
| | | <result column="regiter_nature" property="regiterNature" /> |
| | | <result column="enlist_date" property="enlistDate" /> |
| | | <result column="retire_date" property="retireDate" /> |
| | | <result column="person_category" property="personCategory" /> |
| | | <result column="house_situation" property="houseSituation" /> |
| | | <result column="house_situation_other" property="houseSituationOther" /> |
| | | <result column="build_area" property="buildArea" /> |
| | | <result column="employment_situation" property="employmentSituation" /> |
| | | <result column="incumbency_type" property="incumbencyType" /> |
| | | <result column="employment_situation_other" property="employmentSituationOther" /> |
| | | <result column="endowment_insurance" property="endowmentInsurance" /> |
| | | <result column="medical_insurance" property="medicalInsurance" /> |
| | | <result column="annual_income" property="annualIncome" /> |
| | | <result column="father_healthy" property="fatherHealthy" /> |
| | | <result column="mother_healthy" property="motherHealthy" /> |
| | | <result column="spouse_healthy" property="spouseHealthy" /> |
| | | <result column="son_healthy" property="sonHealthy" /> |
| | | <result column="daughter_dealthy" property="daughterDealthy" /> |
| | | <result column="main_difficulty" property="mainDifficulty" /> |
| | | <result column="other_difficulty" property="otherDifficulty" /> |
| | | <result column="main_demand" property="mainDemand" /> |
| | | <result column="main_demand_other" property="mainDemandOther" /> |
| | | <result column="academic_training" property="academicTraining" /> |
| | | <result column="is_veterans_training" property="isVeteransTraining" /> |
| | | <result column="education_before_enlistment" property="educationBeforeEnlistment" /> |
| | | <result column="re_education" property="reEducation" /> |
| | | <result column="major" property="major" /> |
| | | <result column="major_other" property="majorOther" /> |
| | | <result column="once_engaged_industry" property="onceEngagedIndustry" /> |
| | | <result column="once_engaged_industry_other" property="onceEngagedIndustryOther" /> |
| | | <result column="intended_place_of_employment" property="intendedPlaceOfEmployment" /> |
| | | <result column="intended_place_of_employment_other" property="intendedPlaceOfEmploymentOther" /> |
| | | <result column="unemploymed_engaged_industry" property="unemploymedEngagedIndustry" /> |
| | | <result column="unemploymed_engaged_industry_other" property="unemploymedEngagedIndustryOther" /> |
| | | <result column="is_business" property="isBusiness" /> |
| | | <result column="business_desire" property="businessDesire" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="fill_unit" property="fillUnit" /> |
| | | <result column="fill_person" property="fillPerson" /> |
| | | <result column="fill_person_phone" property="fillPersonPhone" /> |
| | | <result column="create_at" property="createAt" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="update_at" property="updateAt" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, population_id, street_id, community_id, name, card_no, phone, person_status, organization, photo, regiter_nature, enlist_date, retire_date, person_category, house_situation, house_situation_other, build_area, employment_situation, incumbency_type, employment_situation_other, endowment_insurance, medical_insurance, annual_income, father_healthy, mother_healthy, spouse_healthy, son_healthy, daughter_dealthy, main_difficulty, other_difficulty, main_demand, main_demand_other, academic_training, is_veterans_training, education_before_enlistment, re_education, major, major_other, once_engaged_industry, once_engaged_industry_other, intended_place_of_employment, intended_place_of_employment_other, unemploymed_engaged_industry, unemploymed_engaged_industry_other, is_business, business_desire, remark, fill_unit, fill_person, fill_person_phone, create_at, create_by, update_at, update_by |
| | | </sql> |
| | | |
| | | </mapper> |