Browse Source

REPORT-131077 【迭代】【FR血缘】服务器数据集新建 程序/内置数据集/存储过程/关联数据集,保存后再次为空消失

fbp/release
Destiny.Lin 3 months ago
parent
commit
8980e2fc39
  1. 21
      designer-base/src/main/java/com/fr/design/data/datapane/TableDataPaneListPane.java

21
designer-base/src/main/java/com/fr/design/data/datapane/TableDataPaneListPane.java

@ -261,13 +261,28 @@ public class TableDataPaneListPane extends JListControlPane implements TableData
try {
switch (entryEventKind) {
case REMOVED:
deleteDatas.add(TableDataBeanHelper.getServerDataSetBean(s, tabledata));
ServerDataSetBean remove = TableDataBeanHelper.getServerDataSetBean(s, tabledata);
if (StringUtils.isNotEmpty(remove.getDatasetData())) {
deleteDatas.add(remove);
} else {
FineLoggerFactory.getLogger().error("Unable to find the corresponding processor : {}", tabledata.getClass());
}
break;
case ADDED:
addDatas.add(TableDataBeanHelper.getServerDataSetBean(s, tabledata));
ServerDataSetBean add = TableDataBeanHelper.getServerDataSetBean(s, tabledata);
if (StringUtils.isNotEmpty(add.getDatasetData())) {
addDatas.add(add);
} else {
FineLoggerFactory.getLogger().error("Unable to find the corresponding processor : {}", tabledata.getClass());
}
break;
case UPDATED:
updateDatas.add(TableDataBeanHelper.getServerDataSetBean(s, tabledata));
ServerDataSetBean update = TableDataBeanHelper.getServerDataSetBean(s, tabledata);
if (StringUtils.isNotEmpty(update.getDatasetData())) {
updateDatas.add(update);
} else {
FineLoggerFactory.getLogger().error("Unable to find the corresponding processor : {}", tabledata.getClass());
}
break;
default:
break;

Loading…
Cancel
Save