| 
															
																@ -470,7 +470,7 @@ public class WlyyDoorServiceOrderService extends BaseJpaService<WlyyDoorServiceO 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                // 把医生拉入会话,作为其中一个成员 
															 | 
															
															 | 
															
																                // 把医生拉入会话,作为其中一个成员 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                if(StringUtils.isNoneBlank(sessionId)){ 
															 | 
															
															 | 
															
																                if(StringUtils.isNoneBlank(sessionId)){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                    imUtill.updateParticipant(sessionId,doorDoctorDO.getDoctor(),null); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                    imUtill.updateParticipantNew(sessionId,doorDoctorDO.getDoctor(),null); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                } 
															 | 
															
															 | 
															
																                } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            } 
															 | 
															
															 | 
															
																            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -829,12 +829,12 @@ public class WlyyDoorServiceOrderService extends BaseJpaService<WlyyDoorServiceO 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            orderDO.setDispatcherName(dispatcherName); 
															 | 
															
															 | 
															
																            orderDO.setDispatcherName(dispatcherName); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            this.save(orderDO); 
															 | 
															
															 | 
															
																            this.save(orderDO); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            // 先进入会话,再聊天 
															 | 
															
															 | 
															
																            // 先进入会话,再聊天 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            imUtill.updateParticipant(sessionId,dispatcher,null); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            imUtill.updateParticipantNew(sessionId,dispatcher,null); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            String noticeContent = hospitalName + dispatcherName + "为您服务"; 
															 | 
															
															 | 
															
																            String noticeContent = hospitalName + dispatcherName + "为您服务"; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            this.qucikSendIM(orderId, dispatcher, "智能助手", "1", noticeContent); 
															 | 
															
															 | 
															
																            this.qucikSendIM(orderId, dispatcher, "智能助手", "1", noticeContent); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        // 把调度员拉入会话,作为其中一个成员 
															 | 
															
															 | 
															
																        // 把调度员拉入会话,作为其中一个成员 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        imUtill.updateParticipant(sessionId,dispatcher,null); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        imUtill.updateParticipantNew(sessionId,dispatcher,null); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        result.put(ResponseContant.resultFlag, ResponseContant.success); 
															 | 
															
															 | 
															
																        result.put(ResponseContant.resultFlag, ResponseContant.success); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        result.put(ResponseContant.resultMsg, "调度员["+dispatcherName+"]进入会话成功"); 
															 | 
															
															 | 
															
																        result.put(ResponseContant.resultMsg, "调度员["+dispatcherName+"]进入会话成功"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        return result; 
															 | 
															
															 | 
															
																        return result; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -2242,7 +2242,7 @@ public class WlyyDoorServiceOrderService extends BaseJpaService<WlyyDoorServiceO 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        // 派单时,把医生拉入会话,作为其中一个成员,医生拒单时,退出会话 
															 | 
															
															 | 
															
																        // 派单时,把医生拉入会话,作为其中一个成员,医生拒单时,退出会话 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        ConsultDo consult = consultDao.queryByRelationCode(orderId); 
															 | 
															
															 | 
															
																        ConsultDo consult = consultDao.queryByRelationCode(orderId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getId() + "_" + doorServiceOrderDO.getNumber() + "_" + consult.getType(); 
															 | 
															
															 | 
															
																        String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getId() + "_" + doorServiceOrderDO.getNumber() + "_" + consult.getType(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        imUtill.updateParticipant(sessionId,doctor,null); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        imUtill.updateParticipantNew(sessionId,doctor,null); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        messageUtil.updateMessage(doorServiceOrderDO,new String[]{"402","403","430","435"},"431",dispatcher,dispatcher); 
															 | 
															
															 | 
															
																        messageUtil.updateMessage(doorServiceOrderDO,new String[]{"402","403","430","435"},"431",dispatcher,dispatcher); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        // 工单状态变更记录 
															 | 
															
															 | 
															
																        // 工单状态变更记录 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -2317,7 +2317,7 @@ public class WlyyDoorServiceOrderService extends BaseJpaService<WlyyDoorServiceO 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        // 派单时,把医生拉入会话,作为其中一个成员,医生拒单时,退出会话 
															 | 
															
															 | 
															
																        // 派单时,把医生拉入会话,作为其中一个成员,医生拒单时,退出会话 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        ConsultDo consult = consultDao.queryByRelationCode(orderId); 
															 | 
															
															 | 
															
																        ConsultDo consult = consultDao.queryByRelationCode(orderId); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getId() + "_" + doorServiceOrderDO.getNumber() + "_" + consult.getType(); 
															 | 
															
															 | 
															
																        String sessionId = doorServiceOrderDO.getPatient() + "_" + consult.getId() + "_" + doorServiceOrderDO.getNumber() + "_" + consult.getType(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        imUtill.updateParticipant(sessionId,doctor,null); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        imUtill.updateParticipantNew(sessionId,doctor,null); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        messageUtil.updateMessage(doorServiceOrderDO,new String[]{"402","403","430","435"},"431",dispatcher,dispatcher); 
															 | 
															
															 | 
															
																        messageUtil.updateMessage(doorServiceOrderDO,new String[]{"402","403","430","435"},"431",dispatcher,dispatcher); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        // 工单状态变更记录 
															 | 
															
															 | 
															
																        // 工单状态变更记录 
															 |