| | |
| | | /** |
| | | * 查询班级信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysClass sysClass) |
| | | { |
| | |
| | | /** |
| | | * 导出班级信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:export')") |
| | | @Log(title = "班级信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(SysClass sysClass) |
| | |
| | | /** |
| | | * 获取班级信息详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:query')") |
| | | @GetMapping(value = "/{classId}") |
| | | public AjaxResult getInfo(@PathVariable("classId") Long classId) |
| | | { |
| | |
| | | /** |
| | | * 新增班级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:add')") |
| | | @Log(title = "班级信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 修改班级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:edit')") |
| | | @Log(title = "班级信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | /** |
| | | * 删除班级信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:class:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:class:remove')") |
| | | @Log(title = "班级信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{classIds}") |
| | | public AjaxResult remove(@PathVariable Long[] classIds) |