liusuyi
2025-12-20 ba8b1496ba9881719e522d0a60a8c86baa7be08b
ard-admin/src/main/java/com/ard/web/controller/data/ArdModelController.java
@@ -42,7 +42,7 @@
     * 查询模型管理列表
     */
    @ApiOperation("查询模型管理列表")
    @PreAuthorize("@ss.hasPermi('system:model:list')")
    @PreAuthorize("@ss.hasPermi('data:model:list')")
    @GetMapping("/list")
    public TableDataInfo list(ArdModel ardModel) {
        startPage();
@@ -54,7 +54,7 @@
     * 导出模型管理列表
     */
    @ApiOperation("导出模型管理列表")
    @PreAuthorize("@ss.hasPermi('system:model:export')")
    @PreAuthorize("@ss.hasPermi('data:model:export')")
    @Log(title = "模型管理", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, ArdModel ardModel) {
@@ -67,7 +67,7 @@
     * 获取模型管理详细信息
     */
    @ApiOperation("获取模型管理详细信息")
    @PreAuthorize("@ss.hasPermi('system:model:query')")
    @PreAuthorize("@ss.hasPermi('data:model:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") String id) {
        return success(ardModelService.selectArdModelById(id));
@@ -77,7 +77,7 @@
     * 新增模型管理
     */
    @ApiOperation("新增模型管理")
    @PreAuthorize("@ss.hasPermi('system:model:add')")
    @PreAuthorize("@ss.hasPermi('data:model:add')")
    @Log(title = "模型管理", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody ArdModel ardModel) {
@@ -88,7 +88,7 @@
     * 修改模型管理
     */
    @ApiOperation("修改模型管理")
    @PreAuthorize("@ss.hasPermi('system:model:edit')")
    @PreAuthorize("@ss.hasPermi('data:model:edit')")
    @Log(title = "模型管理", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody ArdModel ardModel) {
@@ -99,7 +99,7 @@
     * 删除模型管理
     */
    @ApiOperation("删除模型管理")
    @PreAuthorize("@ss.hasPermi('system:model:remove')")
    @PreAuthorize("@ss.hasPermi('data:model:remove')")
    @Log(title = "模型管理", businessType = BusinessType.DELETE)
   @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable String[] ids) {