fix:1
This commit is contained in:
@@ -281,7 +281,6 @@ namespace BLL
|
||||
CompanyComprehensivePlanNum = companyComprehensivePlanList.Count(x => x.UnitId == _unitId),
|
||||
CompanySpecialPlanNum = companySpecialPlanList.Count(x => x.UnitId == _unitId),
|
||||
CompanyOnSiteDisposalPlan = companyOnSiteDisposalPlanList.Count(x => x.UnitId == _unitId),
|
||||
CompanyDrillNum = companyDrillList.Count(x => x.UnitId.Contains(_unitId)),
|
||||
ProjectComprehensivePlanNum = projectComprehensivePlanList.Count(x => _beUnderConstructionList.Contains(x.ProjectId)),
|
||||
ProjectSpecialPlanNum = projectSpecialPlanList.Count(x => _beUnderConstructionList.Contains(x.ProjectId)),
|
||||
ProjectOnSiteDisposalPlan = projectOnSiteDisposalPlanList.Count(x => _beUnderConstructionList.Contains(x.ProjectId)),
|
||||
@@ -309,6 +308,11 @@ namespace BLL
|
||||
SuperConstructionNum = largeEngineeringOutputsTask.Result.Sum(x => x.SuperConstructionNum)
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(_unitId))
|
||||
{
|
||||
table.CompanyDrillNum = companyDrillList.Count(x => x.UnitId.Contains(_unitId));
|
||||
}
|
||||
|
||||
if (_unitType == 0)
|
||||
{
|
||||
table.BeUnderConstructionNum = beUnderConstructionList.Count();
|
||||
|
||||
Reference in New Issue
Block a user