0923-gaofei

This commit is contained in:
gaofei 2021-09-23 14:45:21 +08:00
parent c0798d8358
commit 56e48d5d6b
17 changed files with 3090 additions and 1188 deletions

View File

@ -0,0 +1,118 @@
ALTER VIEW [dbo].[View_WBS_CostControlDetail]
AS
/********控制项明细********/
SELECT detail.CostControlDetailId,
detail.CostControlId,
detail.Months,
detail.StartDate,
detail.EndDate,
c.CostControlCode,
c.CostControlName,
c.WbsSetId,
c.ProjectId,
c.Unit, --
c.TotalNum, --
CONVERT(FLOAT,(select sum(ISNULL(PlanNum,0)) from WBS_CostControlDetail where CostControlId=detail.CostControlId and Months<=detail.Months and StartDate is null)) as TotalPlanNum, --
CONVERT(FLOAT,(select sum(ISNULL(PlanNum,0)) from WBS_CostControlDetail where CostControlId=detail.CostControlId and ((Months<detail.Months and StartDate is null) or (Months=detail.Months and StartDate<=detail.StartDate)))) as TotalWeekPlanNum, --
CONVERT(FLOAT,(select sum(ISNULL(ThisNum,0)) from WBS_CostControlDetail where CostControlId=detail.CostControlId and Months<=detail.Months)) as TotalThisNum, --
CONVERT(FLOAT,(select sum(ISNULL(ThisNum,0)) from WBS_CostControlDetail where CostControlId=detail.CostControlId and Months<=detail.Months and StartDate<=detail.StartDate)) as TotalWeekThisNum, --
CONVERT(FLOAT,(select sum(ISNULL(d.PlanNum,0)) from WBS_CostControlDetail d
where d.CostControlId=detail.CostControlId and Months=detail.Months and StartDate is null)) as PlanNum, --
CONVERT(FLOAT,ISNULL(detail.PlanNum,0)) as PlanWeekNum, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisNum,0)) from WBS_CostControlDetail d
where d.CostControlId=detail.CostControlId and Months=detail.Months)) as ThisNum, --
CONVERT(FLOAT,ISNULL(detail.ThisNum,0)) as ThisWeekNum, --
c.RealPrice, --
c.PlanPrice, --
CONVERT(FLOAT,(select sum(ISNULL(d.PlanNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months=detail.Months and StartDate is null)) as ThisPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(d.PlanNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months=detail.Months and StartDate=detail.StartDate)) as ThisWeekPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisNum,0)*ISNULL(c1.RealPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months=detail.Months)) as ThisRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisNum,0)*ISNULL(c1.RealPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months=detail.Months and StartDate=detail.StartDate)) as ThisWeekRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months=detail.Months)) as ThisPlanCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months=detail.Months and StartDate=detail.StartDate)) as ThisWeekPlanCost, --
CONVERT(FLOAT,(select sum(ISNULL(d.PlanNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months<=detail.Months and StartDate is null)) as TotalPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(d.PlanNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and ((Months<detail.Months and StartDate is null) or (Months=detail.Months and StartDate<=detail.StartDate)))) as TotalWeekPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisNum,0)*ISNULL(c1.RealPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months<=detail.Months)) as TotalRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisNum,0)*ISNULL(c1.RealPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months<=detail.Months and (StartDate<=detail.StartDate or StartDate is null))) as TotalWeekRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months<=detail.Months)) as TotalPlanCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisNum,0)*ISNULL(c1.PlanPrice,0)) from WBS_CostControlDetail d
LEFT JOIN WBS_CostControl AS c1 ON c1.CostControlId=d.CostControlId
where d.CostControlId=detail.CostControlId and Months<=detail.Months and (StartDate<=detail.StartDate or StartDate is null))) as TotalWeekPlanCost --
FROM dbo.WBS_CostControlDetail AS detail
LEFT JOIN WBS_CostControl AS c ON c.CostControlId=detail.CostControlId
GO
ALTER VIEW [dbo].[View_WBS_CostControlParentDetail]
AS
/********控制项父级明细********/
SELECT detail.CostControlParentDetailId,
detail.ParentId,
detail.Months,
detail.StartDate,
detail.EndDate,
CONVERT(FLOAT,(select sum(ISNULL(ThisPlanValue,0)) from WBS_CostControlParentDetail
where ParentId=detail.ParentId and Months=detail.Months)) as ThisPlanValue, --
CONVERT(FLOAT,ISNULL(ThisPlanValue,0)) as ThisWeekPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisRealCost,0)) from WBS_CostControlParentDetail d
where d.ParentId=detail.ParentId and Months=detail.Months)) as ThisRealCost, --
CONVERT(FLOAT,ISNULL(ThisRealCost,0)) as ThisWeekRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisPlanCost,0)) from WBS_CostControlParentDetail
where ParentId=detail.ParentId and Months=detail.Months)) as ThisPlanCost, --
CONVERT(FLOAT,ISNULL(ThisPlanCost,0)) as ThisWeekPlanCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisPlanValue,0)) from WBS_CostControlParentDetail
where ParentId=detail.ParentId and Months<=detail.Months)) as TotalPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(ThisPlanValue,0)) from WBS_CostControlParentDetail
where ParentId=detail.ParentId and Months<=detail.Months and (StartDate<=detail.StartDate or StartDate is null))) as TotalWeekPlanValue, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisRealCost,0)) from WBS_CostControlParentDetail d
where d.ParentId=detail.ParentId and Months<=detail.Months)) as TotalRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(d.ThisRealCost,0)) from WBS_CostControlParentDetail d
where d.ParentId=detail.ParentId and Months<=detail.Months and (StartDate<=detail.StartDate or StartDate is null))) as TotalWeekRealCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisPlanCost,0)) from WBS_CostControlParentDetail
where ParentId=detail.ParentId and Months<=detail.Months)) as TotalPlanCost, --
CONVERT(FLOAT,(select sum(ISNULL(ThisPlanCost,0)) from WBS_CostControlParentDetail
where ParentId=detail.ParentId and Months<=detail.Months and (StartDate<=detail.StartDate or StartDate is null))) as TotalWeekPlanCost --
FROM dbo.WBS_CostControlParentDetail AS detail
GO

View File

@ -114,7 +114,11 @@ go
-- GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('F3AA42B3-5776-4992-A625-1216C579FEDE','项目进度情况','JDGL/Check/ProgressCompletion.aspx',60,'0','Menu_JDGL',0,1,1)
VALUES('92CBD072-20F8-45B1-9D17-6F7494DD2020','数据导入','',60,'0','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('F3AA42B3-5776-4992-A625-1216C579FEDE','项目进度情况','JDGL/Check/ProgressCompletion.aspx',60,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('8232DE3C-307C-49ED-9A37-6C29A94AABDF','F3AA42B3-5776-4992-A625-1216C579FEDE','增加',1)
@ -127,56 +131,56 @@ GO
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('2AE9D982-A499-497F-8F54-ADDA5856887E','工程量完成情况','JDGL/Check/QuantityCompletion.aspx',70,'0','Menu_JDGL',0,1,1)
VALUES('2AE9D982-A499-497F-8F54-ADDA5856887E','工程量完成情况','JDGL/Check/QuantityCompletion.aspx',70,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('BDBABEE5-DE52-47BA-9799-ACB7EE76F3FA','2AE9D982-A499-497F-8F54-ADDA5856887E','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('82E513B9-1A6F-495A-A633-EBC89CE5273A','低温储罐完成情况','JDGL/Check/LowTankCompletion.aspx',80,'0','Menu_JDGL',0,1,1)
VALUES('82E513B9-1A6F-495A-A633-EBC89CE5273A','低温储罐完成情况','JDGL/Check/LowTankCompletion.aspx',80,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('B09CE48A-C905-49A9-AFF1-AE15B5B71422','82E513B9-1A6F-495A-A633-EBC89CE5273A','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('4ACA0647-4D44-462E-8277-1EF9F100566A','钢结构完成情况','JDGL/Check/SteelStructureCompletion.aspx',90,'0','Menu_JDGL',0,1,1)
VALUES('4ACA0647-4D44-462E-8277-1EF9F100566A','钢结构完成情况','JDGL/Check/SteelStructureCompletion.aspx',90,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('9EACCE68-163F-4E47-B1AF-179E813B3A12','4ACA0647-4D44-462E-8277-1EF9F100566A','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('92FD1845-F56C-4111-8BA0-91838A18B750','设备完成情况','JDGL/Check/EquipmentCompletion.aspx',100,'0','Menu_JDGL',0,1,1)
VALUES('92FD1845-F56C-4111-8BA0-91838A18B750','设备完成情况','JDGL/Check/EquipmentCompletion.aspx',100,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('B69B59B4-E58D-40F6-8097-D6782FE3ED68','92FD1845-F56C-4111-8BA0-91838A18B750','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('9AE07A76-3A54-4414-BC8C-C86A18C737BA','管道完成情况','JDGL/Check/PipelineCompletion.aspx',110,'0','Menu_JDGL',0,1,1)
VALUES('9AE07A76-3A54-4414-BC8C-C86A18C737BA','管道完成情况','JDGL/Check/PipelineCompletion.aspx',110,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('EB18C5C6-3303-410B-ACA9-A82B3239CDA4','9AE07A76-3A54-4414-BC8C-C86A18C737BA','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('8A8A1050-F227-42ED-9456-8CB5ECA36512','电气完成情况','JDGL/Check/ElectricalCompletion.aspx',120,'0','Menu_JDGL',0,1,1)
VALUES('8A8A1050-F227-42ED-9456-8CB5ECA36512','电气完成情况','JDGL/Check/ElectricalCompletion.aspx',120,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('5EDC2141-3218-4C80-9A69-AD1FBD5BCEF5','8A8A1050-F227-42ED-9456-8CB5ECA36512','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('7EC1FBAF-BEC9-46CD-9E3B-0D0093B4E1C2','仪表完成情况','JDGL/Check/MeterCompletion.aspx',130,'0','Menu_JDGL',0,1,1)
VALUES('7EC1FBAF-BEC9-46CD-9E3B-0D0093B4E1C2','仪表完成情况','JDGL/Check/MeterCompletion.aspx',130,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('10527FF2-975E-49DA-B4C7-3FE69FCBA7B3','7EC1FBAF-BEC9-46CD-9E3B-0D0093B4E1C2','保存',1)
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('C7037A5D-D8A6-4C1C-A5B8-2083C31C0A7B','全厂地下管网完成情况','JDGL/Check/UndergroundPipeCompletion.aspx',140,'0','Menu_JDGL',0,1,1)
VALUES('C7037A5D-D8A6-4C1C-A5B8-2083C31C0A7B','全厂地下管网完成情况','JDGL/Check/UndergroundPipeCompletion.aspx',140,'92CBD072-20F8-45B1-9D17-6F7494DD2020','Menu_JDGL',0,1,1)
GO
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
VALUES('BECB2F6E-90D5-432C-A56C-9F8AAF62C511','C7037A5D-D8A6-4C1C-A5B8-2083C31C0A7B','保存',1)

View File

@ -18,6 +18,21 @@ namespace BLL
return Funs.DB.WBS_CostControlDetail.FirstOrDefault(e => e.CostControlDetailId == costControlDetailId);
}
/// <summary>
/// 根据项目Id获取有对应月份的周计划的费控项明细id
/// </summary>
/// <param name="costControlDetailId">费控项明细Id</param>
public static string GetHasWeekPlanCostControlIdByProjectIdAndMonth(string projectId, DateTime months)
{
Model.SGGLDB db = Funs.DB;
return (from x in db.WBS_CostControl
join y in db.Wbs_WbsSet
on x.WbsSetId equals y.WbsSetId
where y.ProjectId == projectId && y.IsApprove == true &&
(from a in db.WBS_CostControlDetail where a.CostControlId == x.CostControlId && a.Months == months && a.StartDate != null select a).Count() > 0
select x.CostControlId).FirstOrDefault();
}
/// <summary>
/// 根据CostControlId判断是否存在费控项明细信息
/// </summary>
@ -46,7 +61,7 @@ namespace BLL
/// <param name="toFlag">对应标志</param>
/// <param name="years">年</param>
/// <param name="months">月</param>
public static Model.WBS_CostControlDetail GetCostControlDetailByCostControlIdAndMonthsWeek(string costControlId, DateTime months,DateTime startDate)
public static Model.WBS_CostControlDetail GetCostControlDetailByCostControlIdAndMonthsWeek(string costControlId, DateTime months, DateTime startDate)
{
return (from x in Funs.DB.WBS_CostControlDetail where x.CostControlId == costControlId && x.Months == months && x.StartDate == startDate select x).FirstOrDefault();
}

View File

@ -160,6 +160,16 @@ namespace BLL
return (from x in Funs.DB.Wbs_WbsSet where x.SuperWbsSetId == superWbsSetId && x.IsApprove == true orderby x.WbsSetCode select x).ToList();
}
/// <summary>
/// 根据上级Id获取是否存在同级别的其他已勾选项
/// </summary>
/// <param name="superWbsSetId">上级Id</param>
/// <returns></returns>
public static bool IsExitOtherApproveWbsSetsBySuperWbsSetId(string superWbsSetId, string wbsSetId)
{
return (from x in Funs.DB.Wbs_WbsSet where x.SuperWbsSetId == superWbsSetId && x.IsApprove == true && x.WbsSetId != wbsSetId orderby x.WbsSetCode select x).FirstOrDefault() != null;
}
/// <summary>
/// 根据上级Id获取集合
/// </summary>
@ -337,9 +347,10 @@ namespace BLL
}
var cn = (from x in db.WBS_CnProfession where x.InstallationId == inId && x.OldId.ToString() == cnCode select x).FirstOrDefault();
var list = (from x in db.Wbs_WbsSet
join y in db.Wbs_UnitProject
on x.UnitProjectId equals y.UnitProjectId
where x.CnProfessionId == cn.CnProfessionId && y.UnitProjectCode == unitProjectCode && x.WbsSetCode==wbsSetCode select x.WbsSetId).ToList();
join y in db.Wbs_UnitProject
on x.UnitProjectId equals y.UnitProjectId
where x.CnProfessionId == cn.CnProfessionId && y.UnitProjectCode == unitProjectCode && x.WbsSetCode == wbsSetCode
select x.WbsSetId).ToList();
return list;
}

File diff suppressed because it is too large Load Diff

View File

@ -216,67 +216,67 @@ namespace Web.Controls
chartArea.Area3DStyle.Enable3D = false;
chart1.ChartAreas.Add(chartArea);
chart1.Series.Add("本月计划工作预算费用");
chart1.Series.Add("本月已完工作预算费用");
chart1.Series.Add("本月已完工作实际费用");
chart1.Series.Add("累计计划工作预算费用");
chart1.Series.Add("累计已完工作预算费用");
chart1.Series.Add("累计已完工作实际费用");
chart1.Series.Add("本月计划工作预算费用-BCWS");
chart1.Series.Add("本月已完工作预算费用-BCWP");
chart1.Series.Add("本月已完工作实际费用-ACWP");
chart1.Series.Add("累计计划工作预算费用-BCWS");
chart1.Series.Add("累计已完工作预算费用-BCWP");
chart1.Series.Add("累计已完工作实际费用-ACWP");
DataView dv = dt.DefaultView;
chart1.Series["本月计划工作预算费用"].Points.DataBindXY(dv, "月份", dv, "本月计划工作预算费用");
chart1.Series["本月计划工作预算费用"].ChartType = SeriesChartType.Column;
chart1.Series["本月计划工作预算费用-BCWS"].Points.DataBindXY(dv, "月份", dv, "本月计划工作预算费用-BCWS");
chart1.Series["本月计划工作预算费用-BCWS"].ChartType = SeriesChartType.Column;
for (int i = 0; i < chart1.Series["本月计划工作预算费用"].Points.Count; i++)
for (int i = 0; i < chart1.Series["本月计划工作预算费用-BCWS"].Points.Count; i++)
{
chart1.Series["本月计划工作预算费用"].Points[i].ToolTip = "#VALX,#VALY";
chart1.Series["本月计划工作预算费用-BCWS"].Points[i].ToolTip = "#VALX,#VALY";
}
chart1.Series["本月已完工作预算费用"].Points.DataBindXY(dv, "月份", dv, "本月已完工作预算费用");
chart1.Series["本月已完工作预算费用"].ChartType = SeriesChartType.Column;
chart1.Series["本月已完工作预算费用-BCWP"].Points.DataBindXY(dv, "月份", dv, "本月已完工作预算费用-BCWP");
chart1.Series["本月已完工作预算费用-BCWP"].ChartType = SeriesChartType.Column;
for (int i = 0; i < chart1.Series["本月已完工作预算费用"].Points.Count; i++)
for (int i = 0; i < chart1.Series["本月已完工作预算费用-BCWP"].Points.Count; i++)
{
chart1.Series["本月已完工作预算费用"].Points[i].ToolTip = "#VALX,#VALY";
chart1.Series["本月已完工作预算费用-BCWP"].Points[i].ToolTip = "#VALX,#VALY";
}
chart1.Series["本月已完工作实际费用"].Points.DataBindXY(dv, "月份", dv, "本月已完工作实际费用");
chart1.Series["本月已完工作实际费用"].ChartType = SeriesChartType.Column;
chart1.Series["本月已完工作实际费用-ACWP"].Points.DataBindXY(dv, "月份", dv, "本月已完工作实际费用-ACWP");
chart1.Series["本月已完工作实际费用-ACWP"].ChartType = SeriesChartType.Column;
for (int i = 0; i < chart1.Series["本月已完工作实际费用"].Points.Count; i++)
for (int i = 0; i < chart1.Series["本月已完工作实际费用-ACWP"].Points.Count; i++)
{
chart1.Series["本月已完工作实际费用"].Points[i].ToolTip = "#VALX,#VALY";
chart1.Series["本月已完工作实际费用-ACWP"].Points[i].ToolTip = "#VALX,#VALY";
}
chart1.Series["累计计划工作预算费用"].Points.DataBindXY(dv, "月份", dv, "累计计划工作预算费用");
chart1.Series["累计计划工作预算费用"].ChartType = SeriesChartType.Spline;
chart1.Series["累计计划工作预算费用"].Color = Color.Blue;
chart1.Series["累计计划工作预算费用"].BorderWidth = 2;
chart1.Series["累计计划工作预算费用-BCWS"].Points.DataBindXY(dv, "月份", dv, "累计计划工作预算费用-BCWS");
chart1.Series["累计计划工作预算费用-BCWS"].ChartType = SeriesChartType.Spline;
chart1.Series["累计计划工作预算费用-BCWS"].Color = Color.Blue;
chart1.Series["累计计划工作预算费用-BCWS"].BorderWidth = 2;
for (int i = 0; i < chart1.Series["累计计划工作预算费用"].Points.Count; i++)
for (int i = 0; i < chart1.Series["累计计划工作预算费用-BCWS"].Points.Count; i++)
{
chart1.Series["累计计划工作预算费用"].Points[i].ToolTip = "#VALX,#VALY";
chart1.Series["累计计划工作预算费用-BCWS"].Points[i].ToolTip = "#VALX,#VALY";
}
chart1.Series["累计已完工作预算费用"].Points.DataBindXY(dv, "月份", dv, "累计已完工作预算费用");
chart1.Series["累计已完工作预算费用"].ChartType = SeriesChartType.Spline;
chart1.Series["累计已完工作预算费用"].Color = Color.MediumSeaGreen;
chart1.Series["累计已完工作预算费用"].BorderWidth = 2;
chart1.Series["累计已完工作预算费用-BCWP"].Points.DataBindXY(dv, "月份", dv, "累计已完工作预算费用-BCWP");
chart1.Series["累计已完工作预算费用-BCWP"].ChartType = SeriesChartType.Spline;
chart1.Series["累计已完工作预算费用-BCWP"].Color = Color.MediumSeaGreen;
chart1.Series["累计已完工作预算费用-BCWP"].BorderWidth = 2;
for (int i = 0; i < chart1.Series["累计已完工作预算费用"].Points.Count; i++)
for (int i = 0; i < chart1.Series["累计已完工作预算费用-BCWP"].Points.Count; i++)
{
chart1.Series["累计已完工作预算费用"].Points[i].ToolTip = "#VALX,#VALY";
chart1.Series["累计已完工作预算费用-BCWP"].Points[i].ToolTip = "#VALX,#VALY";
}
chart1.Series["累计已完工作实际费用"].Points.DataBindXY(dv, "月份", dv, "累计已完工作实际费用");
chart1.Series["累计已完工作实际费用"].ChartType = SeriesChartType.Spline;
chart1.Series["累计已完工作实际费用"].Color = Color.Red;
chart1.Series["累计已完工作实际费用"].BorderWidth = 2;
chart1.Series["累计已完工作实际费用-ACWP"].Points.DataBindXY(dv, "月份", dv, "累计已完工作实际费用-ACWP");
chart1.Series["累计已完工作实际费用-ACWP"].ChartType = SeriesChartType.Spline;
chart1.Series["累计已完工作实际费用-ACWP"].Color = Color.Red;
chart1.Series["累计已完工作实际费用-ACWP"].BorderWidth = 2;
for (int i = 0; i < chart1.Series["累计已完工作实际费用"].Points.Count; i++)
for (int i = 0; i < chart1.Series["累计已完工作实际费用-ACWP"].Points.Count; i++)
{
chart1.Series["累计已完工作实际费用"].Points[i].ToolTip = "#VALX,#VALY";
chart1.Series["累计已完工作实际费用-ACWP"].Points[i].ToolTip = "#VALX,#VALY";
}
Controls.Add(chart1);

View File

@ -1,33 +1,166 @@

错误信息开始=====>
错误类型:FormatException
错误信息:输入的不是有效的 Base-64 字符串,因为它包含非 Base-64 字符、两个以上的填充字符,或者填充字符间包含非法字符
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例
错误堆栈:
在 System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
在 System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
在 System.Convert.FromBase64String(String s)
在 System.Security.Cryptography.RSA.FromXmlString(String xmlString)
在 FineUIPro.Web.Login.RSADecrypt(String privatekey, String content) 位置 D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\Login.aspx.cs:行号 161
在 FineUIPro.Web.Login.Page_Load(Object sender, EventArgs e) 位置 D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\Login.aspx.cs:行号 74
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.GetButtonPower() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 2297
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 24
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/17/2021 14:54:20
出错文件:http://localhost:8118/Login.aspx?data=****&database=userName=sysgly&timespan=1256015312
出错时间:09/23/2021 10:28:56
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
出错时间:09/17/2021 14:54:20
出错时间:09/23/2021 10:28:56
错误信息开始=====>
错误类型:FormatException
错误信息:该字符串未被识别为有效的 DateTime。
错误类型:SqlException
错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
错误堆栈:
在 System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
在 System.DateTime.Parse(String s)
在 BLL.Funs.GetNewDateTime(String time) 位置 D:\CWCEC\SGGL_CWCEC\SGGL\BLL\Common\Funs.cs:行号 554
出错时间:09/17/2021 14:56:12
出错时间:09/17/2021 14:56:12
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
在 System.Data.Common.DbCommand.ExecuteReader()
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
在 BLL.GetDataService.CorrectingPersonInOutNumber(String projectId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\GetDataService.cs:行号 139
在 BLL.MonitorService.DoSynchData() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 2180
在 BLL.MonitorService.ColligateFormConfirmProcessEve(Object sender, ElapsedEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 112
----错误类型:Win32Exception
----错误信息:
----等待的操作过时。
----错误堆栈:
出错时间:09/23/2021 11:18:10
出错时间:09/23/2021 11:18:11
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.trWBS_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 332
在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e)
在 (Tree , TreeCheckEventArgs )
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2021 11:20:19
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2021 11:20:19
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.trWBS_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 332
在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e)
在 (Tree , TreeCheckEventArgs )
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2021 11:21:00
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2021 11:21:00
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.trWBS_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 332
在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e)
在 (Tree , TreeCheckEventArgs )
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2021 11:21:01
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2021 11:21:01
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.trWBS_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 332
在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e)
在 (Tree , TreeCheckEventArgs )
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2021 11:21:02
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2021 11:21:02
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.trWBS_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 334
在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e)
在 (Tree , TreeCheckEventArgs )
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2021 11:23:22
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2021 11:23:22
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.trWBS_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 334
在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e)
在 (Tree , TreeCheckEventArgs )
在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2021 11:23:42
出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2021 11:23:42

View File

@ -248,6 +248,7 @@
<Content Include="common\Menu_Party.xml" />
<Content Include="common\Menu_PDigData.xml" />
<Content Include="common\Menu_Person.xml" />
<Content Include="common\Menu_PGJSX.xml" />
<Content Include="common\Menu_PHTGL.xml" />
<Content Include="common\Menu_ProjectSet.xml" />
<Content Include="common\Menu_PZHGL.xml" />

View File

@ -8,6 +8,17 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>赢得值曲线</title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
<style>
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
.f-grid-colheader-text {
white-space: normal;
word-break: break-all;
}
</style>
</head>
<body>
<form id="form1" runat="server">
@ -32,23 +43,23 @@
<f:RenderField Width="100px" ColumnID="月份" DataField="月份"
FieldType="String" HeaderText="月份" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="本月已完工作实际费用" DataField="本月已完工作实际费用"
FieldType="Double" HeaderText="本月已完工作实际费用" HeaderTextAlign="Center" TextAlign="Left">
<f:RenderField Width="150px" ColumnID="本月已完工作实际费用-ACWP" DataField="本月已完工作实际费用-ACWP"
FieldType="Double" HeaderText="本月已完工作实际费用-ACWP" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="累计已完工作实际费用" DataField="累计已完工作实际费用"
FieldType="Double" HeaderText="累计已完工作实际费用" HeaderTextAlign="Center" TextAlign="Left">
<f:RenderField Width="150px" ColumnID="累计已完工作实际费用-ACWP" DataField="累计已完工作实际费用-ACWP"
FieldType="Double" HeaderText="累计已完工作实际费用-ACWP" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="本月计划工作预算费用" DataField="本月计划工作预算费用"
FieldType="Double" HeaderText="本月计划工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
<f:RenderField Width="150px" ColumnID="本月计划工作预算费用-BCWS" DataField="本月计划工作预算费用-BCWS"
FieldType="Double" HeaderText="本月计划工作预算费用-BCWS" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="累计计划工作预算费用" DataField="累计计划工作预算费用"
FieldType="Double" HeaderText="累计计划工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
<f:RenderField Width="150px" ColumnID="累计计划工作预算费用-BCWS" DataField="累计计划工作预算费用-BCWS"
FieldType="Double" HeaderText="累计计划工作预算费用-BCWS" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="本月已完工作预算费用" DataField="本月已完工作预算费用"
FieldType="Double" HeaderText="本月已完工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
<f:RenderField Width="150px" ColumnID="本月已完工作预算费用-BCWP" DataField="本月已完工作预算费用-BCWP"
FieldType="Double" HeaderText="本月已完工作预算费用-BCWP" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="累计已完工作预算费用" DataField="累计已完工作预算费用"
FieldType="Double" HeaderText="累计已完工作预算费用" HeaderTextAlign="Center" TextAlign="Left">
<f:RenderField Width="150px" ColumnID="累计已完工作预算费用-BCWP" DataField="累计已完工作预算费用-BCWP"
FieldType="Double" HeaderText="累计已完工作预算费用-BCWP" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
</Columns>
</f:Grid>

View File

@ -305,7 +305,7 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
if (costControl != null)
{
string strSql = "select distinct (cast(YEAR(Months) as varchar(4))+'.'+cast(MONTH(Months) as varchar(2))) as 月份,t.Months," +
"ThisRealCost as 本月已完工作实际费用,ThisPlanCost as 本月已完工作预算费用,ThisPlanValue as 本月计划工作预算费用,TotalPlanValue as 累计计划工作预算费用,TotalRealCost as 累计已完工作实际费用,TotalPlanCost as 累计已完工作预算费用 " +
"ThisRealCost as '本月已完工作实际费用-ACWP',ThisPlanCost as '本月已完工作预算费用-BCWP',ThisPlanValue as '本月计划工作预算费用-BCWS',TotalPlanValue as '累计计划工作预算费用-BCWS',TotalRealCost as '累计已完工作实际费用-ACWP',TotalPlanCost as '累计已完工作预算费用-BCWP' " +
"from dbo.View_WBS_CostControlDetail as t where CostControlId=@Id order by t.Months";
//string date = DateTime.Now.Year + "-" + DateTime.Now.Month + "-01";
SqlParameter[] parameter = new SqlParameter[]
@ -321,7 +321,7 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
else
{
string strSql = "select distinct (cast(YEAR(Months) as varchar(4))+'.'+cast(MONTH(Months) as varchar(2))) as 月份,t.Months," +
"ThisRealCost as 本月已完工作实际费用,ThisPlanCost as 本月已完工作预算费用,ThisPlanValue as 本月计划工作预算费用,TotalPlanValue as 累计计划工作预算费用,TotalRealCost as 累计已完工作实际费用,TotalPlanCost as 累计已完工作预算费用 " +
"ThisRealCost as '本月已完工作实际费用-ACWP',ThisPlanCost as '本月已完工作预算费用-BCWP',ThisPlanValue as '本月计划工作预算费用-BCWS',TotalPlanValue as '累计计划工作预算费用-BCWS',TotalRealCost as '累计已完工作实际费用-ACWP',TotalPlanCost as '累计已完工作预算费用-BCWP' " +
"from dbo.View_WBS_CostControlParentDetail as t where ParentId=@Id order by t.Months";
//string date = DateTime.Now.Year + "-" + DateTime.Now.Month + "-01";
SqlParameter[] parameter = new SqlParameter[]

View File

@ -58,7 +58,7 @@
ShowHeader="true" BodyPadding="5px" IconFont="ArrowCircleLeft" Layout="Region">
<Items>
<f:Tree ID="trWBS" Width="290" EnableCollapse="true" ShowHeader="true" OnNodeCommand="trWBS_NodeCommand"
OnNodeExpand="trWBS_NodeExpand" OnNodeCheck="trWBS_NodeCheck" EnableCheckBox="true" OnlyLeafCheck="true"
OnNodeExpand="trWBS_NodeExpand" OnNodeCheck="trWBS_NodeCheck" EnableCheckBox="true"
AutoLeafIdentification="true" runat="server">
<Listeners>
<f:Listener Event="beforenodecontextmenu" Handler="onTreeNodeContextMenu" />

View File

@ -45,6 +45,7 @@ namespace FineUIPro.Web.JDGL.WBS
rootNode.NodeID = project.ProjectId;
rootNode.CommandName = "project";
rootNode.EnableExpandEvent = true;
rootNode.EnableCheckBox = false;
this.trWBS.Nodes.Add(rootNode);
if (BLL.Project_InstallationService.IsExitProjectInstallation(project.ProjectId))
{
@ -81,6 +82,7 @@ namespace FineUIPro.Web.JDGL.WBS
newNode.CommandName = "installation";
newNode.EnableExpandEvent = true;
newNode.EnableClickEvent = true;
newNode.EnableCheckBox = false;
e.Node.Nodes.Add(newNode);
TreeNode emptyNode = new TreeNode();
@ -105,6 +107,7 @@ namespace FineUIPro.Web.JDGL.WBS
newNode.CommandName = "installation";
newNode.EnableExpandEvent = true;
newNode.EnableClickEvent = true;
newNode.EnableCheckBox = false;
e.Node.Nodes.Add(newNode);
TreeNode emptyNode = new TreeNode();
@ -126,6 +129,7 @@ namespace FineUIPro.Web.JDGL.WBS
newNode.CommandName = "cnProfession";
newNode.EnableExpandEvent = true;
newNode.EnableClickEvent = true;
newNode.EnableCheckBox = false;
e.Node.Nodes.Add(newNode);
TreeNode emptyNode = new TreeNode();
emptyNode.Text = "";
@ -143,8 +147,7 @@ namespace FineUIPro.Web.JDGL.WBS
newNode.NodeID = unitProject.UnitProjectId;
newNode.CommandName = "unitProject";
newNode.EnableExpandEvent = true;
newNode.EnableCheckBox = true;
newNode.EnableCheckEvent = true;
newNode.EnableCheckBox = false;
if (unitProject.IsSelected == true && unitProject.IsApprove == null)
{
unitProject.IsApprove = true;
@ -178,8 +181,7 @@ namespace FineUIPro.Web.JDGL.WBS
newNode.NodeID = unitProject.UnitProjectId;
newNode.CommandName = "unitProject";
newNode.EnableExpandEvent = true;
newNode.EnableCheckBox = true;
newNode.EnableCheckEvent = true;
newNode.EnableCheckBox = false;
if (unitProject.IsSelected == true && unitProject.IsApprove == null)
{
unitProject.IsApprove = true;
@ -327,46 +329,83 @@ namespace FineUIPro.Web.JDGL.WBS
/// <param name="e"></param>
protected void trWBS_NodeCheck(object sender, FineUIPro.TreeCheckEventArgs e)
{
foreach (var node in e.Node.Nodes)
{
node.Checked = e.Checked;
Model.Wbs_WbsSet childWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(node.NodeID);
if (childWbsSet != null)
{
childWbsSet.IsSelected = e.Checked;
childWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(childWbsSet);
}
}
bool b = true; //是否对父级节点执行选中状态的更新操作
Model.Wbs_WbsSet wbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(e.NodeID);
if (wbsSet != null)
{
wbsSet.IsSelected = e.Checked;
wbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(wbsSet);
Model.Wbs_WbsSet pWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(wbsSet.SuperWbsSetId);
if (pWbsSet != null)
if (e.Checked == false) //当节点取消选中时,判断是否需要对父级节点执行选中状态的更新操作
{
pWbsSet.IsSelected = e.Checked;
pWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(pWbsSet);
Model.Wbs_WbsSet ppWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(pWbsSet.SuperWbsSetId);
if (ppWbsSet != null)
if (BLL.WbsSetService.IsExitOtherApproveWbsSetsBySuperWbsSetId(wbsSet.SuperWbsSetId, wbsSet.WbsSetId))
{
ppWbsSet.IsSelected = e.Checked;
ppWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(ppWbsSet);
Model.Wbs_WbsSet pppWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(ppWbsSet.SuperWbsSetId);
if (pppWbsSet != null)
b = false;
}
}
if (b)
{
Model.Wbs_WbsSet pWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(wbsSet.SuperWbsSetId);
if (pWbsSet != null)
{
if (e.Node.ParentNode.EnableCheckBox == true)
{
pppWbsSet.IsSelected = e.Checked;
pppWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(pppWbsSet);
e.Node.ParentNode.Checked = e.Checked;
}
pWbsSet.IsSelected = e.Checked;
pWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(pWbsSet);
Model.Wbs_WbsSet ppWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(pWbsSet.SuperWbsSetId);
if (ppWbsSet != null)
{
if (e.Node.ParentNode.ParentNode.EnableCheckBox == true)
{
e.Node.ParentNode.ParentNode.Checked = e.Checked;
}
ppWbsSet.IsSelected = e.Checked;
ppWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(ppWbsSet);
Model.Wbs_WbsSet pppWbsSet = BLL.WbsSetService.GetWbsSetByWbsSetId(ppWbsSet.SuperWbsSetId);
if (pppWbsSet != null)
{
if (e.Node.ParentNode.ParentNode.ParentNode.EnableCheckBox == true)
{
e.Node.ParentNode.ParentNode.ParentNode.Checked = e.Checked;
}
pppWbsSet.IsSelected = e.Checked;
pppWbsSet.IsApprove = e.Checked;
BLL.WbsSetService.UpdateWbsSet(pppWbsSet);
}
}
}
}
Model.Wbs_UnitProject unitProject = BLL.UnitProjectService.GetUnitProjectByUnitProjectId(wbsSet.UnitProjectId);
if (unitProject != null)
if (b)
{
unitProject.IsSelected = e.Checked;
unitProject.IsApprove = e.Checked;
BLL.UnitProjectService.UpdateUnitProject(unitProject);
}
Model.WBS_CnProfession cnProfession = BLL.CnProfessionService.GetCnProfessionByCnProfessionId(wbsSet.CnProfessionId);
if (cnProfession != null)
{
cnProfession.IsSelected = e.Checked;
cnProfession.IsApprove = e.Checked;
BLL.CnProfessionService.UpdateCnProfession(cnProfession);
Model.Wbs_UnitProject unitProject = BLL.UnitProjectService.GetUnitProjectByUnitProjectId(wbsSet.UnitProjectId);
if (unitProject != null)
{
unitProject.IsSelected = e.Checked;
unitProject.IsApprove = e.Checked;
BLL.UnitProjectService.UpdateUnitProject(unitProject);
}
Model.WBS_CnProfession cnProfession = BLL.CnProfessionService.GetCnProfessionByCnProfessionId(wbsSet.CnProfessionId);
if (cnProfession != null)
{
cnProfession.IsSelected = e.Checked;
cnProfession.IsApprove = e.Checked;
BLL.CnProfessionService.UpdateCnProfession(cnProfession);
}
}
}
@ -1027,15 +1066,16 @@ namespace FineUIPro.Web.JDGL.WBS
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
return;
}
Model.WBS_CostControl costControl = BLL.CostControlService.GetCostControlByCostControlId(Grid1.SelectedRowID);
if (costControl != null)
foreach (var id in this.Grid1.SelectedRowIDArray)
{
Model.WBS_CostControl costControl = BLL.CostControlService.GetCostControlByCostControlId(id);
BLL.WbsSetMatchCostControlService.DeleteWbsSetMatchCostControlByWbsSetIdAndCostControlCode(this.trWBS.SelectedNodeID, costControl.CostControlCode);
BLL.LogService.AddSys_Log(this.CurrUser, Grid1.SelectedRowID, Grid1.SelectedRowID, BLL.Const.ProjectControlPointMenuId, "删除费用对应关系");
BLL.CostControlService.DeleteCostControl(id);
Grid1.DataBind();
BindGrid();
Alert.ShowInTop("删除数据成功!", MessageBoxIcon.Success);
}
BLL.LogService.AddSys_Log(this.CurrUser, Grid1.SelectedRowID, Grid1.SelectedRowID, BLL.Const.ProjectControlPointMenuId, "删除费用对应关系");
Alert.ShowInTop("删除数据成功!", MessageBoxIcon.Success);
}
/// <summary>

View File

@ -29,8 +29,9 @@
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
<Items>
<f:DatePicker runat="server" ID="txtMonths" Required="true" Label="月份" DateFormatString="yyyy-MM" LabelWidth="70px" LabelAlign="Right" Width="200px"
ShowRedStar="true">
ShowRedStar="true" AutoPostBack="true" OnTextChanged="txtMonths_TextChanged">
</f:DatePicker>
<f:DropDownList ID="drpWeek" runat="server" Label="周" LabelAlign="right" AutoPostBack="true" OnSelectedIndexChanged="drpWeek_SelectedIndexChanged"></f:DropDownList>
<%--<f:RadioButtonList runat="server" ID="rblStatisticsType" AutoPostBack="true" Width="450px"
OnSelectedIndexChanged="rblStatisticsType_SelectedIndexChanged">
<f:RadioItem Value="1" Text="全部" Selected="true" />
@ -60,25 +61,25 @@
HeaderText="合同工作量" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="RealPrice" DataField="RealPrice" FieldType="Double"
HeaderText="成本单价" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="成本单价(A)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="PlanNum" DataField="PlanNum" FieldType="Double"
HeaderText="本月计划完成量" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="本月计划完成量(B)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="ThisNum" DataField="ThisNum" FieldType="Double"
HeaderText="本月完成量" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="本月完成量(C)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="PlanPrice" DataField="PlanPrice" FieldType="Double"
HeaderText="控制预算单价" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="控制预算单价(D)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="ThisRealCost" DataField="ThisRealCost" FieldType="Double"
HeaderText="本月实际成本" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="本月已完工作实际费用-ACWP(A*C)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="ThisPlanValue" DataField="ThisPlanValue" FieldType="Double"
HeaderText="本月计划完成预算" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="本月计划工作预算费用-BCWS(B*D)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="ThisPlanCost" DataField="ThisPlanCost" FieldType="Double"
HeaderText="本月完成预算" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="本月已完工作预算费用-BCWP(C*D)" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="TotalPlanNum" DataField="TotalPlanNum" FieldType="Double"
HeaderText="累计计划完成量" HeaderTextAlign="Center" TextAlign="Center">
@ -87,13 +88,13 @@
HeaderText="累计完成量" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="TotalRealCost" DataField="TotalRealCost" FieldType="Double"
HeaderText="累计完成成本" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="累计已完工作实际费用-ACWP" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="TotalPlanValue" DataField="TotalPlanValue" FieldType="Double"
HeaderText="累计计划完成预算" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="累计计划工作预算费用-BCWS" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="TotalPlanCost" DataField="TotalPlanCost" FieldType="Double"
HeaderText="累计完成预算" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="累计已完工作预算费用-BCWP" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
</Columns>
</f:Grid>

View File

@ -27,10 +27,48 @@ namespace FineUIPro.Web.JDGL.WBS
Funs.FineUIPleaseSelect(drpUnitProject);
Funs.FineUIPleaseSelect(drpWbsSet);
this.txtMonths.Text = string.Format("{0:yyyy-MM}", DateTime.Now);
Funs.FineUIPleaseSelect(this.drpWeek);
InitWeek();
}
}
#endregion
private void InitWeek()
{
if (!string.IsNullOrEmpty(this.txtMonths.Text.Trim()))
{
this.Grid1.Columns[5].HeaderText = "本月计划完成量(B)";
this.Grid1.Columns[6].HeaderText = "本月完成量(C)";
this.Grid1.Columns[8].HeaderText = "本月已完工作实际费用-ACWP(A*C)";
this.Grid1.Columns[9].HeaderText = "本月计划工作预算费用-BCWS(B*D)";
this.Grid1.Columns[10].HeaderText = "本月已完工作预算费用-BCWP(C*D)";
this.drpWeek.Items.Clear();
DateTime months = Convert.ToDateTime(this.txtMonths.Text.Trim() + "-01");
string costControlId = BLL.CostControlDetailService.GetHasWeekPlanCostControlIdByProjectIdAndMonth(this.CurrUser.LoginProjectId, months);
if (!string.IsNullOrEmpty(costControlId))
{
BLL.CostControlDetailService.InitWeekPlanList(this.drpWeek, costControlId, months, true);
this.drpWeek.SelectedValue = BLL.Const._Null;
}
else
{
Funs.FineUIPleaseSelect(this.drpWeek);
}
}
}
#region
/// <summary>
/// 月份选择事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtMonths_TextChanged(object sender, EventArgs e)
{
InitWeek();
}
#endregion
#region
/// <summary>
/// 查询按钮
@ -44,7 +82,7 @@ namespace FineUIPro.Web.JDGL.WBS
DateTime months = Convert.ToDateTime(this.txtMonths.Text.Trim());
//if (this.rblStatisticsType.SelectedValue == "1")
//{
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue);
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, this.drpWeek.SelectedValue, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue);
Grid1.DataSource = table;
Grid1.DataBind();
//}
@ -150,10 +188,30 @@ namespace FineUIPro.Web.JDGL.WBS
Response.Write(GetGridTableHtml2(Grid1));
Response.End();
DateTime months = Convert.ToDateTime(this.txtMonths.Text.Trim());
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue);
DataTable table = BLL.WorkloadStatisticsService.GetTreeDataTable(this.CurrUser.LoginProjectId, months, this.drpWeek.SelectedValue, this.drpCnProfession.SelectedValue, this.drpUnitProject.SelectedValue, this.drpWbsSet.SelectedValue);
Grid1.DataSource = table;
Grid1.DataBind();
}
#endregion
protected void drpWeek_SelectedIndexChanged(object sender, EventArgs e)
{
if (this.drpWeek.SelectedValue == BLL.Const._Null)
{
this.Grid1.Columns[5].HeaderText = "本月计划完成量(B)";
this.Grid1.Columns[6].HeaderText = "本月完成量(C)";
this.Grid1.Columns[8].HeaderText = "本月已完工作实际费用-ACWP(A*C)";
this.Grid1.Columns[9].HeaderText = "本月计划工作预算费用-BCWS(B*D)";
this.Grid1.Columns[10].HeaderText = "本月已完工作预算费用-BCWP(C*D)";
}
else
{
this.Grid1.Columns[5].HeaderText = "本周计划完成量(B)";
this.Grid1.Columns[6].HeaderText = "本周完成量(C)";
this.Grid1.Columns[8].HeaderText = "本周已完工作实际费用-ACWP(A*C)";
this.Grid1.Columns[9].HeaderText = "本周计划工作预算费用-BCWS(B*D)";
this.Grid1.Columns[10].HeaderText = "本周已完工作预算费用-BCWP(C*D)";
}
}
}
}

View File

@ -57,6 +57,15 @@ namespace FineUIPro.Web.JDGL.WBS {
/// </remarks>
protected global::FineUIPro.DatePicker txtMonths;
/// <summary>
/// drpWeek 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpWeek;
/// <summary>
/// drpCnProfession 控件。
/// </summary>

View File

@ -244773,7 +244773,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(200)")]
public string Address
{
get
@ -244837,7 +244837,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(200)")]
public string WorkAreaName
{
get
@ -326436,7 +326436,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(200)")]
public string Address
{
get
@ -326452,7 +326452,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(200)")]
public string WorkAreaName
{
get
@ -333293,28 +333293,48 @@ namespace Model
private System.Nullable<double> _TotalPlanNum;
private System.Nullable<double> _TotalWeekPlanNum;
private System.Nullable<double> _TotalThisNum;
private System.Nullable<double> _TotalWeekThisNum;
private System.Nullable<double> _PlanNum;
private System.Nullable<double> _PlanWeekNum;
private System.Nullable<double> _ThisNum;
private System.Nullable<double> _ThisWeekNum;
private System.Nullable<decimal> _RealPrice;
private System.Nullable<decimal> _PlanPrice;
private System.Nullable<double> _ThisPlanValue;
private System.Nullable<double> _ThisWeekPlanValue;
private System.Nullable<double> _ThisRealCost;
private System.Nullable<double> _ThisWeekRealCost;
private System.Nullable<double> _ThisPlanCost;
private System.Nullable<double> _ThisWeekPlanCost;
private System.Nullable<double> _TotalPlanValue;
private System.Nullable<double> _TotalWeekPlanValue;
private System.Nullable<double> _TotalRealCost;
private System.Nullable<double> _TotalWeekRealCost;
private System.Nullable<double> _TotalPlanCost;
private System.Nullable<double> _TotalWeekPlanCost;
public View_WBS_CostControlDetail()
{
}
@ -333511,6 +333531,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekPlanNum", DbType="Float")]
public System.Nullable<double> TotalWeekPlanNum
{
get
{
return this._TotalWeekPlanNum;
}
set
{
if ((this._TotalWeekPlanNum != value))
{
this._TotalWeekPlanNum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalThisNum", DbType="Float")]
public System.Nullable<double> TotalThisNum
{
@ -333527,6 +333563,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekThisNum", DbType="Float")]
public System.Nullable<double> TotalWeekThisNum
{
get
{
return this._TotalWeekThisNum;
}
set
{
if ((this._TotalWeekThisNum != value))
{
this._TotalWeekThisNum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanNum", DbType="Float")]
public System.Nullable<double> PlanNum
{
@ -333543,6 +333595,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanWeekNum", DbType="Float")]
public System.Nullable<double> PlanWeekNum
{
get
{
return this._PlanWeekNum;
}
set
{
if ((this._PlanWeekNum != value))
{
this._PlanWeekNum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Float")]
public System.Nullable<double> ThisNum
{
@ -333559,6 +333627,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekNum", DbType="Float")]
public System.Nullable<double> ThisWeekNum
{
get
{
return this._ThisWeekNum;
}
set
{
if ((this._ThisWeekNum != value))
{
this._ThisWeekNum = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealPrice", DbType="Decimal(18,2)")]
public System.Nullable<decimal> RealPrice
{
@ -333607,6 +333691,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekPlanValue", DbType="Float")]
public System.Nullable<double> ThisWeekPlanValue
{
get
{
return this._ThisWeekPlanValue;
}
set
{
if ((this._ThisWeekPlanValue != value))
{
this._ThisWeekPlanValue = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisRealCost", DbType="Float")]
public System.Nullable<double> ThisRealCost
{
@ -333623,6 +333723,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekRealCost", DbType="Float")]
public System.Nullable<double> ThisWeekRealCost
{
get
{
return this._ThisWeekRealCost;
}
set
{
if ((this._ThisWeekRealCost != value))
{
this._ThisWeekRealCost = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisPlanCost", DbType="Float")]
public System.Nullable<double> ThisPlanCost
{
@ -333639,6 +333755,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekPlanCost", DbType="Float")]
public System.Nullable<double> ThisWeekPlanCost
{
get
{
return this._ThisWeekPlanCost;
}
set
{
if ((this._ThisWeekPlanCost != value))
{
this._ThisWeekPlanCost = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPlanValue", DbType="Float")]
public System.Nullable<double> TotalPlanValue
{
@ -333655,6 +333787,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekPlanValue", DbType="Float")]
public System.Nullable<double> TotalWeekPlanValue
{
get
{
return this._TotalWeekPlanValue;
}
set
{
if ((this._TotalWeekPlanValue != value))
{
this._TotalWeekPlanValue = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalRealCost", DbType="Float")]
public System.Nullable<double> TotalRealCost
{
@ -333671,6 +333819,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekRealCost", DbType="Float")]
public System.Nullable<double> TotalWeekRealCost
{
get
{
return this._TotalWeekRealCost;
}
set
{
if ((this._TotalWeekRealCost != value))
{
this._TotalWeekRealCost = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPlanCost", DbType="Float")]
public System.Nullable<double> TotalPlanCost
{
@ -333686,6 +333850,22 @@ namespace Model
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekPlanCost", DbType="Float")]
public System.Nullable<double> TotalWeekPlanCost
{
get
{
return this._TotalWeekPlanCost;
}
set
{
if ((this._TotalWeekPlanCost != value))
{
this._TotalWeekPlanCost = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WBS_CostControlDetailStatistics")]
@ -333857,16 +334037,28 @@ namespace Model
private System.Nullable<double> _ThisPlanValue;
private System.Nullable<double> _ThisWeekPlanValue;
private System.Nullable<double> _ThisRealCost;
private System.Nullable<double> _ThisWeekRealCost;
private System.Nullable<double> _ThisPlanCost;
private System.Nullable<double> _ThisWeekPlanCost;
private System.Nullable<double> _TotalPlanValue;
private System.Nullable<double> _TotalWeekPlanValue;
private System.Nullable<double> _TotalRealCost;
private System.Nullable<double> _TotalWeekRealCost;
private System.Nullable<double> _TotalPlanCost;
private System.Nullable<double> _TotalWeekPlanCost;
public View_WBS_CostControlParentDetail()
{
}
@ -333967,6 +334159,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekPlanValue", DbType="Float")]
public System.Nullable<double> ThisWeekPlanValue
{
get
{
return this._ThisWeekPlanValue;
}
set
{
if ((this._ThisWeekPlanValue != value))
{
this._ThisWeekPlanValue = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisRealCost", DbType="Float")]
public System.Nullable<double> ThisRealCost
{
@ -333983,6 +334191,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekRealCost", DbType="Float")]
public System.Nullable<double> ThisWeekRealCost
{
get
{
return this._ThisWeekRealCost;
}
set
{
if ((this._ThisWeekRealCost != value))
{
this._ThisWeekRealCost = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisPlanCost", DbType="Float")]
public System.Nullable<double> ThisPlanCost
{
@ -333999,6 +334223,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisWeekPlanCost", DbType="Float")]
public System.Nullable<double> ThisWeekPlanCost
{
get
{
return this._ThisWeekPlanCost;
}
set
{
if ((this._ThisWeekPlanCost != value))
{
this._ThisWeekPlanCost = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPlanValue", DbType="Float")]
public System.Nullable<double> TotalPlanValue
{
@ -334015,6 +334255,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekPlanValue", DbType="Float")]
public System.Nullable<double> TotalWeekPlanValue
{
get
{
return this._TotalWeekPlanValue;
}
set
{
if ((this._TotalWeekPlanValue != value))
{
this._TotalWeekPlanValue = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalRealCost", DbType="Float")]
public System.Nullable<double> TotalRealCost
{
@ -334031,6 +334287,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekRealCost", DbType="Float")]
public System.Nullable<double> TotalWeekRealCost
{
get
{
return this._TotalWeekRealCost;
}
set
{
if ((this._TotalWeekRealCost != value))
{
this._TotalWeekRealCost = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPlanCost", DbType="Float")]
public System.Nullable<double> TotalPlanCost
{
@ -334046,6 +334318,22 @@ namespace Model
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalWeekPlanCost", DbType="Float")]
public System.Nullable<double> TotalWeekPlanCost
{
get
{
return this._TotalWeekPlanCost;
}
set
{
if ((this._TotalWeekPlanCost != value))
{
this._TotalWeekPlanCost = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WBSReport")]