潘志宝
2024-12-15 bbe7acfbe5a4c08d6edc91eaf81dcecf9d630e18
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));
    }
}