| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【案件地区信息】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | private IArchivePlaceNameService archivePlaceNameService; |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案件地区信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:placeName:list')") |
| | | @GetMapping("/list") |
| | |
| | | return success(archivePlaceNameService.selectArchivePlaceNameList(archivePlaceName)); |
| | | } |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【案件地区信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArchivePlaceName archivePlaceName) |
| | | { |
| | | List<ArchivePlaceName> list = archivePlaceNameService.selectArchivePlaceNameList(archivePlaceName); |
| | | ExcelUtil<ArchivePlaceName> util = new ExcelUtil<ArchivePlaceName>(ArchivePlaceName.class); |
| | | util.exportExcel(response, list, "【请填写功能名称】数据"); |
| | | util.exportExcel(response, list, "【案件地区信息】数据"); |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【案件地区信息】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:query')") |
| | | @GetMapping(value = "/{id}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案件地区信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ArchivePlaceName archivePlaceName) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案件地区信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ArchivePlaceName archivePlaceName) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【案件地区信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |