数据集和数据表添加了appId字段
This commit is contained in:
parent
e7c98f8221
commit
71ff967544
@ -233,6 +233,7 @@ public class CoreDatasetGroup implements Serializable {
|
||||
public String toString() {
|
||||
return "CoreDatasetGroup{" +
|
||||
"id = " + id +
|
||||
", appId = " + appId +
|
||||
", name = " + name +
|
||||
", pid = " + pid +
|
||||
", level = " + level +
|
||||
@ -250,4 +251,12 @@ public class CoreDatasetGroup implements Serializable {
|
||||
", isCross = " + isCross +
|
||||
"}";
|
||||
}
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
}
|
||||
|
@ -26,6 +26,11 @@ public class CoreDatasetTable implements Serializable {
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
private String appId;
|
||||
|
||||
/**
|
||||
* 物理表名
|
||||
*/
|
||||
@ -120,10 +125,19 @@ public class CoreDatasetTable implements Serializable {
|
||||
this.sqlVariableDetails = sqlVariableDetails;
|
||||
}
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CoreDatasetTable{" +
|
||||
"id = " + id +
|
||||
"appId = " + appId +
|
||||
", name = " + name +
|
||||
", tableName = " + tableName +
|
||||
", datasourceId = " + datasourceId +
|
||||
|
@ -323,6 +323,7 @@ public class DatasetGroupManage {
|
||||
DEException.throwException(Translator.get("i18n_table_duplicate"));
|
||||
}
|
||||
currentDs.setDatasetGroupId(datasetGroupId);
|
||||
currentDs.setAppId(datasetGroupInfoDTO.getAppId());
|
||||
datasetTableManage.save(currentDs);
|
||||
tableIds.add(currentDs.getId());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user