|
@ -1680,9 +1680,10 @@ public class ImService {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String pushHuiZhenMsg(com.alibaba.fastjson.JSONObject jsonObject,String doctor,String doctorName,String outpatientId,String patient,String outpatientType) throws Exception {
|
|
|
if("1".equals(outpatientType)){
|
|
|
return imUtil.sendImMsg(doctor, doctorName, patient+"_"+outpatientId+"_9", "31",jsonObject.toString(),"1");
|
|
|
}else if("2".equals(outpatientType)){
|
|
|
// if("1".equals(outpatientType)){
|
|
|
// return imUtil.sendImMsg(doctor, doctorName, patient+"_"+outpatientId+"_9", "31",jsonObject.toString(),"1");
|
|
|
// }else
|
|
|
if("2".equals(outpatientType)){
|
|
|
return imUtil.sendImMsg(doctor, doctorName, patient+"_"+outpatientId+"_12", "31",jsonObject.toString(),"1");
|
|
|
}else{
|
|
|
return null;
|