代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using BLL;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
{
|
||||
@@ -31,25 +28,25 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
var db = Funs.DB;
|
||||
var result = (from x in db.PHTGL_ContractTrackProgress
|
||||
|
||||
join y in db.PHTGL_ContractTrack on x.ContractTrackId equals y.Id
|
||||
join y in db.PHTGL_ContractTrack on x.ContractTrackId equals y.Id
|
||||
|
||||
where y.ContractId == ContractId
|
||||
group x by x.Date into g
|
||||
select new
|
||||
where y.ContractId == ContractId
|
||||
group x by x.Date into g
|
||||
select new
|
||||
|
||||
{
|
||||
月份 = g.Key,
|
||||
BCWS工程量 = g.Sum(x => x.BCWS_Quantity),
|
||||
BCWS产值 = g.Sum(x => x.BCWS_OutputValue),
|
||||
BCWS百分比 = g.Sum(x => x.BCWS_Percentage),
|
||||
ACWP工程量 = g.Sum(x => x.ACWP_Quantity),
|
||||
ACWP产值 = g.Sum(x => x.ACWP_OutputValue),
|
||||
ACWP百分比 = g.Sum(x => x.ACWP_Percentage)
|
||||
}).ToList();
|
||||
{
|
||||
月份 = g.Key,
|
||||
BCWS工程量 = g.Sum(x => x.BCWS_Quantity),
|
||||
BCWS产值 = g.Sum(x => x.BCWS_OutputValue),
|
||||
BCWS百分比 = g.Sum(x => x.BCWS_Percentage),
|
||||
ACWP工程量 = g.Sum(x => x.ACWP_Quantity),
|
||||
ACWP产值 = g.Sum(x => x.ACWP_OutputValue),
|
||||
ACWP百分比 = g.Sum(x => x.ACWP_Percentage)
|
||||
}).ToList();
|
||||
|
||||
this.ChartEV.CreateMaryChartHTGL(LINQToDataTable(result), 1020, 420, null);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user