提交代码

This commit is contained in:
2025-04-05 18:48:25 +08:00
parent b7a00a0767
commit 4252f9c237
3 changed files with 369 additions and 369 deletions
@@ -1385,7 +1385,7 @@ namespace BLL
{
var result = (from x in Funs.DB.Solution_LargerHazard
where x.ProjectId == projectid && x.IsSuperLargerHazard == false && x.RecordTime > Const.DtmarkTime
select x.TrainPersonNum).ToList().Sum(x => x.Value);
select x).ToList().Sum(x => x.TrainPersonNum ?? 0);
return result;
}