|
@ -866,7 +866,7 @@ public class FamilyContractService extends BaseService {
|
|
String emerMobile, String images,
|
|
String emerMobile, String images,
|
|
String healthLabel, String customLabel, String disease,
|
|
String healthLabel, String customLabel, String disease,
|
|
String expenses, String signDoctorCode,
|
|
String expenses, String signDoctorCode,
|
|
String signDoctorName, String signDoctorLevel, long adminTeamCode,String sevId) throws Exception {
|
|
|
|
|
|
String signDoctorName, String signDoctorLevel, long adminTeamCode,String sevId,String countryCode) throws Exception {
|
|
// 查询是否有家庭签约
|
|
// 查询是否有家庭签约
|
|
SignFamily sc = signFamilyDao.findByIdcard(idcard);
|
|
SignFamily sc = signFamilyDao.findByIdcard(idcard);
|
|
if (sc != null) {
|
|
if (sc != null) {
|
|
@ -1074,7 +1074,9 @@ public class FamilyContractService extends BaseService {
|
|
patient.getName(), healthLabel, disease, customLabel, sf.getDoctor(), signDoctorCode) == 1)) {
|
|
patient.getName(), healthLabel, disease, customLabel, sf.getDoctor(), signDoctorCode) == 1)) {
|
|
throw new Exception("patient sign label settting error:" + patient.getIdcard());
|
|
throw new Exception("patient sign label settting error:" + patient.getIdcard());
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//1.3.5新增居委会字段
|
|
|
|
signWebService.setPatientCountryFamily(countryCode,sf);
|
|
|
|
//保存签约信息
|
|
SignFamily temp = signFamilyDao.save(sf);
|
|
SignFamily temp = signFamilyDao.save(sf);
|
|
|
|
|
|
//设置基卫标识1.3.3.2版本更新
|
|
//设置基卫标识1.3.3.2版本更新
|
|
@ -3326,7 +3328,7 @@ public class FamilyContractService extends BaseService {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Transactional
|
|
@Transactional
|
|
public int signRenewOverdue(String doctor,String healthDoctor, String patient, String reason) throws Exception {
|
|
|
|
|
|
public int signRenewOverdue(String doctor,String healthDoctor, String patient, String reason,String countryCode) throws Exception {
|
|
Patient p = patientDao.findByCode(patient);
|
|
Patient p = patientDao.findByCode(patient);
|
|
if (p == null) {
|
|
if (p == null) {
|
|
return -1;
|
|
return -1;
|
|
@ -3471,6 +3473,9 @@ public class FamilyContractService extends BaseService {
|
|
if(StringUtils.isNotBlank(reason)){
|
|
if(StringUtils.isNotBlank(reason)){
|
|
sf.setRenewChangeReason(reason);
|
|
sf.setRenewChangeReason(reason);
|
|
}
|
|
}
|
|
|
|
//1.3.5新增居委会字段
|
|
|
|
signWebService.setPatientCountryFamily(countryCode,sf);
|
|
|
|
|
|
SignFamily temp = signFamilyDao.save(sf);
|
|
SignFamily temp = signFamilyDao.save(sf);
|
|
|
|
|
|
if (temp != null) {
|
|
if (temp != null) {
|