forked from github/dataease
Merge pull request #3520 from dataease/pr@dev@fix_app-export
fix(应用): 修复导入应用数据集字段异常更新问题
This commit is contained in:
commit
6352725ca1
@ -182,6 +182,7 @@ public class PanelAppTemplateService {
|
||||
for (DatasetTableField datasetTableField : datasetTableFieldsInfo) {
|
||||
String oldId = datasetTableField.getId();
|
||||
datasetTableField.setTableId(datasetsRealMap.get(datasetTableField.getTableId()));
|
||||
datasetTableField.setId(null);
|
||||
DatasetTableField newTableField = dataSetTableFieldsService.save(datasetTableField);
|
||||
datasetFieldsRealMap.put(oldId, newTableField.getId());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user