标语 【保存】版本号不加
三级安全教育 已删除 的数据 不判断非空
This commit is contained in:
parent
1b6e276307
commit
cfdff26719
@ -92,7 +92,7 @@ namespace APT.PF.WebApiControllers.Api.PF
|
|||||||
ModelUpdateOld.STATUS = STATEEnum.Draft;
|
ModelUpdateOld.STATUS = STATEEnum.Draft;
|
||||||
|
|
||||||
entity.ID = Guid.NewGuid();
|
entity.ID = Guid.NewGuid();
|
||||||
entity.VERSION = ModelUpdateOld.VERSION + 1;
|
//entity.VERSION = ModelUpdateOld.VERSION + 1; //只是保存 不加版本号
|
||||||
entity.PARENTID = ModelUpdateOld.ID;
|
entity.PARENTID = ModelUpdateOld.ID;
|
||||||
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
|
entity.USER_ID_CREATER = APT.Infrastructure.Api.AppContext.CurrentSession.UserID.Value;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -158,6 +158,8 @@ namespace APT.SC.WebApi.Controllers.Api.SE
|
|||||||
{
|
{
|
||||||
foreach (var item in Nav_NewUserDetail)
|
foreach (var item in Nav_NewUserDetail)
|
||||||
{
|
{
|
||||||
|
if (item.IS_DELETED)
|
||||||
|
continue;
|
||||||
if (string.IsNullOrEmpty(item.SCORE))
|
if (string.IsNullOrEmpty(item.SCORE))
|
||||||
{
|
{
|
||||||
throw new Exception("线下考试请填写分数,行【" + index + "】!");
|
throw new Exception("线下考试请填写分数,行【" + index + "】!");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user