Package org.g4studio.core.web.report.jasper

Examples of org.g4studio.core.web.report.jasper.ReportData


    List subList = catalogList.subList(0, toIndex);
    for (int i = 0; i < subList.size(); i++) {
      Dto dto2 = (BaseDto)subList.get(i);
      dto2.put("zfbl", dto2.getAsBigDecimal("zfbl"));
    }
    ReportData reportData = new ReportData();
    reportData.setParametersDto(dto);
    reportData.setFieldsList(subList);
    reportData.setReportFilePath("/report/jasper/demo/hisCatalogReport.jasper");
    getSessionContainer(request).setReportData("hisCatalogReport", reportData);
    return mapping.findForward(null);
  }
View Full Code Here


    dto.put("reportTitle", "北京市第一人民医院收费项目明细报表(演示)");
    //制表人
    dto.put("jbr", getSessionContainer(request).getUserInfo().getUsername());
    //制表时间
    dto.put("jbsj", G4Utils.getCurrentTime());
    ReportData reportData = new ReportData();
    reportData.setParametersDto(dto);
    reportData.setFieldsList(catalogList);
    reportData.setReportFilePath("/report/jasper/demo/hisCatalogReport.jasper");
    getSessionContainer(request).setReportData("hisCatalogReport4App", reportData);
    return mapping.findForward(null);
  }
View Full Code Here

TOP

Related Classes of org.g4studio.core.web.report.jasper.ReportData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.