修改一版

Uat_Study
he 2022-04-26 17:47:30 +08:00
parent 4e5ae0373d
commit 9b419aafe0
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ namespace IRaCIS.Core.Infra.EFCore.Dto
{ {
public class SetDictionaryValueDto public class SetDictionaryValueDto
{ {
public Guid Trial { get; set; } public Guid TrialId { get; set; }
public List<SetDictionaryDto> Items { get; set; } public List<SetDictionaryDto> Items { get; set; }

View File

@ -575,7 +575,7 @@ namespace IRaCIS.Core.Infra.EFCore
foreach (var item in dto.Items) foreach (var item in dto.Items)
{ {
item.Json = await GetDictionaryValue(item.Identification,item.Json); 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(); return dto.Items.Select(x=>x.Json).ToList();