|  | @ -96,7 +96,9 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 			@ApiParam(name = "dept", value = "部门CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "dept",required = false) String dept,
 | 
	
		
			
				|  |  | 			@ApiParam(name = "date", value = "日期")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "date",required = false) String date){
 | 
	
		
			
				|  |  | 			@RequestParam(value = "date",required = false) String date,
 | 
	
		
			
				|  |  | 			@ApiParam(name = "consult_status", value = "0离线,1空闲,2接诊中")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "consult_status",required = false) String consult_status){
 | 
	
		
			
				|  |  | //		String result = "[{\"id\":\"XXD2019887711\",\"doctor_name\":\"蔡建春\",\"visit_status\":0,\"patient_name\":\"张三\",\"visit_time\":\"2019-06-21 08:30:00\",\"time_cost\":50,\"waiting_count\":26,\"room_name\":\"01诊室\"},{\"id\":\"XXD2019887712\",\"doctor_name\":\"蔡阿梅\",\"visit_status\":1,\"patient_name\":\"李四\",\"visit_time\":\"2019-06-21 09:30:00\",\"time_cost\":60,\"waiting_count\":33,\"room_name\":\"02诊室\"}]";
 | 
	
		
			
				|  |  | 		return success("请求成功",prescriptionService.findClinicRoomList(dept,date));
 | 
	
		
			
				|  |  | 	}
 | 
	
	
		
			
				|  | @ -104,9 +106,11 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 	@GetMapping(value = BaseHospitalRequestMapping.DodtorIM.findClinicRoomStatus)
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "查询单个医生诊室状态", notes = "查询单个医生诊室状态")
 | 
	
		
			
				|  |  | 	public Envelop findClinicRoomStatus(
 | 
	
		
			
				|  |  | 			@ApiParam(name = "doctorCode", value = "医生CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "doctorCode",required = true) String doctorCode){
 | 
	
		
			
				|  |  | //		String result = "{\"id\":\"XXD2019887711\",\"doctor_name\":\"蔡建春\",\"visit_status\":0,\"patient_name\":\"张三\",\"visit_time\":\"2019-06-21 08:30:00\",\"waiting_count\":26}";
 | 
	
		
			
				|  |  | 			@ApiParam(name = "doctor_code", value = "医生CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "doctor_code",required = true) String doctorCode,
 | 
	
		
			
				|  |  | 			@ApiParam(name = "dept_code", value = "部门CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "dept",required = false) String dept){
 | 
	
		
			
				|  |  | 		String result = "{\"id\":\"402803816babc778016babca6d540008\"\"doctor_name\":\"梁敬兴\",\"visit_status\":0,\"patient_name\":\"白海灵\",\"visit_time\":\"2019-09-30 08:30:00\",\"time_cost\":50,\"waiting_count\":26,\"room_name\":\"01诊室\",\"dept_code\":'1190007',\"dept_name\":'急诊外科',\"visit_count\":2,\"ending_count\":0,\"offline_count\":2,}";
 | 
	
		
			
				|  |  | //		JSONObject obj = JSON.parseObject(result);
 | 
	
		
			
				|  |  | 		return success("请求成功",prescriptionService.findClinicRoomStatus(doctorCode));
 | 
	
		
			
				|  |  | 	}
 | 
	
	
		
			
				|  | @ -512,4 +516,13 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	@PostMapping(value = BaseHospitalRequestMapping.DodtorIM.alertPatientOnline)
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "医生提醒居民上线", notes = "医生提醒居民上线")
 | 
	
		
			
				|  |  | 	public Envelop alertPatientOnline(@ApiParam(name = "patient", value = "居民CODE")
 | 
	
		
			
				|  |  | 	                                         @RequestParam(value = "patient",required = true) String patient) {
 | 
	
		
			
				|  |  | 		
 | 
	
		
			
				|  |  | 		return success("操作成功");
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | }
 |