Compare commits
2 Commits
376824b520
...
3a9f49ee5c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a9f49ee5c | ||
|
|
e71d5643a2 |
@ -1499,7 +1499,7 @@ namespace APT.SC.WebApi.Controllers.Api.SE
|
|||||||
T_FM_NOTIFICATION_TASK sendNotices = null;
|
T_FM_NOTIFICATION_TASK sendNotices = null;
|
||||||
if (RecordUser.EXAMINATION_RESULTS == SEExaminationResultsEnum.合格 || (entity.Nav_Config != null && modelText.TEXT_TIMES == entity.Nav_Config.COUNT_RETRY + 1))
|
if (RecordUser.EXAMINATION_RESULTS == SEExaminationResultsEnum.合格 || (entity.Nav_Config != null && modelText.TEXT_TIMES == entity.Nav_Config.COUNT_RETRY + 1))
|
||||||
{
|
{
|
||||||
var check = GetEntity<T_SE_TRAIN_RECORD_TEXT>(e => e.RECORD_ID == RecordUser.USER_ID && !e.SCORE.HasValue && e.USER_ID != APT.Infrastructure.Api.AppContext.CurrentSession.UserID);
|
var check = GetEntity<T_SE_TRAIN_RECORD_TEXT>(e => e.RECORD_ID == RecordUser.RECORD_ID && !e.SCORE.HasValue && e.USER_ID != APT.Infrastructure.Api.AppContext.CurrentSession.UserID);
|
||||||
//var check = GetEntity<T_SE_TRAIN_RECORD_USER>(e => e.RECORD_ID == modelText.RECORD_ID && e.STATUS == SETrainRecordUserStatusEnum.参与 && e.OK == false && e.USER_ID != APT.Infrastructure.Api.AppContext.CurrentSession.UserID);
|
//var check = GetEntity<T_SE_TRAIN_RECORD_USER>(e => e.RECORD_ID == modelText.RECORD_ID && e.STATUS == SETrainRecordUserStatusEnum.参与 && e.OK == false && e.USER_ID != APT.Infrastructure.Api.AppContext.CurrentSession.UserID);
|
||||||
if (check == null || check.ID == Guid.Empty)
|
if (check == null || check.ID == Guid.Empty)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user