Prechádzať zdrojové kódy

Merge branch 'dev' of huangwenjie/wlyy2.0 into dev

huangwenjie 5 rokov pred
rodič
commit
c0b62b9ac9

+ 6 - 0
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/consult/DoctorConsultEndpoint.java

@ -248,6 +248,12 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
			object.put("socket_sms_type",6);
			object.put("relation_code",wlyyOutpatientDO.getId());
			imService.sendWaiSocketMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getGeneralDoctor(),object.toString(),"1");
		}else{
			System.out.println("发送外层SOCKET消息:协同门诊医生抢单之后,通知居民修改状态");
			JSONObject object = new JSONObject();
			object.put("socket_sms_type",6);
			object.put("relation_code",wlyyOutpatientDO.getId());
			imService.sendWaiSocketMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getPatient(),object.toString(),"1");
		}
		return success("请求成功");
	}