From 4be7d863a161b64f8592a789d699e807545e7dc6 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 15 十一月 2024 16:46:12 +0800
Subject: [PATCH] 计划数据

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/data/controller/admin/IndDataSetController.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 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 e803787..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;
 
 /**
@@ -73,4 +75,12 @@
         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