|
@ -1062,15 +1062,16 @@ public class ImService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//发送外层SOCKET消息
|
|
|
if("1".equals(wlyyOutpatientDO.getOutpatientType()) && "2".equals(wlyyOutpatientDO.getType())){
|
|
|
System.out.println("发送外层SOCKET消息:1");
|
|
|
//发送外层SOCKET消息 在线复诊
|
|
|
if("1".equals(wlyyOutpatientDO.getOutpatientType())){
|
|
|
System.out.println("发送外层SOCKET消息:在线复诊");
|
|
|
JSONObject object = new JSONObject();
|
|
|
object.put("socket_sms_type",5);
|
|
|
object.put("relation_code",wlyyOutpatientDO.getId());
|
|
|
imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getPatient(),"1",object.toString());
|
|
|
}else if("2".equals(wlyyOutpatientDO.getOutpatientType())){
|
|
|
System.out.println("发送外层SOCKET消息:2");
|
|
|
//协同门诊
|
|
|
System.out.println("发送外层SOCKET消息:协同门诊");
|
|
|
JSONObject object = new JSONObject();
|
|
|
object.put("socket_sms_type",5);
|
|
|
object.put("relation_code",wlyyOutpatientDO.getId());
|