From a63a4fb72bf194b4db108cc0911b0b2c0a710451 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 11 九月 2024 09:04:01 +0800 Subject: [PATCH] 指标数据集 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/controller/admin/IndItemCategoryController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/controller/admin/IndItemCategoryController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/controller/admin/IndItemCategoryController.java index 6db3666..072dbcf 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/controller/admin/IndItemCategoryController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/category/controller/admin/IndItemCategoryController.java @@ -47,7 +47,7 @@ @PostMapping("/create") @Operation(summary = "创建指标分类") @PreAuthorize("@ss.hasPermission('data:ind-item-category:create')") - public CommonResult<Boolean> createMenu(@Valid @RequestBody IndItemCategorySaveReqVO createReqVO) { + public CommonResult<Boolean> create(@Valid @RequestBody IndItemCategorySaveReqVO createReqVO) { indItemCategoryService.create(createReqVO); return success(true); } @@ -55,7 +55,7 @@ @PutMapping("/update") @Operation(summary = "修改指标分类") @PreAuthorize("@ss.hasPermission('data:ind-item-category:update')") - public CommonResult<Boolean> updateMenu(@Valid @RequestBody IndItemCategorySaveReqVO updateReqVO) { + public CommonResult<Boolean> update(@Valid @RequestBody IndItemCategorySaveReqVO updateReqVO) { indItemCategoryService.update(updateReqVO); return success(true); } @@ -64,7 +64,7 @@ @Operation(summary = "删除指标分类") @Parameter(name = "id", description = "指标分类编号", required= true, example = "1024") @PreAuthorize("@ss.hasPermission('data:ind-item-category:delete')") - public CommonResult<Boolean> deleteMenu(@RequestParam("id") String id) { + public CommonResult<Boolean> delete(@RequestParam("id") String id) { indItemCategoryService.delete(id); return success(true); } @@ -72,7 +72,7 @@ @GetMapping("/get") @Operation(summary = "获取指标分类信息") @PreAuthorize("@ss.hasPermission('system:ind-item-category:query')") - public CommonResult<IndItemCategoryRespVO> getMenu(String id) { + public CommonResult<IndItemCategoryRespVO> get(String id) { IndItemCategoryEntity entity = indItemCategoryService.get(id); return success(BeanUtils.toBean(entity, IndItemCategoryRespVO.class)); } -- Gitblit v1.9.3