diff --git a/src/Shentun.Peis.Application/ItemResultTemplates/ItemResultTemplateAppService.cs b/src/Shentun.Peis.Application/ItemResultTemplates/ItemResultTemplateAppService.cs index 91cd83e6..3bf32a9b 100644 --- a/src/Shentun.Peis.Application/ItemResultTemplates/ItemResultTemplateAppService.cs +++ b/src/Shentun.Peis.Application/ItemResultTemplates/ItemResultTemplateAppService.cs @@ -12,7 +12,6 @@ using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; using Volo.Abp.Domain.Repositories; using Volo.Abp.Identity; -using Shentun.Peis.SexHormoneReferenceRanges; using Shentun.Peis.Models; using Microsoft.AspNetCore.Authorization; using Volo.Abp; diff --git a/src/Shentun.Peis.Application/MyUser/MyUserAppService.cs b/src/Shentun.Peis.Application/MyUser/MyUserAppService.cs index 361f075a..16627457 100644 --- a/src/Shentun.Peis.Application/MyUser/MyUserAppService.cs +++ b/src/Shentun.Peis.Application/MyUser/MyUserAppService.cs @@ -367,7 +367,8 @@ namespace Shentun.Peis.MyUser var roleSysParmId = await _sysParmValueManager.GetSysParmValueAsync(Guid.Empty, input.RoleSysParmId); if (string.IsNullOrWhiteSpace(roleSysParmId)) { - throw new UserFriendlyException("系统参数中未找到角色Id"); + //throw new UserFriendlyException("系统参数中未找到角色Id"); + return new List(); } List roleIds = roleSysParmId.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList();