0923-gaofei
This commit is contained in:
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user