|
@@ -19,12 +19,16 @@ import com.zhongzheng.modules.course.service.ICourseMenuService;
|
|
import com.zhongzheng.modules.course.service.ICourseModuleChapterService;
|
|
import com.zhongzheng.modules.course.service.ICourseModuleChapterService;
|
|
import com.zhongzheng.modules.course.vo.*;
|
|
import com.zhongzheng.modules.course.vo.*;
|
|
import com.zhongzheng.modules.goods.bo.GoodsAttachedQueryBo;
|
|
import com.zhongzheng.modules.goods.bo.GoodsAttachedQueryBo;
|
|
|
|
+import com.zhongzheng.modules.goods.bo.GoodsCourseTeacherQueryBo;
|
|
import com.zhongzheng.modules.goods.service.IGoodsAttachedService;
|
|
import com.zhongzheng.modules.goods.service.IGoodsAttachedService;
|
|
|
|
+import com.zhongzheng.modules.goods.service.IGoodsCourseTeacherService;
|
|
import com.zhongzheng.modules.goods.vo.GoodsAttachedVo;
|
|
import com.zhongzheng.modules.goods.vo.GoodsAttachedVo;
|
|
|
|
+import com.zhongzheng.modules.goods.vo.GoodsCourseTeacherVo;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -45,9 +49,13 @@ import java.util.List;
|
|
public class CommonCourseController extends BaseController {
|
|
public class CommonCourseController extends BaseController {
|
|
|
|
|
|
private final ICourseModuleChapterService iCourseModuleChapterService;
|
|
private final ICourseModuleChapterService iCourseModuleChapterService;
|
|
|
|
+
|
|
private final ICourseMenuService iCourseMenuService;
|
|
private final ICourseMenuService iCourseMenuService;
|
|
|
|
+
|
|
private final ICourseChapterSectionService iCourseChapterSectionService;
|
|
private final ICourseChapterSectionService iCourseChapterSectionService;
|
|
|
|
|
|
|
|
+ private final IGoodsCourseTeacherService iGoodsCourseTeacherService;
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -80,5 +88,16 @@ public class CommonCourseController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 查询商品课程双师资绑定列表
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("查询商品课程双师资绑定列表")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:teacher:list')")
|
|
|
|
+ @GetMapping("/teacher/list")
|
|
|
|
+ public AjaxResult<List<GoodsCourseTeacherVo>> list(GoodsCourseTeacherQueryBo bo) {
|
|
|
|
+ bo.setStatus(1);
|
|
|
|
+ List<GoodsCourseTeacherVo> list = iGoodsCourseTeacherService.queryList(bo);
|
|
|
|
+ return AjaxResult.success(list);
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|