|
@@ -7,6 +7,7 @@ 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.entity.TeacherSubjectPrice;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.CourseScheduleEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.service.CourseRepliedService;
|
|
|
import com.yonge.cooleshow.biz.dal.service.CourseScheduleService;
|
|
@@ -24,6 +25,7 @@ import org.springframework.http.HttpStatus;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
@@ -143,5 +145,11 @@ public class StudentCourseScheduleController extends BaseController {
|
|
|
public HttpResponseResult<List<CourseCalendarEntity>> generatePracticeCourseCalender(@RequestBody Map<String, Object> param) {
|
|
|
return succeed(courseScheduleService.createPracticeCourseCalender(param));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("查询老师陪练课配置")
|
|
|
+ @GetMapping("/getTeacherSubjectPrice")
|
|
|
+ public HttpResponseResult<TeacherSubjectPrice> getTeacherSubjectPrice(@NotNull Long teacherId, @NotNull Long subjectId) {
|
|
|
+ return succeed(courseScheduleService.teacherSubjectPrice(teacherId,subjectId));
|
|
|
+ }
|
|
|
}
|
|
|
|