瀏覽代碼

代码修改

LAPTOP-KB9HII50\70708 2 月之前
父節點
當前提交
c04e742311

+ 4 - 3
business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

@ -3223,14 +3223,15 @@ public class ImService {
                sender_id = dictDO.getDictCode();
                sender_name = dictDO.getDictValue();
            }
            String msg2 = "医生已完成接诊,您可以点击右上角的【结束咨询】按钮,结束当前候诊";
            String msg2 = "医生已接诊,该候诊将自动结束";
//            String msg2 = "医生已完成接诊,您可以点击右上角的【结束咨询】按钮,结束当前候诊";
            if (imUtil.sessionIsExist(session_id26)) {
                imUtil.sendImMsg(sender_id, sender_name, session_id26, "51", json.toJSONString(), "1", null);
                imUtil.sendImMsg(sender_id, sender_name, session_id26, "1", msg2, "1", null);
                imUtil.sendImMsg(sender_id, sender_name, session_id26, "52", msg2, "1", null);
            }
            if (imUtil.sessionIsExist(session_id27)) {
                imUtil.sendImMsg(sender_id, sender_name, session_id27, "51", json.toJSONString(), "1", null);
                imUtil.sendImMsg(sender_id, sender_name, session_id27, "1", msg2, "1", null);
                imUtil.sendImMsg(sender_id, sender_name, session_id27, "52", msg2, "1", null);
            }
        } catch (Exception e) {

+ 1 - 0
business/im-service/src/main/java/com/yihu/jw/im/util/ImUtil.java

@ -51,6 +51,7 @@ public class ImUtil {
        Know("已知悉", "22"),
        Hospitalization("住院登记申请", "50"),
        ReceptionReminder("接诊提醒", "51"),
        ReceptionEnd("医生接诊-候诊结束", "52"),
        KnowCommonQuestion("知识库-常见问题", "3001"),
        KnowCommonCustomer("知识库-客服欢迎", "3008"),
        KnowCommonQuestions("知识库-常见问题集", "3002"),