20240102安全风险提交方法调整,数据修正

This commit is contained in:
2024-01-02 16:59:29 +08:00
parent 7f2be68951
commit 2e2118a813
8 changed files with 81 additions and 8 deletions
+2 -1
View File
@@ -188,9 +188,10 @@ namespace BLL
{
item.TestEndTime = item.TestStartTime.Value.AddMinutes(item.Duration);
item.TestScores = db.Training_TestRecordItem.Where(x => x.TestRecordId == item.TestRecordId).Sum(x => x.SubjectScore) ?? 0;
db.SubmitChanges();
icount++;
}
db.SubmitChanges();
}
}
return icount;