This commit is contained in:
2026-10-30 09:33:23 +08:00
parent 2928739f1b
commit 0adf248671
3 changed files with 18 additions and 2 deletions
@@ -338,7 +338,7 @@ namespace WebAPI.Controllers
////及格分数
int getPassScores = 80;
//int getPassScores = SysConstSetService.getPassScore();
if (getTestScores <= getPassScores)
if (getTestScores < getPassScores)
{
int testCount = Funs.DB.Training_TestRecord.Where(x => x.TestPlanId == getTestRecord.TestPlanId && x.TestManId == getTestRecord.TestManId).Count();
if (testCount < 2)
@@ -452,7 +452,7 @@ namespace WebAPI.Controllers
//{
// getPassScores = testRule.PassingScore;
//}
if (getTestScores <= getPassScores)
if (getTestScores < getPassScores)
{
int testCount = db.Training_TestRecord.Where(x => x.TestPlanId == getTestRecord.TestPlanId && x.TestManId == getTestRecord.TestManId).Count();
if (testCount < 2)