| 
					
				 | 
			
			
				@ -470,6 +470,7 @@ public class DoctorDoorCoachOrderController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "page", value = "分页大小", required = true, defaultValue = "1") @RequestParam(value = "page") int page, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "size", value = "页码", required = true, defaultValue = "15") @RequestParam(value = "size") int size) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            doctorDoorCoachOrderService.initDoorStatus(hospital); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject result = doctorDoorCoachOrderService.queryDoctorList(patient,hospital, doctorName, status, page, size); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (result.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return error(-1,result.getString(ResponseContant.resultMsg)); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -557,7 +558,7 @@ public class DoctorDoorCoachOrderController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "初始化医生分派订单开关状态") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String initDoorStatus() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            doctorDoorCoachOrderService.initDoorStatus(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            doctorDoorCoachOrderService.initDoorStatus(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return success("成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            error(e); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -597,6 +598,25 @@ public class DoctorDoorCoachOrderController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @PostMapping(value = "dispatcherIntoTopic") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "调度员进入会话") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public ObjEnvelop dispatcherIntoTopic( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "orderId", value = "工单id", required = true) @RequestParam String orderId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "hospitalName", value = "机构名称", required = true) @RequestParam String hospitalName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "dispatcher", value = "调度员code", required = true) @RequestParam String dispatcher, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "dispatcherName", value = "调度员姓名", required = true) @RequestParam  String dispatcherName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject result = patientDoorCoachOrderService.dispatcherIntoTopic(orderId,hospitalName,dispatcher,dispatcherName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (result.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                return ObjEnvelop.getError(result.getString(ResponseContant.resultMsg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return ObjEnvelop.getSuccess("转接成功",result.get(ResponseContant.resultMsg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return ObjEnvelop.getError("转接失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/urlAnalysis",produces = "application/json;charset=UTF-8", method = RequestMethod.GET) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("门牌解析上门地址") 
			 |