From 9b419aafe0825bd762db0fc28045e82c6102e69c Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 26 Apr 2022 17:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/_MapConfig.cs | 2 +- IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs | 2 +- IRaCIS.Core.Infra.EFCore/Repository/Repository.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/_MapConfig.cs b/IRaCIS.Core.Application/Service/QC/_MapConfig.cs index dae431f82..4b5833c84 100644 --- a/IRaCIS.Core.Application/Service/QC/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/QC/_MapConfig.cs @@ -205,7 +205,7 @@ namespace IRaCIS.Core.Application.Service .ForMember(d => d.VisitNum, u => u.MapFrom(s => s.SubjectVisit.VisitNum)) .ForMember(d => d.BlindName, u => u.MapFrom(s => s.SubjectVisit.BlindName)) .ForMember(d => d.Creator, u => u.MapFrom(s => s.Creator.UserName)) - .ForMember(d => d.IsQCConfirmedReupload, u => u.MapFrom(s => s.SubjectVisit.IsQCConfirmedReupload)) + .ForMember(d => d.IsQCConfirmedReupload, u => u.MapFrom(s => s.SubjectVisit.IsQCConfirmedReupload)) .ForMember(d => d.CreateUser, u => u.MapFrom(s => s.Creator.LastName + s.Creator.FirstName)) .ForMember(d => d.LatestReplyUser, u => u.MapFrom(t => t.LatestReplyUser.LastName + t.Creator.FirstName)) .ForMember(d => d.ChallengeCode, u => u.MapFrom(s => "Q" + s.ChallengeCode.ToString("D5"))); //排序的时候有坑 把这个带到sql 中去了 diff --git a/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs b/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs index b24bf8393..20eb85402 100644 --- a/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs +++ b/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs @@ -8,7 +8,7 @@ namespace IRaCIS.Core.Infra.EFCore.Dto { public class SetDictionaryValueDto { - public Guid Trial { get; set; } + public Guid TrialId { get; set; } public List Items { get; set; } diff --git a/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs b/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs index 365f41734..2cdb74ec1 100644 --- a/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs +++ b/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs @@ -575,7 +575,7 @@ namespace IRaCIS.Core.Infra.EFCore foreach (var item in dto.Items) { item.Json = await GetDictionaryValue(item.Identification,item.Json); - item.Json = await SetEnum(dto.Trial, item.Identification, item.Json); + item.Json = await SetEnum(dto.TrialId, item.Identification, item.Json); } return dto.Items.Select(x=>x.Json).ToList();