|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
using AgileObjects.AgileMapper.Extensions; |
|
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
|
using MongoDB.Driver.Linq; |
|
|
|
|
using NPOI.SS.Formula.Functions; |
|
|
|
|
using System.Net; |
|
|
|
|
using System.Text.RegularExpressions; |
|
|
|
|
using static Tiobon.Core.Model.Consts; |
|
|
|
@ -900,6 +901,9 @@ public class Ghre_ExamRecordServices : BaseServices<Ghre_ExamRecord, Ghre_ExamRe |
|
|
|
|
|
|
|
|
|
entity.RetakeTimes = entity.RetakeTimes is null ? 1 : entity.RetakeTimes + 1; |
|
|
|
|
entity.ScoreStatus = DIC_EXAM_RECORD_SCORE_STATUS.NO_SCORE; |
|
|
|
|
entity.Score = 0; |
|
|
|
|
entity.IsPass = false; |
|
|
|
|
entity.FinallyIsPass = false; |
|
|
|
|
|
|
|
|
|
var sql = $@"UPDATE Ghre_ExamRecordDetail SET IsEnable=0 WHERE ExamRecordId='{entity.Id}';
|
|
|
|
|
UPDATE Ghre_ExamRecordAnswer SET IsEnable=0 WHERE ExamRecordId='{entity.Id}';";
|
|
|
|
|