1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user