|
@ -70,8 +70,6 @@ public class PatientInfoService extends BaseService {
|
|
@Autowired
|
|
@Autowired
|
|
private TblBasicDao tblBasicDao;
|
|
private TblBasicDao tblBasicDao;
|
|
@Autowired
|
|
@Autowired
|
|
private SocialSecurityInfoDao socialSecurityInfoDao;
|
|
|
|
@Autowired
|
|
|
|
SMSService smsService;
|
|
SMSService smsService;
|
|
@Autowired
|
|
@Autowired
|
|
SignFamilyDao signFamilyDao;
|
|
SignFamilyDao signFamilyDao;
|
|
@ -93,6 +91,8 @@ public class PatientInfoService extends BaseService {
|
|
JdbcTemplate jdbcTemplate;
|
|
JdbcTemplate jdbcTemplate;
|
|
@Autowired
|
|
@Autowired
|
|
RSAUtils rsaUtils;
|
|
RSAUtils rsaUtils;
|
|
|
|
@Autowired
|
|
|
|
SocialSecurityInfoDao socialSecurityInfoDao;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 患者更换手机号
|
|
* 患者更换手机号
|
|
@ -359,7 +359,19 @@ public class PatientInfoService extends BaseService {
|
|
|
|
|
|
String doctor = doctorCode;
|
|
String doctor = doctorCode;
|
|
String response = jwArchivesService.saveSickArchiveRecord(json.toString(),doctor);
|
|
String response = jwArchivesService.saveSickArchiveRecord(json.toString(),doctor);
|
|
|
|
if("0".equals(response)){
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//保存建档记录
|
|
|
|
SocialSecurityInfo info = new SocialSecurityInfo();
|
|
|
|
info.setXming0(p.getName());
|
|
|
|
info.setXbie00(p.getSex()+"");
|
|
|
|
info.setSfzh18(p.getIdcard());
|
|
|
|
info.setId0000(p.getIdcard());
|
|
|
|
info.setCardno(p.getSsc());
|
|
|
|
info.setCard16(p.getSsc());
|
|
|
|
socialSecurityInfoDao.save(info);
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|