|  | @@ -1,20 +1,5 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.student.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | -import io.swagger.annotations.ApiModelProperty;
 | 
	
		
			
				|  |  | -import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | -import io.swagger.annotations.ApiParam;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import java.util.Date;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | -import org.springframework.http.HttpStatus;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.GetMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.PostMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestParam;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.CourseScheduleComplaints;
 | 
	
	
		
			
				|  | @@ -22,6 +7,14 @@ import com.ym.mec.biz.dal.page.StudentCourseScheduleRecordQueryInfo;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.service.CourseScheduleService;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.service.StudentAttendanceService;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.ApiParam;
 | 
	
		
			
				|  |  | +import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.http.HttpStatus;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +import java.util.Date;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * @Author Joburgess
 | 
	
	
		
			
				|  | @@ -60,16 +53,16 @@ public class StudentCourseScheduleController extends BaseController {
 | 
	
		
			
				|  |  |  		return succeed(scheduleService.findStudentCourseScheduleRecords(queryInfo));
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -	@ApiModelProperty(value = "课程投诉")
 | 
	
		
			
				|  |  | +	@ApiOperation(value = "课程投诉")
 | 
	
		
			
				|  |  |  	@PostMapping("/courseScheduleCommplaint")
 | 
	
		
			
				|  |  |  	public Object courseScheduleCommplaint(CourseScheduleComplaints courseScheduleComplaints) {
 | 
	
		
			
				|  |  |  		scheduleService.courseScheduleCommplaint(courseScheduleComplaints);
 | 
	
		
			
				|  |  |  		return succeed();
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -	@ApiModelProperty(value = "请假")
 | 
	
		
			
				|  |  | +	@ApiOperation(value = "请假")
 | 
	
		
			
				|  |  |  	@PostMapping("/leave")
 | 
	
		
			
				|  |  | -	public Object leave(long courseScheduleId, String reason) {
 | 
	
		
			
				|  |  | +	public Object leave(Long courseScheduleId, String reason) {
 | 
	
		
			
				|  |  |  		SysUser user = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  |  		if (user == null) {
 | 
	
		
			
				|  |  |  			return failed(HttpStatus.FORBIDDEN, "请登录");
 |