|
@ -1062,6 +1062,18 @@ public class ImService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if("1".equals(wlyyOutpatientDO.getOutpatientType()) && "2".equals(wlyyOutpatientDO.getType())){
|
|
|
|
JSONObject object = new JSONObject();
|
|
|
|
object.put("socket_sms_type",5);
|
|
|
|
object.put("relation_code",wlyyOutpatientDO.getId());
|
|
|
|
imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getPatient(),"1",content);
|
|
|
|
}else if("2".equals(wlyyOutpatientDO.getOutpatientType())){
|
|
|
|
JSONObject object = new JSONObject();
|
|
|
|
object.put("socket_sms_type",6);
|
|
|
|
object.put("relation_code",wlyyOutpatientDO.getId());
|
|
|
|
imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getGeneralDoctor(),"1",content);
|
|
|
|
}
|
|
|
|
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
}
|
|
}
|