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
+1
View File
@@ -864,6 +864,7 @@
<Compile Include="ReportManage\HazardFactor\HazardFactorOccHealthService.cs" />
<Compile Include="ReportManage\HazardFactor\HazardFactorSafetyService.cs" />
<Compile Include="ReportManage\SafeEnvBudget\SafetyManagementDataService.cs" />
<Compile Include="Score\ScoreService.cs" />
<Compile Include="Score\ScoreUserService.cs" />
<Compile Include="Score\ScoreFlowLogService.cs" />
<Compile Include="Service References\CNCECHSSEService\Reference.cs">
+15
View File
@@ -0,0 +1,15 @@
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BLL
{
/// <summary>
/// 人员积分
/// </summary>
public class ScoreService
{
}
}
@@ -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)