This commit is contained in:
2025-04-07 16:08:51 +08:00
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;
}