无关风月
2025-06-06 f770f08c09b6e622242a73550b31b273f92e3444
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TDeptController.java
@@ -57,6 +57,12 @@
        deptService.updateById(dto);
        return R.ok();
    }
    @Log(title = "详情部门", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "编辑部门")
    @GetMapping(value = "/detail")
    public R<TDept> detail(@RequestParam String id) {
        return R.ok(deptService.getById(id));
    }
    @Log(title = "批量删除部门", businessType = BusinessType.DELETE)
    @ApiOperation(value = "批量删除部门")
    @DeleteMapping(value = "/delete")