|  | @ -771,7 +771,7 @@ public class AdminDoorCoachOrderService extends BaseJpaService<BaseDoorCoachOrde
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         // 派单时,把医生拉入会话,作为其中一个成员,医生拒单时,退出会话
 | 
	
		
			
				|  |  |         ConsultDo consult = consultDao.queryByRelationCode(orderId);
 | 
	
		
			
				|  |  |         String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getId() + "_" + doorServiceOrderDO.getNumber() + "_" + consult.getType();
 | 
	
		
			
				|  |  |         String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getType();
 | 
	
		
			
				|  |  |         imUtill.updateParticipantNew(sessionId,doctor,null);
 | 
	
		
			
				|  |  |         if (!dispatcher.equals("System")){
 | 
	
		
			
				|  |  |             messageUtil.updateDoorCoachMessage(doorServiceOrderDO,new String[]{"702","703","730","735"},"731",dispatcher,dispatcher);
 | 
	
	
		
			
				|  | @ -854,7 +854,7 @@ public class AdminDoorCoachOrderService extends BaseJpaService<BaseDoorCoachOrde
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         // 派单时,把医生拉入会话,作为其中一个成员,医生拒单时,退出会话
 | 
	
		
			
				|  |  |         ConsultDo consult = consultDao.queryByRelationCode(orderId);
 | 
	
		
			
				|  |  |         String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getId() + "_" + doorServiceOrderDO.getNumber() + "_" + consult.getType();
 | 
	
		
			
				|  |  |         String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getType();
 | 
	
		
			
				|  |  |         imUtill.updateParticipantNew(sessionId,doctor,null);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         messageUtil.updateDoorCoachMessage(doorServiceOrderDO,new String[]{"702","703","730","735"},"731",dispatcher,dispatcher);
 | 
	
	
		
			
				|  | @ -1123,7 +1123,7 @@ public class AdminDoorCoachOrderService extends BaseJpaService<BaseDoorCoachOrde
 | 
	
		
			
				|  |  |             return result;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         ConsultDo consult = consultDao.queryByRelationCode(orderId);
 | 
	
		
			
				|  |  |         String sessionId = orderDO.getPatient() + "_" + consult.getId() + "_"  + orderDO.getNumber() +  "_" +  consult.getType();
 | 
	
		
			
				|  |  |         String sessionId = orderDO.getPatient() +  "_" +  consult.getType();
 | 
	
		
			
				|  |  |         // 把调度员拉入会话,作为其中一个成员,第一个进入会话的调度员,系统发送欢迎语和居民的预约卡片信息
 | 
	
		
			
				|  |  |         if (org.apache.commons.lang3.StringUtils.isEmpty(orderDO.getDispatcher())) {
 | 
	
		
			
				|  |  |             orderDO.setDispatcher(dispatcher);
 | 
	
	
		
			
				|  | @ -1469,7 +1469,7 @@ public class AdminDoorCoachOrderService extends BaseJpaService<BaseDoorCoachOrde
 | 
	
		
			
				|  |  |             //获取咨询
 | 
	
		
			
				|  |  |             ConsultDo consult = consultDao.queryByRelationCode(id);
 | 
	
		
			
				|  |  |             if (null != consult) {
 | 
	
		
			
				|  |  |                 doorServiceOrder.setSessionId(doorServiceOrder.getPatient() + "_" + consult.getId() + "_"  + doorServiceOrder.getNumber() +  "_" +  consult.getType());
 | 
	
		
			
				|  |  |                 doorServiceOrder.setSessionId(doorServiceOrder.getPatient() + "_" +  consult.getType());
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             object.put("sessionId",doorServiceOrder.getSessionId());
 | 
	
		
			
				|  |  | 
 |