|
@@ -109,4 +109,16 @@ public class CourseSubjectController extends BaseController {
|
|
public AjaxResult<Void> remove(@PathVariable Long[] ids) {
|
|
public AjaxResult<Void> remove(@PathVariable Long[] ids) {
|
|
return toAjax(iCourseSubjectService.deleteWithValidByIds(Arrays.asList(ids), true) ? 1 : 0);
|
|
return toAjax(iCourseSubjectService.deleteWithValidByIds(Arrays.asList(ids), true) ? 1 : 0);
|
|
}*/
|
|
}*/
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 查询科目列表
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("查询科目下拉框")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('course:subject:list')")
|
|
|
|
+ @GetMapping("/listAll")
|
|
|
|
+ public TableDataInfo<CourseSubjectVo> listAll(CourseSubjectQueryBo bo) {
|
|
|
|
+ startPage();
|
|
|
|
+ List<CourseSubjectVo> list = iCourseSubjectService.queryListAll(bo);
|
|
|
|
+ return getDataTable(list);
|
|
|
|
+ }
|
|
}
|
|
}
|