|
@ -1725,6 +1725,26 @@ public class ImService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 发送处方支付消息
|
|
|
* @param jsonObject
|
|
|
* @param doctor
|
|
|
* @param doctorName
|
|
|
* @param outpatientId
|
|
|
* @param patient
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String sendOutPatientSuggestMsg(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", "35",jsonObject.toString(),"1");
|
|
|
}else if("2".equals(outpatientType)){
|
|
|
return imUtil.sendImMsg(doctor, doctorName, patient+"_"+outpatientId+"_12", "35",jsonObject.toString(),"1");
|
|
|
}else{
|
|
|
return null;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询医生所有的咨询记录
|
|
|
* @param doctor 医生标识
|