mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
feat(数据集): 数据集增加分组字段功能
This commit is contained in:
@@ -69,7 +69,7 @@ public class CoreDatasetTableField implements Serializable {
|
||||
/**
|
||||
* 分组设置
|
||||
*/
|
||||
private String groups;
|
||||
private String groupList;
|
||||
|
||||
/**
|
||||
* 未分组的值
|
||||
@@ -221,12 +221,12 @@ public class CoreDatasetTableField implements Serializable {
|
||||
this.fieldShortName = fieldShortName;
|
||||
}
|
||||
|
||||
public String getGroups() {
|
||||
return groups;
|
||||
public String getGroupList() {
|
||||
return groupList;
|
||||
}
|
||||
|
||||
public void setGroups(String groups) {
|
||||
this.groups = groups;
|
||||
public void setGroupList(String groupList) {
|
||||
this.groupList = groupList;
|
||||
}
|
||||
|
||||
public String getOtherGroup() {
|
||||
@@ -354,7 +354,7 @@ public class CoreDatasetTableField implements Serializable {
|
||||
", description = " + description +
|
||||
", dataeaseName = " + dataeaseName +
|
||||
", fieldShortName = " + fieldShortName +
|
||||
", groups = " + groups +
|
||||
", groupList = " + groupList +
|
||||
", otherGroup = " + otherGroup +
|
||||
", groupType = " + groupType +
|
||||
", type = " + type +
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ALTER TABLE `core_dataset_table_field`
|
||||
ADD COLUMN `groups` longtext NULL;
|
||||
ADD COLUMN `group_list` longtext NULL;
|
||||
|
||||
ALTER TABLE `core_dataset_table_field`
|
||||
ADD COLUMN `other_group` longtext NULL;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ALTER TABLE `core_dataset_table_field`
|
||||
ADD COLUMN `groups` longtext NULL COMMENT '分组设置' AFTER `field_short_name`;
|
||||
ADD COLUMN `group_list` longtext NULL COMMENT '分组设置' AFTER `field_short_name`;
|
||||
|
||||
ALTER TABLE `core_dataset_table_field`
|
||||
ADD COLUMN `other_group` longtext NULL COMMENT '未分组的值' AFTER `groups`;
|
||||
ADD COLUMN `other_group` longtext NULL COMMENT '未分组的值' AFTER `group_list`;
|
||||
|
||||
Reference in New Issue
Block a user