From ee9f604388a3e77d3f4654e326f3976552e7f532 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期一, 25 十一月 2024 13:40:07 +0800 Subject: [PATCH] 测点启用和禁用 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetFieldController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetFieldController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetFieldController.java index 2794647..08d84ee 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetFieldController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetFieldController.java @@ -25,7 +25,7 @@ */ @Tag(name = "数据平台 - 指标数据集字段") @RestController -@RequestMapping("/data/ind-data-set-field") +@RequestMapping("/data/ind/data-set-field") @Validated public class IndDataSetFieldController { @@ -35,9 +35,9 @@ @GetMapping("/page") @Operation(summary = "获取指标数据集字段列表", description = "用于【指标数据集字段】界面") @PreAuthorize("@ss.hasPermission('data:ind-data-set:query')") - public CommonResult<PageResult<IndDataSetRespVO>> page(IndDataSetFieldPageReqVO reqVO) { + public CommonResult<PageResult<IndDataSetFieldRespVO>> page(IndDataSetFieldPageReqVO reqVO) { PageResult<IndDataSetFieldEntity> page = indDataSetFieldService.page(reqVO); - return success(BeanUtils.toBean(page, IndDataSetRespVO.class)); + return success(BeanUtils.toBean(page, IndDataSetFieldRespVO.class)); } @PostMapping("/create") @@ -58,7 +58,7 @@ @DeleteMapping("/delete") @Operation(summary = "删除指标数据集字段") - @Parameter(name = "id", description = "指标数据集字段编号", required= true, example = "1024") + @Parameter(name = "id", description = "指标数据集字段编号", required = true, example = "1024") @PreAuthorize("@ss.hasPermission('data:ind-data-set:delete')") public CommonResult<Boolean> delete(@RequestParam("id") String id) { indDataSetFieldService.delete(id); @@ -67,9 +67,9 @@ @GetMapping("/get") @Operation(summary = "获取指标数据集字段信息") - @PreAuthorize("@ss.hasPermission('system:ind-data-set:query')") - public CommonResult<IndDataSetRespVO> get(String id) { + @PreAuthorize("@ss.hasPermission('data:ind-data-set:query')") + public CommonResult<IndDataSetFieldRespVO> get(String id) { IndDataSetFieldEntity entity = indDataSetFieldService.get(id); - return success(BeanUtils.toBean(entity, IndDataSetRespVO.class)); + return success(BeanUtils.toBean(entity, IndDataSetFieldRespVO.class)); } } \ No newline at end of file -- Gitblit v1.9.3