This commit is contained in:
夏菊 2025-04-29 18:19:29 +08:00
parent 6390d40901
commit 76ffea4c03
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ namespace BLL
join y in db.Training_CompanyTrainingItem on x.TrainingItemCode equals y.CompanyTrainingItemCode into temp
//join z in db.Training_CompanyTraining on y.CompanyTrainingId equals z.CompanyTrainingId into temp
from y in temp.DefaultIfEmpty()
where t.ProjectId == projectId && t.UserId == personId
where t.ProjectId == projectId && t.UserId == personId
orderby x.TrainingItemCode
select new Model.TrainingRecordItemItem
{
@ -129,7 +129,7 @@ namespace BLL
PlanId = x.PlanId,
StartTime = x.StartTime,
EndTime = x.EndTime,
LearningTime = x.LearnTime,
LearningTime = x.LearnTime ?? 0,
AttachTime = y.LearningTime,
VideoProgress = x.VideoProgress,
PersonId = x.PersonId,