Browse Source

REPORT-126439 fix: 导出API文档代码修复

release/11.0^2
Anner 2 weeks ago
parent
commit
40c791f7ec
  1. 6
      src/main/java/com/fr/io/ExportApi.java

6
src/main/java/com/fr/io/ExportApi.java

@ -5,6 +5,7 @@ import com.fr.chart.activator.ChartBaseActivator;
import com.fr.cluster.engine.activator.standalone.StandaloneModeActivator; import com.fr.cluster.engine.activator.standalone.StandaloneModeActivator;
import com.fr.config.activator.BaseDBActivator; import com.fr.config.activator.BaseDBActivator;
import com.fr.config.activator.ConfigurationActivator; import com.fr.config.activator.ConfigurationActivator;
import com.fr.data.DatasourceActivator;
import com.fr.env.operator.CommonOperatorImpl; import com.fr.env.operator.CommonOperatorImpl;
import com.fr.general.I18nResource; import com.fr.general.I18nResource;
import com.fr.health.activator.ModuleHealActivator; import com.fr.health.activator.ModuleHealActivator;
@ -50,7 +51,10 @@ public class ExportApi {
new RestrictionActivator(), new RestrictionActivator(),
new ReportActivator(), new ReportActivator(),
new WriteActivator(), new WriteActivator(),
new ChartBaseActivator()); new ChartBaseActivator(),
// 11.0.27 - 11.0.29 版本的客户需要加上这个
// 11.0.29 后主代码修复了
new DatasourceActivator());
SimpleWork.supply(CommonOperator.class, new CommonOperatorImpl()); SimpleWork.supply(CommonOperator.class, new CommonOperatorImpl());
//定义工程路径 //定义工程路径
String envpath = "D:\\javatools\\FineReport_10.0\\webapps\\webroot\\WEB-INF\\"; String envpath = "D:\\javatools\\FineReport_10.0\\webapps\\webroot\\WEB-INF\\";

Loading…
Cancel
Save