|
|
@@ -21,6 +21,7 @@ import com.xjrsoft.module.courseTable.entity.CourseTable;
|
|
|
import com.xjrsoft.module.courseTable.service.IClassTimeService;
|
|
|
import com.xjrsoft.module.courseTable.service.ICourseTableService;
|
|
|
import com.xjrsoft.module.schedule.dto.ClassOptionDto;
|
|
|
+import com.xjrsoft.module.schedule.dto.CourseInfoDto;
|
|
|
import com.xjrsoft.module.schedule.dto.CourseTableAdjustDto;
|
|
|
import com.xjrsoft.module.schedule.dto.CourseTableDto;
|
|
|
import com.xjrsoft.module.schedule.dto.CourseTablePreCheckDto;
|
|
|
@@ -412,4 +413,16 @@ public class ScheduleController {
|
|
|
|
|
|
return RT.ok(courseAdjustService.cancel(dto));
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping(value = "/is-contains-all")
|
|
|
+ @ApiOperation(value="判断登录者是否有查看所有课表的权限")
|
|
|
+ @SaCheckPermission("schedule:detail")
|
|
|
+ public RT<Boolean> classList(){
|
|
|
+ if(StpUtil.getRoleList().contains("KeBiao")){
|
|
|
+ return RT.ok(true);
|
|
|
+ }
|
|
|
+ return RT.ok(false);
|
|
|
+ }
|
|
|
+
|
|
|
}
|