|  | @ -46,7 +46,12 @@ public class DoctorDayHandoverController extends BaseController {
 | 
	
		
			
				|  |  |             if (null == baseDayHandover) {
 | 
	
		
			
				|  |  |                 return write(-1, "参数错误!");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             return write(200, "成功", "data", dayHandoverService.saveDayHandover(baseDayHandover));
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             BaseDayHandover result = dayHandoverService.saveDayHandover(baseDayHandover);
 | 
	
		
			
				|  |  |             if (null==result){
 | 
	
		
			
				|  |  |                 return write(400,"提交人与交接人不能是同一个人!");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             return write(200, "成功", "data",result);
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             error(e);
 | 
	
		
			
				|  |  |             return errorResult(e);
 | 
	
	
		
			
				|  | @ -56,7 +61,11 @@ public class DoctorDayHandoverController extends BaseController {
 | 
	
		
			
				|  |  |     @PostMapping("/getDayHandoverList")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取交接列表")
 | 
	
		
			
				|  |  |     public String getDayHandoverList(@ApiParam(name = "doctor")
 | 
	
		
			
				|  |  |                                      @RequestParam(value = "doctor") String doctor) {
 | 
	
		
			
				|  |  |                                      @RequestParam(value = "doctor") String doctor,
 | 
	
		
			
				|  |  |                                      @ApiParam(name = "staterDate")
 | 
	
		
			
				|  |  |                                      @RequestParam(value = "staterDate")String staterDate,
 | 
	
		
			
				|  |  |                                      @ApiParam(name = "endDate")
 | 
	
		
			
				|  |  |                                      @RequestParam(value = "endDate")String endDate) {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             JSONObject param = new JSONObject();
 | 
	
	
		
			
				|  | @ -68,7 +77,7 @@ public class DoctorDayHandoverController extends BaseController {
 | 
	
		
			
				|  |  |                 return write(-1, "该操作仅支持社工");
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             return write(200, "成功", "data", dayHandoverService.getDayHandoverList(doctor));
 | 
	
		
			
				|  |  |             return write(200, "成功", "data", dayHandoverService.getDayHandoverList(doctor,staterDate,endDate));
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         } catch (Exception e) {
 | 
	
		
			
				|  |  |             error(e);
 |