| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【案卷类别信息】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | |
| | | private IArchiveCategoryService archiveCategoryService; |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案卷类别信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:list')") |
| | | @GetMapping("/list") |
| | |
| | | return success(archiveCategoryService.selectArchiveCategoryList(archiveCategory)); |
| | | } |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【案卷类别信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArchiveCategory archiveCategory) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【案卷类别信息】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:query')") |
| | | @GetMapping(value = "/{id}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案卷类别信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ArchiveCategory archiveCategory) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案卷类别信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ArchiveCategory archiveCategory) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【案卷类别信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |