|
@ -1332,6 +1332,11 @@ public class ImService {
|
|
|
consultTitle = "家医咨询";
|
|
|
}
|
|
|
|
|
|
}else if("4".equals(wlyyOutpatientDO.getOutpatientType())){
|
|
|
//康复咨询
|
|
|
users.put(patient, 0);
|
|
|
ct.setType(28);
|
|
|
consultTitle = "图文咨询";
|
|
|
} else {
|
|
|
users.put(patient, 0);
|
|
|
consultTitle = "申请复诊";
|
|
@ -1404,6 +1409,15 @@ public class ImService {
|
|
|
} else {
|
|
|
obj = imUtil.createTopics(sessionId, consult.getId(), p.getName(), users, messages, imUtil.SESSION_TYPE_GENERAL_EXPERT);
|
|
|
}
|
|
|
}else if("4".equals(wlyyOutpatientDO.getOutpatientType())){
|
|
|
messages = imUtil.getCreateTopicMessage(patient, p.getName(), consult.getTitle(), content, consult.getImages(), doctorCode);
|
|
|
//5、(im创建咨询) 续方咨询的sessionid为居民code+就诊code+28(图文,视频,图文+视频)
|
|
|
sessionId = patient + "_" + outpatientCode + "_" + ct.getType();
|
|
|
|
|
|
if ("1".equalsIgnoreCase(wlyyOutpatientDO.getType())) {
|
|
|
//康复咨询
|
|
|
obj = imUtil.createTopics(sessionId, consult.getId(), p.getName(), users, messages, imUtil.SESSION_TYPE_KANGFUConsult);
|
|
|
}
|
|
|
} else {
|
|
|
messages = imUtil.getCreateTopicMessage(patient, p.getName(), consult.getTitle(), content, consult.getImages(), doctorCode);
|
|
|
//5、(im创建咨询) 续方咨询的sessionid为居民code+就诊code+9(图文,视频,图文+视频)
|
|
@ -1734,6 +1748,8 @@ public class ImService {
|
|
|
msgStr = msgStr + " 已开始复诊";
|
|
|
} else if ("2".equals(wlyyOutpatientDO.getOutpatientType())) {
|
|
|
msgStr = msgStr + " 已开始协同门诊";
|
|
|
} else if("4".equals(wlyyOutpatientDO.getOutpatientType())){
|
|
|
msgStr = msgStr + " 已开始康复咨询";
|
|
|
} else {
|
|
|
msgStr = msgStr + " 已开始专家咨询";
|
|
|
}
|