新疆油建优化

This commit is contained in:
2026-09-02 14:36:26 +08:00
parent 75df99e219
commit 13fa72ab8c
9 changed files with 57 additions and 57 deletions
@@ -629,13 +629,13 @@ namespace FineUIPro.Web.HSSE.EduTrain
var getTrainingTasks = from x in Funs.DB.Training_Task
where x.PlanId == itemRecord.PlanId
select x;
////及格分数
////及格分数
int passScore = 80;
var testRule = Funs.DB.Sys_TestRule.FirstOrDefault();
if (testRule != null)
{
passScore = testRule.PassingScore;
}
//var testRule = Funs.DB.Sys_TestRule.FirstOrDefault();
//if (testRule != null)
//{
// passScore = testRule.PassingScore;
//}
foreach (var item in getTrainingTasks)
{
bool isInsert = true;