fei
2025-09-29 ebeecf61232967a9c21ca4aa63ccec8e269b8c0e
ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchivePlaceNameController.java
@@ -27,7 +27,7 @@
import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE;
/**
 * 【请填写功能名称】Controller
 * 【案件地区信息】Controller
 *
 * @author ruoyi
 * @date 2025-08-08
@@ -40,7 +40,7 @@
    private IArchivePlaceNameService archivePlaceNameService;
    /**
     * 查询【请填写功能名称】列表
     * 查询【案件地区信息】列表
     */
    @PreAuthorize("@ss.hasPermi('system:placeName:list')")
    @GetMapping("/list")
@@ -51,22 +51,28 @@
        return archivePlaceNameService.selectDataList(archivePlaceName, pageNum, pageSize);
    }
    @PreAuthorize("@ss.hasPermi('system:placeName:list')")
    @GetMapping("/listAll")
    public AjaxResult getAllPlaceName()
    {
        ArchivePlaceName archivePlaceName = new ArchivePlaceName();
        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}")
@@ -76,10 +82,10 @@
    }
    /**
     * 新增【请填写功能名称】
     * 新增【案件地区信息】
     */
    @PreAuthorize("@ss.hasPermi('system:name:add')")
    @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
    @Log(title = "【案件地区信息】", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody ArchivePlaceName archivePlaceName)
    {
@@ -87,10 +93,10 @@
    }
    /**
     * 修改【请填写功能名称】
     * 修改【案件地区信息】
     */
    @PreAuthorize("@ss.hasPermi('system:name:edit')")
    @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
    @Log(title = "【案件地区信息】", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody ArchivePlaceName archivePlaceName)
    {
@@ -98,10 +104,10 @@
    }
    /**
     * 删除【请填写功能名称】
     * 删除【案件地区信息】
     */
    @PreAuthorize("@ss.hasPermi('system:name:remove')")
    @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
    @Log(title = "【案件地区信息】", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {