Browse Source

..

Branch_JinYang
xusc 8 months ago
parent
commit
8680cf357e
  1. 4
      src/aspnet-core/ICS.Application/Business/Service/基础设置/SysEnumKey/SysEnumKeyAppService.cs

4
src/aspnet-core/ICS.Application/Business/Service/基础设置/SysEnumKey/SysEnumKeyAppService.cs

@ -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)

Loading…
Cancel
Save