| | |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | | import java.util.List; |
| | | |
| | | import static com.iailab.framework.common.pojo.CommonResult.success; |
| | | |
| | | /** |
| | |
| | | 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)); |
| | | } |
| | | } |