|
@@ -1,7 +1,6 @@
|
|
|
package com.yonge.cooleshow.admin.controller;
|
|
|
|
|
|
import com.yonge.cooleshow.auth.api.client.SysUserFeignService;
|
|
|
-import com.yonge.cooleshow.auth.api.entity.SysUser;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.CourseGroupDetailSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.CourseGroupSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.VideoLessonGroupDetail;
|
|
@@ -15,7 +14,6 @@ import com.yonge.toolset.base.page.PageInfo;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.http.HttpStatus;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -38,7 +36,7 @@ public class CourseGroupController extends BaseController {
|
|
|
@Autowired
|
|
|
private CourseScheduleService courseScheduleService;
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-陪练课",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-陪练课", notes = "{\n" +
|
|
|
" \"subjectId\":20,\n" +
|
|
|
" \"search\":\"师\",\n" +
|
|
|
" \"status\":\"ING\"\n" +
|
|
@@ -48,7 +46,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectPracticeGroup(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-陪练课-详情",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-陪练课-详情", notes = "{\n" +
|
|
|
" \"courseGroupId\": 140,\n" +
|
|
|
" \"teacherSign\": 0,\n" +
|
|
|
" \"studentSign\": 0,\n" +
|
|
@@ -63,7 +61,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectPracticeGroupDetail(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-直播课",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-直播课", notes = "{\n" +
|
|
|
" \"subjectId\":73,\n" +
|
|
|
" \"search\":\"夏\",\n" +
|
|
|
" \"status\":\"ING\"\n" +
|
|
@@ -73,7 +71,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectLiveGroup(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-直播课-购买学员",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-直播课-购买学员", notes = "{\n" +
|
|
|
" \"groupId\":140,\n" +
|
|
|
" \"search\":\"游\",\n" +
|
|
|
" \"orderNo\":\"22051615250800001\"\n" +
|
|
@@ -83,7 +81,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectLiveGroupStudent(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-直播课-教学计划",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-直播课-教学计划", notes = "{\n" +
|
|
|
" \"groupId\":140,\n" +
|
|
|
" \"courseId\":\"391\",\n" +
|
|
|
" \"salaryStatus\":\"NOT_START\",\n" +
|
|
@@ -95,7 +93,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectLiveGroupPlan(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-视频课",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-视频课", notes = "{\n" +
|
|
|
" \"subjectId\":21,\n" +
|
|
|
" \"search\":\"老\"\n" +
|
|
|
"}")
|
|
@@ -104,7 +102,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectVideoGroup(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-视频课-购买学员",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-视频课-购买学员", notes = "{\n" +
|
|
|
" \"groupId\":51,\n" +
|
|
|
" \"orderNo\":\"22050720002900001\",\n" +
|
|
|
" \"search\":\"1\",\n" +
|
|
@@ -116,7 +114,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectVideoGroupStudent(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-视频课-教学计划",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-视频课-教学计划", notes = "{\n" +
|
|
|
" \"groupId\":18\n" +
|
|
|
"}")
|
|
|
@PostMapping(value = "/video/plan")
|
|
@@ -130,7 +128,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(courseGroupService.selectLiveGroupInfo(groupId));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-琴房课",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-琴房课", notes = "{\n" +
|
|
|
" \"subjectId\":20,\n" +
|
|
|
" \"search\":\"师\",\n" +
|
|
|
" \"status\":\"ING\"\n" +
|
|
@@ -140,7 +138,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectPianoGroup(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "课程组管理-琴房课-详情",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "课程组管理-琴房课-详情", notes = "{\n" +
|
|
|
" \"courseGroupId\":334,\n" +
|
|
|
" \"search\":\"\",\n" +
|
|
|
" \"status\":\"\",\n" +
|
|
@@ -157,10 +155,10 @@ public class CourseGroupController extends BaseController {
|
|
|
@ApiOperation(value = "课程组管理-琴房课-详情-学员名单")
|
|
|
@GetMapping(value = "/piano/student")
|
|
|
public HttpResponseResult<List<StudentSignVo>> studentSign(@NotNull Long courseId) {
|
|
|
- return succeed(courseGroupService.studentSign(courseId,null));
|
|
|
+ return succeed(courseGroupService.studentSign(courseId, null));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "学员管理-琴房课",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "学员管理-琴房课", notes = "{\n" +
|
|
|
" \"studentId\":20,\n" +
|
|
|
" \"search\":\"师\",\n" +
|
|
|
" \"status\":\"ING\"\n" +
|
|
@@ -170,7 +168,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectPianoGroupStudent(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "学员管理-琴房课-详情",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "学员管理-琴房课-详情", notes = "{\n" +
|
|
|
" \"studentId\":20,\n" +
|
|
|
" \"courseGroupId\":334,\n" +
|
|
|
" \"search\":\"\",\n" +
|
|
@@ -191,7 +189,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(courseScheduleService.selectRemainTime(teacherId));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "老师管理-琴房课",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "老师管理-琴房课", notes = "{\n" +
|
|
|
" \"teacherId\":20,\n" +
|
|
|
" \"search\":\"师\",\n" +
|
|
|
" \"status\":\"ING\"\n" +
|
|
@@ -201,7 +199,7 @@ public class CourseGroupController extends BaseController {
|
|
|
return succeed(PageUtil.pageInfo(courseGroupService.selectPianoGroupTeacher(PageUtil.getPage(search), search)));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "老师管理-琴房课-详情",notes = "{\n" +
|
|
|
+ @ApiOperation(value = "老师管理-琴房课-详情", notes = "{\n" +
|
|
|
" \"teacherId\":20,\n" +
|
|
|
" \"courseGroupId\":334,\n" +
|
|
|
" \"search\":\"\",\n" +
|