|  | @ -1064,15 +1064,17 @@ public class ImService {
 | 
	
		
			
				|  |  | 			
 | 
	
		
			
				|  |  | 			//发送外层SOCKET消息
 | 
	
		
			
				|  |  | 			if("1".equals(wlyyOutpatientDO.getOutpatientType()) && "2".equals(wlyyOutpatientDO.getType())){
 | 
	
		
			
				|  |  | 				System.out.println("发送外层SOCKET消息:1");
 | 
	
		
			
				|  |  | 				JSONObject object = new JSONObject();
 | 
	
		
			
				|  |  | 				object.put("socket_sms_type",5);
 | 
	
		
			
				|  |  | 				object.put("relation_code",wlyyOutpatientDO.getId());
 | 
	
		
			
				|  |  | 				imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getPatient(),"1",content);
 | 
	
		
			
				|  |  | 				imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getPatient(),"1",object.toString());
 | 
	
		
			
				|  |  | 			}else if("2".equals(wlyyOutpatientDO.getOutpatientType())){
 | 
	
		
			
				|  |  | 				System.out.println("发送外层SOCKET消息:2");
 | 
	
		
			
				|  |  | 				JSONObject object = new JSONObject();
 | 
	
		
			
				|  |  | 				object.put("socket_sms_type",6);
 | 
	
		
			
				|  |  | 				object.put("socket_sms_type",5);
 | 
	
		
			
				|  |  | 				object.put("relation_code",wlyyOutpatientDO.getId());
 | 
	
		
			
				|  |  | 				imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getGeneralDoctor(),"1",content);
 | 
	
		
			
				|  |  | 				imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getGeneralDoctor(),"1",object.toString());
 | 
	
		
			
				|  |  | 			}
 | 
	
		
			
				|  |  | 			
 | 
	
		
			
				|  |  | 			return result;
 | 
	
	
		
			
				|  | @ -1581,4 +1583,12 @@ public class ImService {
 | 
	
		
			
				|  |  | 		
 | 
	
		
			
				|  |  | 		return count;
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	public void testSendWaiSocketMessage(String sender,String reciver){
 | 
	
		
			
				|  |  | 		imUtil.sendMessage(sender,reciver,"1","111");
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	public void sendWaiSocketMessage(String sender,String reciver,String content){
 | 
	
		
			
				|  |  | 		imUtil.sendMessage(sender,reciver,"1",content);
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | }
 |