项目基本信息返回课题组名字
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-08-27 17:20:26 +08:00
parent f80c1ec86e
commit a3b57e2a04
2 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,8 @@ namespace IRaCIS.Application.Contracts
public string TrialStatusStr { get; set; }
public DateTime CreateTime { get; set; }
public string HospitalGroupName { get; set; }
}
public class AddOrUpdateTrialCommand

View File

@ -142,6 +142,8 @@ namespace IRaCIS.Core.Application.Service
;
CreateMap<Trial, TrialInfoDTO>()
.ForMember(d => d.HospitalGroupName, u => u.MapFrom(s => s.HospitalGroup.Name))
.ForMember(d => d.DictionaryList, u => u.MapFrom(s => s.TrialDicList.Select(t => t.Dictionary).OrderBy(t => t.ShowOrder)));