mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
refactor(图表): 视图统一定义为图表
This commit is contained in:
@@ -37,7 +37,7 @@ public class CommonConstants {
|
||||
|
||||
}
|
||||
|
||||
//视图数据查询来源
|
||||
//图表数据查询来源
|
||||
public static final class VIEW_QUERY_FROM {
|
||||
|
||||
// 仪表板
|
||||
@@ -48,7 +48,7 @@ public class CommonConstants {
|
||||
|
||||
}
|
||||
|
||||
//视图数据查询模式
|
||||
//图表数据查询模式
|
||||
public static final class VIEW_RESULT_MODE {
|
||||
|
||||
// 所有
|
||||
@@ -58,7 +58,7 @@ public class CommonConstants {
|
||||
public static final String CUSTOM = "custom";
|
||||
}
|
||||
|
||||
//视图数据查询来源
|
||||
//图表数据查询来源
|
||||
public static final class VIEW_EDIT_FROM {
|
||||
|
||||
// 仪表板
|
||||
@@ -69,7 +69,7 @@ public class CommonConstants {
|
||||
|
||||
}
|
||||
|
||||
//视图数据读取来源
|
||||
//图表数据读取来源
|
||||
public static final class VIEW_DATA_FROM {
|
||||
|
||||
// 模板数据
|
||||
|
||||
@@ -55,7 +55,7 @@ public class SwaggerConfig {
|
||||
|
||||
@Bean
|
||||
public GroupedOpenApi chartApi() {
|
||||
return GroupedOpenApi.builder().group("2-view").displayName("视图管理").packagesToScan("io.dataease.chart").build();
|
||||
return GroupedOpenApi.builder().group("2-view").displayName("图表管理").packagesToScan("io.dataease.chart").build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
@@ -36,7 +36,7 @@ public class DatasetTableFieldDTO implements Serializable {
|
||||
private Long datasetGroupId;
|
||||
|
||||
/**
|
||||
* 视图ID
|
||||
* 图表ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long chartId;
|
||||
|
||||
Reference in New Issue
Block a user