标语 【保存】版本号不加

三级安全教育 已删除 的数据 不判断非空
This commit is contained in:
wyw 2026-05-11 16:46:35 +08:00
parent 1b6e276307
commit cfdff26719
2 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,7 @@ namespace APT.PF.WebApiControllers.Api.PF
ModelUpdateOld.STATUS = STATEEnum.Draft;
entity.ID = Guid.NewGuid();
entity.VERSION = ModelUpdateOld.VERSION + 1;
//entity.VERSION = ModelUpdateOld.VERSION + 1; //只是保存 不加版本号
entity.PARENTID = ModelUpdateOld.ID;
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
}

View File

@ -158,6 +158,8 @@ namespace APT.SC.WebApi.Controllers.Api.SE
{
foreach (var item in Nav_NewUserDetail)
{
if (item.IS_DELETED)
continue;
if (string.IsNullOrEmpty(item.SCORE))
{
throw new Exception("线下考试请填写分数,行【" + index + "】!");