Browse Source

性激素

master
wxd 3 months ago
parent
commit
45b30ef960
  1. 1
      src/Shentun.Peis.Application/ItemResultTemplates/ItemResultTemplateAppService.cs
  2. 3
      src/Shentun.Peis.Application/MyUser/MyUserAppService.cs

1
src/Shentun.Peis.Application/ItemResultTemplates/ItemResultTemplateAppService.cs

@ -12,7 +12,6 @@ using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Repositories;
using Volo.Abp.Identity; using Volo.Abp.Identity;
using Shentun.Peis.SexHormoneReferenceRanges;
using Shentun.Peis.Models; using Shentun.Peis.Models;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Volo.Abp; using Volo.Abp;

3
src/Shentun.Peis.Application/MyUser/MyUserAppService.cs

@ -367,7 +367,8 @@ namespace Shentun.Peis.MyUser
var roleSysParmId = await _sysParmValueManager.GetSysParmValueAsync(Guid.Empty, input.RoleSysParmId); var roleSysParmId = await _sysParmValueManager.GetSysParmValueAsync(Guid.Empty, input.RoleSysParmId);
if (string.IsNullOrWhiteSpace(roleSysParmId)) if (string.IsNullOrWhiteSpace(roleSysParmId))
{ {
throw new UserFriendlyException("系统参数中未找到角色Id");
//throw new UserFriendlyException("系统参数中未找到角色Id");
return new List<ListByOperatorTypeDto>();
} }
List<string> roleIds = roleSysParmId.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList(); List<string> roleIds = roleSysParmId.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList();

Loading…
Cancel
Save