Browse Source

REPORT-55241:修改一下代码格式

feature/x
fly.li 3 years ago
parent
commit
4e9a12fc73
  1. 10
      designer-realize/src/main/java/com/fr/design/actions/report/ReportEngineAttrAction.java

10
designer-realize/src/main/java/com/fr/design/actions/report/ReportEngineAttrAction.java

@ -50,15 +50,13 @@ public class ReportEngineAttrAction extends ReportComponentAction<WorkSheetDesig
isChange = true;
LayerReportAttr originLayerReportAttr = tplEC.getLayerReportAttr();
LayerReportAttr layerReportAttr = layerReportEnginePane.updateBean();
//只有当前设置为新引擎时,才会提交埋点。
if (layerReportAttr.isClientPaging() && layerReportAttr.getEngineState() == LayerReportAttr.ENGINE_X){
if (layerReportAttr.isChanged(originLayerReportAttr)){
new ReportEngineMetricRecord().submit(layerReportAttr);
}
}
tplEC.setLayerReportAttr(layerReportAttr);
//设置新引擎后,需要刷新一下,计算属性设置入口是否显示,取决于是否设置了新引擎模式。
DesignerContext.getDesignerFrame().resetToolkitByPlus(HistoryTemplateListCache.getInstance().getCurrentEditingTemplate());
//只有当前设置为新引擎时,才会提交埋点。
if (layerReportAttr.isEnableEngineX() && layerReportAttr.isChanged(originLayerReportAttr)){
new ReportEngineMetricRecord().submit(layerReportAttr);
}
}
});

Loading…
Cancel
Save