1028-gaofei

This commit is contained in:
gaofei
2021-10-28 18:24:30 +08:00
parent 6b41214a49
commit 537a0e8894
5 changed files with 146 additions and 2 deletions
@@ -46,7 +46,7 @@ namespace BLL
var installations = from x in db.Project_Installation where x.ProjectId == projectId select x;
CostControlDetailStatisticsList = (from x in db.View_WBS_CostControlDetailStatistics where x.ProjectId == projectId select x).Distinct().ToList();
List<Model.View_WBS_CostControlDetailStatistics> newList = new List<Model.View_WBS_CostControlDetailStatistics>();
var installationList = CostControlDetailStatisticsList.Where(x => x.WBSType == "Installation");
var installationList = CostControlDetailStatisticsList.Where(x => x.WBSType == "Installation" && x.SupId == "0");
foreach (var item in installationList)
{
newList.Add(item);