Browse Source

程序网络报表-https://help.fanruan.com/finereport/doc-view-685.html

决策报表示例代码修改
release/10.0
Rosie 4 years ago
parent
commit
cb4e9b9a7e
  1. 4
      src/main/java/com/fr/demo/SimpleReportletDemoFrm.java

4
src/main/java/com/fr/demo/SimpleReportletDemoFrm.java

@ -5,12 +5,12 @@ import javax.servlet.http.HttpServletRequest;
import com.fr.form.main.Form; import com.fr.form.main.Form;
import com.fr.form.main.FormIO; import com.fr.form.main.FormIO;
import com.fr.log.FineLoggerFactory;
import com.fr.web.weblet.Formlet; import com.fr.web.weblet.Formlet;
public class SimpleReportletDemoFrm extends Formlet { public class SimpleReportletDemoFrm extends Formlet {
@SuppressWarnings("rawtypes")
@Override @Override
public void setParameterMap(Map arg0) { public void setParameterMap(Map arg0) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
@ -26,7 +26,7 @@ public class SimpleReportletDemoFrm extends Formlet {
try { try {
form = FormIO.readForm(tplPath); form = FormIO.readForm(tplPath);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); FineLoggerFactory.getLogger().error(e.getMessage(), e);
} }
return form; return form;
} }

Loading…
Cancel
Save