|
@@ -5,6 +5,7 @@ import com.yonge.cooleshow.auth.api.client.SysUserFeignService;
|
|
|
import com.yonge.cooleshow.auth.api.entity.SysUser;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.MyCourseSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.PracticeTeacherSearch;
|
|
|
+import com.yonge.cooleshow.biz.dal.entity.CourseCalendarEntity;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.CourseScheduleReplied;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.CourseScheduleEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.service.CourseRepliedService;
|
|
@@ -23,6 +24,7 @@ import org.springframework.http.HttpStatus;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
|
|
@@ -128,5 +130,18 @@ public class StudentCourseScheduleController extends BaseController {
|
|
|
public HttpResponseResult<StudentHomePage> queryLiveAndVideo() {
|
|
|
return succeed(courseScheduleService.queryLiveAndVideo());
|
|
|
}
|
|
|
+
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "teacherId", dataType = "Long", value = "老师id"),
|
|
|
+ @ApiImplicitParam(name = "studentId", dataType = "Long", value = "学生id"),
|
|
|
+ @ApiImplicitParam(name = "year", dataType = "Integer", value = "年"),
|
|
|
+ @ApiImplicitParam(name = "month", dataType = "Integer", value = "月"),
|
|
|
+ @ApiImplicitParam(name = "day", dataType = "Integer", value = "日"),
|
|
|
+ })
|
|
|
+ @ApiOperation("陪练课日历-用于学生购买指定老师陪练课")
|
|
|
+ @PostMapping("/createPracticeCourseCalendar")
|
|
|
+ public HttpResponseResult<List<CourseCalendarEntity>> generatePracticeCourseCalender(@RequestBody Map<String, Object> param) {
|
|
|
+ return succeed(courseScheduleService.createPracticeCourseCalender(param));
|
|
|
+ }
|
|
|
}
|
|
|
|