获取绑定关系 获取分组名称
continuous-integration/drone/push Build is passing

This commit is contained in:
Hewt
2026-03-24 15:37:29 +08:00
parent b7f53f4036
commit 94bf9895af
3 changed files with 25 additions and 2 deletions
@@ -27,7 +27,9 @@ namespace IRaCIS.Core.Application.Service
// 在此处拷贝automapper 映射
CreateMap<SegmentBinding, SegmentBindingView>();
CreateMap<SegmentBinding, SegmentBindingView>()
.ForMember(d => d.SegmentName, u => u.MapFrom(s => s.Segment.SegmentName))
.ForMember(d => d.SegmentationName, u => u.MapFrom(s => s.Segmentation.SegmentationName));
CreateMap<SegmentBinding, SegmentBindingAddOrEdit>().ReverseMap();
CreateMap<ReadingQuestionTrial, ReadingReportDto>()