|
@ -162,7 +162,7 @@ namespace ICS.Application.Business.Service |
|
|
var entity = await _repository.GetAsync(input.Id); |
|
|
var entity = await _repository.GetAsync(input.Id); |
|
|
if (entity == null) |
|
|
if (entity == null) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException(L("NoExistsCurrentCode", "xx")); |
|
|
|
|
|
|
|
|
throw new UserFriendlyException(L("NoExistsCurrentCode", "自定义档案")); |
|
|
} |
|
|
} |
|
|
#region //删除验证
|
|
|
#region //删除验证
|
|
|
//删除子表
|
|
|
//删除子表
|
|
@ -180,7 +180,7 @@ namespace ICS.Application.Business.Service |
|
|
var entitys = await _repository.GetAllListAsync(x => input.Contains(x.Id)); |
|
|
var entitys = await _repository.GetAllListAsync(x => input.Contains(x.Id)); |
|
|
if (entitys == null) |
|
|
if (entitys == null) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException(L("NoExistsCurrentCode", "xx")); |
|
|
|
|
|
|
|
|
throw new UserFriendlyException(L("NoExistsCurrentCode", "自定义档案")); |
|
|
} |
|
|
} |
|
|
#region //删除验证
|
|
|
#region //删除验证
|
|
|
foreach (var item in entitys) |
|
|
foreach (var item in entitys) |
|
|