Browse Source

签约管理

trick9191 7 years ago
parent
commit
64847778e2

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

@ -2798,12 +2798,6 @@ public class SignWebService extends BaseService {
    public void setSignFamilyDoctor(SignFamily renew, String doctor) {
        Doctor d = doctorDao.findByCode(doctor);
        //设置签约医生
        renew.setDoctor(doctor);
        renew.setDoctorName(d.getName());
        renew.setSignDoctorCode(doctor);
        renew.setSignDoctorName(d.getName());
        //创建团队
        DoctorTeam t = new DoctorTeam();
        String code = getCode();
@ -2853,6 +2847,13 @@ public class SignWebService extends BaseService {
        //保存团队
        doctorTeamDao.save(t);
        //设置签约医生
        renew.setDoctor(doctor);
        renew.setDoctorName(d.getName());
        renew.setSignDoctorCode(doctor);
        renew.setSignDoctorName(d.getName());
        renew.setTeamCode(code);
        return ;
    }

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/wechat/process/WeiXinEventProcess.java

@ -880,7 +880,7 @@ public class WeiXinEventProcess {
        articleConsult.put("Url", url);
        articleConsult.put("Title", "您有一个开通专科服务的邀请,点击查看");
        articleConsult.put("Description", "家庭医生协助专科医生团队为您提供专项服务");
        articleConsult.put("PicUrl", "http://172.19.103.54/group1/M00/0E/F6/rBFuWltXz9mAREmZAALp-xsC9nA897.png");
        articleConsult.put("PicUrl", picUrlConsult);
        articles.add(articleConsult);
    }