|  | @ -4,6 +4,8 @@ import com.alibaba.fastjson.JSON;
 | 
	
		
			
				|  |  | import com.yihu.jw.doctor.dao.BaseDoctorDao;
 | 
	
		
			
				|  |  | import com.yihu.jw.doctor.dao.BaseDoctorHospitalDao;
 | 
	
		
			
				|  |  | import com.yihu.jw.door.controller.BaseController;
 | 
	
		
			
				|  |  | import com.yihu.jw.door.dao.DoorServiceOrderDao;
 | 
	
		
			
				|  |  | import com.yihu.jw.door.service.DoorOrderService;
 | 
	
		
			
				|  |  | import com.yihu.jw.door.service.common.PatientService;
 | 
	
		
			
				|  |  | import com.yihu.jw.door.service.common.WlyyMessageService;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
 | 
	
	
		
			
				|  | @ -44,6 +46,26 @@ public class DoctorController extends BaseController {
 | 
	
		
			
				|  |  |     private BaseOrgDao orgDao;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private WlyyMessageService messageService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private DoorOrderService doorOrderService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     DoorServiceOrderDao doorServiceOrderDao;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = "/appointmentRevisitOnDoor")
 | 
	
		
			
				|  |  |     @ApiOperation("appointmentRevisitOnDoor")
 | 
	
		
			
				|  |  |     public String patientList(String orderId,String doctorId
 | 
	
		
			
				|  |  |     ) {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             doorOrderService.appointmentRevisitOnDoor(doorServiceOrderDao.findOne(orderId),doctorId);
 | 
	
		
			
				|  |  |             return write(200, "查询成功", "data", "");
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |             return error(-1, "查询失败");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @RequestMapping(value = "message/getWaitingMessages",method = RequestMethod.GET)
 | 
	
		
			
				|  |  |     @ApiOperation("获取服务工单待接单列表")
 |