| | |
| | | vo.setMainRelatives(oneData.get(17).trim()); |
| | | } |
| | | if (StringUtils.isNotEmpty(oneData.get(18))) { |
| | | Integer isOk = PopulRelationEnum.getCodeByName(oneData.get(18)); |
| | | if (isOk.equals(-1)) { |
| | | index++; |
| | | ComMngPopulationRehabilitationMistakeExcelVO mistake = |
| | | new ComMngPopulationRehabilitationMistakeExcelVO(); |
| | | setRehabilitationMistake(oneData, mistake); |
| | | mistake.setMistake("您填写的与人员关系有误"); |
| | | mistakes.add(mistake); |
| | | continue; |
| | | } |
| | | vo.setPatientRelation(isOk); |
| | | // Integer isOk = PopulRelationEnum.getCodeByName(oneData.get(18)); |
| | | // if (isOk.equals(-1)) { |
| | | // index++; |
| | | // ComMngPopulationRehabilitationMistakeExcelVO mistake = |
| | | // new ComMngPopulationRehabilitationMistakeExcelVO(); |
| | | // setRehabilitationMistake(oneData, mistake); |
| | | // mistake.setMistake("您填写的与人员关系有误"); |
| | | // mistakes.add(mistake); |
| | | // continue; |
| | | // } |
| | | vo.setPatientRelation(oneData.get(18).trim()); |
| | | } |
| | | if (StringUtils.isNotEmpty(oneData.get(19))) { |
| | | vo.setRehabReasonAndType(oneData.get(19).trim()); |