| 
					
				 | 
			
			
				@ -37,6 +37,24 @@ public class ConsultTeamService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private WlyyDoorServiceOrderService wlyyDoorServiceOrderService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONObject updateIMMsg(String sessionId,String sessionType,String msgId,String content){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject result = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(StringUtils.isEmpty(sessionId) || StringUtils.isEmpty(sessionType) || StringUtils.isEmpty(msgId) || StringUtils.isEmpty(content)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put("data", "参数【sessionId,sessionType,msgId,content】不可为空!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put("status", -1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return result ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject contentJsonObj = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            contentJsonObj = JSONObject.parseObject(content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put("status", -1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put("data", "【content】必须是json格式:" + e.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String response = imUtill.updateMessage(sessionId,sessionType,msgId,content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return JSONObject.parseObject(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 根据咨询查关联业务记录 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -176,7 +194,7 @@ public class ConsultTeamService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        // 把医生拉入会话,作为其中一个成员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(StringUtils.isNotBlank(doorServiceOrderDO.getDoctor())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            imUtill.updateParticipant(sessionId,doorServiceOrderDO.getDoctor(),null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            imUtill.updateParticipantNew(sessionId,doorServiceOrderDO.getDoctor(),null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        consultTeam.setStartMsgId(imResponseJson.get("start_msg_id").toString()); 
			 |