Compare commits

..

No commits in common. "7a46f583d0127bcce9a15ad979465c0b341fc902" and "73559e18900dca80429439b6f1750b64e5e9d7cb" have entirely different histories.

View File

@ -45,16 +45,7 @@ namespace APT.SC.WebApi.Controllers.Api.SE
var Nav_ResultList = entity.Nav_ResultList; var Nav_ResultList = entity.Nav_ResultList;
entity.Nav_ResultList = null; entity.Nav_ResultList = null;
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify")) if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
{ {
int index = 0;
foreach (var item in Nav_ResultList)
{
index++;
if (item.EVALUATION_RESULT == null)
{
throw new Exception("请选择行【" + index + "】的评估结果");
}
}
entity.STATUS = SETrainningEffectSurveyStatus.; entity.STATUS = SETrainningEffectSurveyStatus.;
if (Nav_ResultList == null) if (Nav_ResultList == null)
{ {
@ -62,8 +53,6 @@ namespace APT.SC.WebApi.Controllers.Api.SE
} }
finishNotice = NotificationTaskService.GetTaskFinishModel(entity.TaskID, "SE021_SHOWPRINT"); finishNotice = NotificationTaskService.GetTaskFinishModel(entity.TaskID, "SE021_SHOWPRINT");
} }
UnifiedCommit(() => UnifiedCommit(() =>
{ {
UpdateEntityNoCommit(entity); UpdateEntityNoCommit(entity);