|
@ -261,7 +261,7 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
|
|
|
|
|
|
String salt = UUID.randomUUID().toString().substring(0, 5);
|
|
String salt = UUID.randomUUID().toString().substring(0, 5);
|
|
String pw = "";
|
|
String pw = "";
|
|
if(true){
|
|
|
|
|
|
if(idcard.length()!=18){
|
|
pw = idcard.substring(idcard.length()-7,idcard.length()-1);
|
|
pw = idcard.substring(idcard.length()-7,idcard.length()-1);
|
|
}else{
|
|
}else{
|
|
pw = idcard.substring(idcard.length()-6);
|
|
pw = idcard.substring(idcard.length()-6);
|
|
@ -275,6 +275,8 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
|
|
basePatientDO.setCreateUserName(relatives);
|
|
basePatientDO.setCreateUserName(relatives);
|
|
basePatientDO.setCreateTime(new Date());
|
|
basePatientDO.setCreateTime(new Date());
|
|
basePatientDO.setDel("1");
|
|
basePatientDO.setDel("1");
|
|
|
|
basePatientDO.setLocked(0);
|
|
|
|
basePatientDO.setEnabled(1);
|
|
patientDao.save(basePatientDO);
|
|
patientDao.save(basePatientDO);
|
|
}
|
|
}
|
|
}else {
|
|
}else {
|