Browse Source

【居民端】消息通知:更换健康管理师时提示的模板消息内容需优化
将模板消息中的“责任医生”修改为“健康管理师”。

trick9191 8 years ago
parent
commit
9c87c3575d

+ 3 - 3
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/account/DoctorInfoService.java

@ -846,7 +846,7 @@ public class DoctorInfoService extends BaseService {
            data.put("represented",patient);//被代理人
            data.put("doctor", newD.getCode());
            data.put("doctorName", newD.getName());
            data.put("first", p.getName() + ",您好!因签约团队内分工调整,您的责任医生有变动," + oldDoctorHealthName +
            data.put("first", p.getName() + ",您好!因签约团队内分工调整,您的健康管理师有变动," + oldDoctorHealthName +
                    "医生无法继续为您服务,具体变动如下:");
            data.put("keyword3", "家庭医生");
            data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
@ -861,7 +861,7 @@ public class DoctorInfoService extends BaseService {
            data.put("represented",patient);//被代理人
            data.put("doctor", newD.getCode());
            data.put("doctorName", newD.getName());
            data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位责任医生,医生信息如下:");
            data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位健康管理师,医生信息如下:");
            data.put("keyword3", "家庭医生");
            data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
            data.put("keyword1", newD.getName());
@ -993,7 +993,7 @@ public class DoctorInfoService extends BaseService {
        data.put("represented",patient);//被代理人
        data.put("doctor", newD.getCode());
        data.put("doctorName", newD.getName());
        data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位责任医生,医生信息如下:");
        data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位健康管理师,医生信息如下:");
        data.put("keyword3", "家庭医生");
        data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
        data.put("keyword1", newD.getName());

+ 2 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/sign/FamilyContractService.java

@ -2008,7 +2008,7 @@ public class FamilyContractService extends BaseService {
                data.put("toUser", patient);
                data.put("doctor", docHealth.getCode());
                data.put("doctorName", docHealth.getName());
                data.put("first", p.getName() + ",您好!因签约团队内分工调整,您的责任医生有变动," + oldDoctorHealthName +
                data.put("first", p.getName() + ",您好!因签约团队内分工调整,您的健康管理师有变动," + oldDoctorHealthName +
                        "医生无法继续为您服务,具体变动如下:");
                data.put("keyword3", "家庭医生");
                data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
@ -2024,7 +2024,7 @@ public class FamilyContractService extends BaseService {
                data.put("toUser", patient);
                data.put("doctor", docHealth.getCode());
                data.put("doctorName", docHealth.getName());
                data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位责任医生,医生信息如下:");
                data.put("first", p.getName() + ",您好!您的签约团队已为您新增一位健康管理师,医生信息如下:");
                data.put("keyword3", "家庭医生");
                data.put("keyword2", DateUtil.dateToStrNoSecond(new Date()));
                data.put("keyword1", docHealth.getName());

+ 2 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/sign/SignWebService.java

@ -718,8 +718,8 @@ public class SignWebService extends BaseService {
        return object;
    }
    public JSONObject getSignServiceInfo(String teamCode) {
        SignFamily signFamily = signFamilyDao.findByTeamCode(teamCode);
    public JSONObject getSignServiceInfo(String signCode) {
        SignFamily signFamily = signFamilyDao.findByCode(signCode);
        if (signFamily == null) {
            return new JSONObject();
        }

+ 2 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/sign/PatientSignController.java

@ -280,9 +280,9 @@ public class PatientSignController extends BaseController {
	}
	@RequestMapping("/sign_service_info")
	public String getSignServiceInfo(@RequestParam(required = true,value = "team")String teamCode) {
	public String getSignServiceInfo(@RequestParam(required = true)String signCode) {
		try {
			JSONObject resultObj = signWebService.getSignServiceInfo(teamCode);
			JSONObject resultObj = signWebService.getSignServiceInfo(signCode);
			return write(200, "查询成功!", "data", resultObj);
		} catch (Exception ex) {
			error(ex);