|
@@ -8,6 +8,7 @@ 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.entity.TeacherSubjectPrice;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.CourseScheduleEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.service.*;
|
|
|
import com.yonge.cooleshow.biz.dal.vo.*;
|
|
|
import com.yonge.cooleshow.biz.dal.wrapper.TeacherFreeTimeWrapper;
|
|
@@ -105,12 +106,14 @@ public class StudentCourseScheduleController extends BaseController {
|
|
|
@ApiImplicitParam(name = "classDate", dataType = "String", required = true, value = "年月"),
|
|
|
@ApiImplicitParam(name = "courseState", dataType = "String", value = "课程状态 NOT_START未开始 ING进行中 COMPLETE已完成 CANCEL已取消"),
|
|
|
@ApiImplicitParam(name = "subjectId", dataType = "Long", value = "声部id"),
|
|
|
+ @ApiImplicitParam(name = "courseType", dataType = "String", value = "课程类型"),
|
|
|
@ApiImplicitParam(name = "page", dataType = "Integer", value = "页数"),
|
|
|
@ApiImplicitParam(name = "rows", dataType = "Integer", value = "每页数量"),
|
|
|
})
|
|
|
@ApiOperation("学生-查询直播课")
|
|
|
@PostMapping("/queryStudentLiveCourse")
|
|
|
public HttpResponseResult<PageInfo<CourseStudent>> queryStudentLiveCourse(@RequestBody Map<String, Object> param) {
|
|
|
+ param.put("type", param.get("courseType") == null ? CourseScheduleEnum.LIVE.getCode() : param.get("courseType"));
|
|
|
return succeed(courseScheduleService.queryStudentLiveCourse(param));
|
|
|
}
|
|
|
|