培训考试积分

This commit is contained in:
2026-11-20 15:32:57 +08:00
parent 02a1a827f1
commit 6baa4ed8b5
16 changed files with 552 additions and 535 deletions
+1 -9
View File
@@ -534,15 +534,7 @@ namespace BLL
var getTrainType = TrainTypeService.GetTrainTypeById(trainTypeId);
if (getTrainType != null && (!getTrainType.IsRepeat.HasValue || getTrainType.IsRepeat.Value == false))
{
int score = 80;
var sysTestRule = db.Sys_TestRule.FirstOrDefault();
if (sysTestRule != null)
{
if (sysTestRule.PassingScore > 0)
{
score = sysTestRule.PassingScore;
}
}
int score = SysConstSetService.getPassScore();
foreach (var item in getPersons)
{
var getTrainPersonIdList3 = (from x in db.Training_TestRecord