|
@ -1004,23 +1004,25 @@ public class SignWebService extends BaseService {
|
|
|
renew.setStatus(-2);
|
|
|
} else if ("1".equals(state)) {
|
|
|
renew.setStatus(1);
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民服务类型
|
|
|
if(StringUtils.isNotBlank(sevId)){
|
|
|
setSevId(renew,sevId);
|
|
|
}
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民标签
|
|
|
signPatientLabelInfoService.setRenewPatientLabels(renew.getPatient(), health, disease,custom, renew.getDoctor(),renew.getDoctor());
|
|
|
//1.3.3.2设置可修改健康管理师
|
|
|
if(StringUtils.isNotBlank(healthDoctor)){
|
|
|
setHealthDoctor(renew,healthDoctor);
|
|
|
}
|
|
|
//1.3.3.2设置新团队
|
|
|
if(teamCode!=null&&teamCode!=0){
|
|
|
renew.setAdminTeamId(teamCode);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
renew.setApplyDate(new Date());
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民服务类型
|
|
|
setSevId(renew,sevId);
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民标签
|
|
|
signPatientLabelInfoService.setRenewPatientLabels(renew.getPatient(), health, disease,custom, renew.getDoctor(),renew.getDoctor());
|
|
|
//1.3.3.2设置可修改健康管理师
|
|
|
if(StringUtils.isNotBlank(healthDoctor)){
|
|
|
setHealthDoctor(renew,healthDoctor);
|
|
|
}
|
|
|
//1.3.3.2设置新团队
|
|
|
if(teamCode!=null&&teamCode!=0){
|
|
|
renew.setAdminTeamId(teamCode);
|
|
|
}
|
|
|
|
|
|
signFamilyRenewDao.save(renew);
|
|
|
|
|
@ -1135,25 +1137,24 @@ public class SignWebService extends BaseService {
|
|
|
renew.setStatus(-2);
|
|
|
} else if ("1".equals(state)) {
|
|
|
renew.setStatus(1);
|
|
|
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民服务类型
|
|
|
setSevId(renew,sevId);
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民标签
|
|
|
signPatientLabelInfoService.setPatientLabels(renew.getPatient(), renew.getIdcard(),"", health, disease, custom, renew.getDoctor(), renew.getDoctor());
|
|
|
//1.3.3.2设置可修改健康管理师
|
|
|
if(StringUtils.isNotBlank(healthDoctor)){
|
|
|
setHealthDoctor(renew,healthDoctor);
|
|
|
}
|
|
|
//1.3.3.2设置新团队
|
|
|
if(teamCode!=null&&teamCode!=0){
|
|
|
renew.setAdminTeamId(teamCode);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
renew.setApplyDate(new Date());
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民服务类型
|
|
|
setSevId(renew,sevId);
|
|
|
//1.3.3.2新增需求
|
|
|
//设置居民标签
|
|
|
signPatientLabelInfoService.setPatientLabels(renew.getPatient(), renew.getIdcard(),"", health, disease, custom, renew.getDoctor(), renew.getDoctor());
|
|
|
//1.3.3.2设置可修改健康管理师
|
|
|
if(StringUtils.isNotBlank(healthDoctor)){
|
|
|
setHealthDoctor(renew,healthDoctor);
|
|
|
}
|
|
|
//1.3.3.2设置新团队
|
|
|
if(teamCode!=null&&teamCode!=0){
|
|
|
renew.setAdminTeamId(teamCode);
|
|
|
}
|
|
|
|
|
|
|
|
|
signFamilyDao.save(renew);
|
|
|
//消息设为已读
|
|
|
setMessState(mesId);
|