提交代码

This commit is contained in:
2023-11-03 16:01:12 +08:00
parent b0e1999b85
commit caf59625ff
3 changed files with 14 additions and 4 deletions
@@ -61,7 +61,10 @@ namespace FineUIPro.Web.common
//安全培训累计人员
var getTrainRecord = db.EduTrain_TrainRecord.Where(x => x.ProjectId == ProjectId).Max(x => x.TrainPersonNum) ?? 0;
this.divSafePersonNum.InnerHtml = getTrainRecord.ToString();
//修改:增加博晟教育中的人数
var boShengCount = db.Bo_Sheng_TrainPerson.Where(x => x.ProjectId == ProjectId && (x.DeleteTag == "False" || x.DeleteTag == null)).ToList().Count;
this.divSafePersonNum.InnerHtml = (getTrainRecord+ boShengCount).ToString();
//安全管理人员
var allSum = from x in Funs.DB.SitePerson_Person