public override List <ReportParameter> rParameter(ListOfSelected parameter) { var rParameter = new List <ReportParameter> { new ReportParameter() { ParaName = "Operate", ParaValue = "Report" }, new ReportParameter() { ParaName = "UserID", ParaValue = parameter.UserID }, new ReportParameter() { ParaName = "SchoolYear", ParaValue = parameter.SchoolYear }, new ReportParameter() { ParaName = "SchoolCode", ParaValue = parameter.SchoolCode }, new ReportParameter() { ParaName = "PersonID", ParaValue = parameter.ObjID }, new ReportParameter() { ParaName = "FormNo", ParaValue = parameter.ObjNo } }; return(rParameter); }
private static List <ReportParameter> GetReportParameter(ListOfSelected parameter) { var reportParameters = new List <ReportParameter>(); reportParameters.Add(new ReportParameter() { ParaName = "Operate", ParaValue = "Report" }); reportParameters.Add(new ReportParameter() { ParaName = "UserID", ParaValue = parameter.UserID }); reportParameters.Add(new ReportParameter() { ParaName = "SchoolYear", ParaValue = parameter.SchoolYear }); reportParameters.Add(new ReportParameter() { ParaName = "SchoolCode", ParaValue = parameter.SchoolCode }); reportParameters.Add(new ReportParameter() { ParaName = "EmployeeID", ParaValue = parameter.ObjID }); reportParameters.Add(new ReportParameter() { ParaName = "SessionID", ParaValue = parameter.ObjNo }); reportParameters.Add(new ReportParameter() { ParaName = "Category", ParaValue = parameter.ObjType }); return(reportParameters); }
public static List <ReportParameter> GetReportParameter(string reportType, ListOfSelected parameter) { var myReportClass = ReportParameterMapClass.ReportParametersInstance(reportType); return(new GeneralReportParameter(myReportClass).GeneralReportParameters(parameter)); //switch (reportType) //{ // case "IEP": // case "IEPPDF": // return new GeneralReportParameter(new IEPReportParameter()).GeneralReportParameters(parameter); // case "TPA": // return new GeneralReportParameter(new TPAReportParameter()).GeneralReportParameters(parameter); // default: // return new GeneralReportParameter(new IEPReportParameter()).GeneralReportParameters(parameter); //} }
public static Byte[] GetOneReport(ReportBase reportPara, ListOfSelected parameter) { var reportParameters = BuildReportingParameters.GetReportParameter(reportPara.ReportType, parameter); return(getPDFReport(reportPara, reportParameters)); }
private static Byte[] GetOneReport(string reportName, ListOfSelected parameter) { var reportParameters = GetReportParameter(parameter); return(GetReportR2(reportName, "PDF", reportParameters)); }
//public SSFormReportParameter(ListOfSelected parameter) //{ // this._parameter = parameter; //} //public List<ReportParameter> ReportParameters() //{ // return addToReportParameter(); //} public List <ReportParameter> ReportParameters(ListOfSelected parameter) { _parameter = parameter; return(addToReportParameter()); }
public List <ReportParameter> GeneralReportParameters(ListOfSelected parameter) { return(_reportPrameter.ReportParameters(parameter)); }
public virtual List <ReportParameter> rParameter(ListOfSelected parameter) { var rParameter = new List <ReportParameter>(); return(rParameter); }