public static string GetData(string organizationId, string startTime, string endTime) { DataTable table = ModifyCoefficientService.ReferenceCoefficientCalculate(organizationId, startTime, endTime); string json = EasyUIJsonParser.TreeGridJsonParser.DataTableToJsonByLevelCode(table, "LevelCode"); return(json); }
protected void Page_Load(object sender, EventArgs e) { //PeakValleyFlatService service = new PeakValleyFlatService(); //DataTable dt = service.GetPVFList("123", "2014-10-08"); //this.GridView1.DataSource = dt; //this.GridView1.DataBind(); ModifyCoefficientService.ReferenceCoefficientCalculate("zc_nxjc_byc_byf", "2015-01-01", "2015-05-30"); }