소스 검색

Merge branch 'dev' of yeshijie/wlyy2.0 into dev

叶仕杰 4 년 전
부모
커밋
60306a3011
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/family/PatientFamilyMemberService.java

+ 7 - 1
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/family/PatientFamilyMemberService.java

@ -61,7 +61,13 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
     */
    public int familyRelationTrans(BasePatientDO patient, int relation) throws Exception {
        int relationTrans = 0;
        if(patient.getSex()==null&&StringUtils.isNoneBlank(patient.getIdcard())){
            try {
                patient.setSex(Integer.valueOf(IdCardUtil.getSexForIdcard_new(patient.getIdcard())));
            }catch (Exception e){
                e.printStackTrace();
            }
        }
        switch (relation) {
            case 1:
            case 2: