Browse Source

支付卡片消息

huangwenjie 5 years ago
parent
commit
a8549e5d05

+ 20 - 0
business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

@ -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 医生标识