获取超危大工程培训人次数方法优化
This commit is contained in:
parent
61e1c2ffb3
commit
f1a1329927
|
@ -1436,7 +1436,7 @@ namespace BLL
|
|||
{
|
||||
var result =
|
||||
(from x in Funs.DB.Solution_LargerHazard
|
||||
where x.ProjectId == projectid && x.IsSuperLargerHazard == true && x.RecordTime > Const.DtmarkTime
|
||||
where x.ProjectId == projectid && x.IsSuperLargerHazard == true && x.TrainPersonNum != null && x.RecordTime > Const.DtmarkTime
|
||||
select x.TrainPersonNum).ToList().Sum(x => x.Value);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue