Browse Source

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

决策报表示例代码修改
pull/6/head
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.FormIO;
import com.fr.log.FineLoggerFactory;
import com.fr.web.weblet.Formlet;
public class SimpleReportletDemoFrm extends Formlet {
@SuppressWarnings("rawtypes")
@Override
public void setParameterMap(Map arg0) {
// TODO Auto-generated method stub
@ -26,7 +26,7 @@ public class SimpleReportletDemoFrm extends Formlet {
try {
form = FormIO.readForm(tplPath);
} catch (Exception e) {
e.printStackTrace();
FineLoggerFactory.getLogger().error(e.getMessage(), e);
}
return form;
}

Loading…
Cancel
Save