Browse Source

Pull request #9953: REPORT-79889 远程设计下存储过程结果列表缓存刷新的问题

Merge in DESIGN/design from ~RINOUX/design:final/11.0 to final/11.0

* commit '46c2a983fe848640c353c31bef02ebbeec28efba':
  REPORT-79889 远程设计下存储过程结果列表缓存刷新的问题
new-design
rinoux-杨锐 2 years ago
parent
commit
e19fa1e976
  1. 6
      designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java

6
designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java

@ -289,16 +289,16 @@ public class ProcedureDataPane extends AbstractTableDataPane<StoreProcedure> imp
@Override
protected Void doInBackground() throws Exception {
DesignTableDataManager.setThreadLocal(DesignTableDataManager.NO_PARAMETER);
// sp.setCalculating(true);
sp.setCalculating(true);
ProcedureDataModel[] dataModels = (ProcedureDataModel[]) DesignTableDataManager.createLazyDataModel(sp, false);
//sp.refreshDataModelListAndResultNames(dataModels);
sp.refreshResults(dataModels);
return null;
}
@Override
public void done() {
DesignTableDataManager.setThreadLocal(DesignTableDataManager.NO_PARAMETER);
// sp.setCalculating(false);
sp.setCalculating(false);
doAfterProcudureDone();
fireDSChanged();
TableDataTreePane.getInstance(DesignModelAdapter.getCurrentModelAdapter());

Loading…
Cancel
Save