项目文档修改临时提交

This commit is contained in:
2024-12-30 18:24:21 +08:00
parent 12fb19c47c
commit a449013c5d
23 changed files with 19329 additions and 243 deletions
@@ -121,6 +121,8 @@ namespace IRaCIS.Core.Application.Service
#region
CreateMap<Doctor, SelectionReviewerDTO>()
.ForMember(d => d.DoctorUserName, u => u.MapFrom(t => t.UserRole.IdentityUser.UserName));
CreateMap<Doctor, DoctorDTO>().IncludeMembers(t => t.Hospital).Include<Doctor, SelectionReviewerDTO>()
.ForMember(d => d.AccountUserName, u => u.MapFrom(s => s.EnrollList.Where(t => t.DoctorUserId != null).Select(c => c.DoctorUser.UserName).FirstOrDefault()))
.ForMember(d => d.Department, u => u.MapFrom(s => s.Department.Value))