From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 06 一月 2025 16:00:58 +0800 Subject: [PATCH] chartParamList api --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetController.java | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetController.java index 9034a5e..bd83fbe 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetController.java @@ -18,6 +18,8 @@ import javax.validation.Valid; +import java.util.List; + import static com.iailab.framework.common.pojo.CommonResult.success; /** @@ -27,7 +29,7 @@ */ @Tag(name = "数据平台 - 指标数据集") @RestController -@RequestMapping("/data/ind-data-set") +@RequestMapping("/data/ind/data-set") @Validated public class IndDataSetController { @Autowired @@ -68,9 +70,17 @@ @GetMapping("/get") @Operation(summary = "获取指标数据集信息") - @PreAuthorize("@ss.hasPermission('system:ind-data-set:query')") + @PreAuthorize("@ss.hasPermission('data:ind-data-set:query')") public CommonResult<IndDataSetRespVO> get(String id) { IndDataSetEntity entity = indDataSetService.get(id); return success(BeanUtils.toBean(entity, IndDataSetRespVO.class)); } + + @GetMapping("/list-all-simple") + @Operation(summary = "获取指标数据集列表", description = "用于【指标数据集】界面") + @PreAuthorize("@ss.hasPermission('data:ind-data-set:query')") + public CommonResult<List<IndDataSetRespVO>> list(IndDataSetPageReqVO reqVO) { + List<IndDataSetEntity> list = indDataSetService.list(reqVO); + return success(BeanUtils.toBean(list, IndDataSetRespVO.class)); + } } \ No newline at end of file -- Gitblit v1.9.3