Compare commits
2 Commits
796c8536b9
...
596f6e93a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
596f6e93a6 | ||
|
|
f6f822448f |
@ -179,7 +179,21 @@ namespace APT.SC.WebApi.Controllers.Api.SE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (data.Nav_Notify != null && data.Nav_Notify.CHECKTYPE == PlanCheckType.InOffLine)
|
||||
{
|
||||
//参加的就要有考核结果
|
||||
int rowindex = 1;
|
||||
foreach (var item in joinUsers)
|
||||
{
|
||||
if (item.IS_DELETED)
|
||||
continue;
|
||||
if (item.STATUS == SETrainRecordUserStatusEnum.参与 && !item.EXAMINATION_RESULTS.HasValue)
|
||||
{
|
||||
throw new Exception("请填写行【" + rowindex + "】的考核结果!");
|
||||
}
|
||||
rowindex++;
|
||||
}
|
||||
}
|
||||
|
||||
entity.TRAIN_COUNT = joinUsers.Count(t => t.STATUS == SETrainRecordUserStatusEnum.参与);
|
||||
var allSendTitles = new List<string>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user