筛选列表

Uat_Study
hang 2022-10-21 17:22:35 +08:00
parent 15fd8109c3
commit 39766b1610
5 changed files with 38 additions and 1 deletions

View File

@ -413,6 +413,13 @@
<returns></returns>
<exception cref="T:IRaCIS.Core.Infrastructure.BusinessValidationFailedException"></exception>
</member>
<member name="M:IRaCIS.Core.Application.Service.TrialEmailNoticeConfigService.GetTrialUserSelectList(IRaCIS.Application.Contracts.TrialMaintenanceQuery)">
<summary>
选择人员下拉
</summary>
<param name="param"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.StudyService.Preview(System.Guid)">
<summary> 指定资源Id渲染Dicom检查的Jpeg预览图像 </summary>
<param name="studyId"> Dicom检查的Id </param>

View File

@ -11,6 +11,7 @@ using IRaCIS.Core.Application.ViewModel;
using IRaCIS.Core.Domain.Share;
using IRaCIS.Core.Infrastructure;
using IRaCIS.Core.Application.Helper;
using IRaCIS.Application.Contracts;
namespace IRaCIS.Core.Application.Service
{
@ -269,6 +270,22 @@ namespace IRaCIS.Core.Application.Service
/// <summary>
/// 选择人员下拉
/// </summary>
/// <param name="param"></param>
/// <returns></returns>
[HttpPost]
public async Task<List<TrialUserSelct>> GetTrialUserSelectList(Guid trialId)
{
var query = _trialUserRepository.Where(t => t.TrialId == param.TrialId && t.IsDeleted==false,false,true ).IgnoreQueryFilters()
.ProjectTo<TrialUserSelct>(_mapper.ConfigurationProvider);
return await query.ToListAsync();
}
[HttpPost]
public async Task<List<TrialEmailNoticeConfigView>> GetTrialEmailNoticeConfigList(TrialEmailNoticeConfigQuery inQuery)

View File

@ -74,6 +74,12 @@ namespace IRaCIS.Core.Application.Service
CreateMap<TrialEmailNoticeConfigAddOrEdit, TrialEmailNoticeConfig>();
CreateMap<TrialUser, TrialUserSelct>()
.ForMember(d => d.Phone, c => c.MapFrom(t => t.User.Phone))
.ForMember(d => d.Email, c => c.MapFrom(t => t.User.EMail))
.ForMember(d => d.RealName, c => c.MapFrom(t => t.User.FullName))
.ForMember(d => d.UserName, c => c.MapFrom(t => t.User.UserName));
CreateMap<TrialEmailNoticeUser, EmailUserInfoDto>()
.ForMember(d => d.Email, c => c.MapFrom(t => t.User.EMail))

View File

@ -41,7 +41,15 @@ namespace IRaCIS.Application.Contracts
}
public class TrialUserSelct: UserTrialCommand
{
public string Phone { get; set; } = String.Empty;
public string Email { get; set; } = string.Empty;
public string RealName { get; set; } = String.Empty;
public string UserName { get; set; } = String.Empty;
}
public class TrialMaintenanceDTO : UserTrialCommand
{

View File

@ -83,7 +83,6 @@ namespace IRaCIS.Application.Services
/// <summary> Setting页面 为 site 勾选CRC用户列表</summary>
[HttpPost]
public async Task<PageOutput<AssginSiteCRCListDTO>> GetSiteCRCScreeningList(SiteCRCQuery param)