|
@ -231,6 +231,12 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
|
|
|
register=true;
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(relativesIdcard)){
|
|
|
BasePatientDO tmp = patientDao.findByIdcard(relativesIdcard);
|
|
|
if (null != tmp){
|
|
|
result.put(ResponseContant.resultFlag,ResponseContant.fail);
|
|
|
result.put(ResponseContant.resultMsg,"身份证已存在!");
|
|
|
return result;
|
|
|
}
|
|
|
patientDO.setIdcard(relativesIdcard);
|
|
|
register=true;
|
|
|
}
|