1质量人员报验总数取在场人数,合格人数取有效期内的在场人数;
This commit is contained in:
@@ -758,7 +758,7 @@ namespace BLL
|
||||
var result = (from x in Funs.DB.Bo_Sheng_Train
|
||||
join p in Funs.DB.Base_Project on x.ProjectId equals p.ProjectId into pGroup
|
||||
from p in pGroup.DefaultIfEmpty()
|
||||
where x.ProjectId == projectid && (x.TrainType == "入场(厂)培训" || x.TrainType == "入厂(场)级培训")
|
||||
where x.ProjectId == projectid && (x.TrainType.Contains("入场") || x.TrainType.Contains("入厂"))
|
||||
&& (x.DeleteTag == "False" || x.DeleteTag == null) && x.TrainStartDate > Const.DtmarkTime
|
||||
select x.PersonCount ?? 0).ToList().Sum();
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user