修改映射测试
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-14 13:16:15 +08:00
parent c3daa75e0e
commit 7285a9d672
2 changed files with 4 additions and 3 deletions
@@ -18,7 +18,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<SetCriterionJoinJoinAnalysisCommand, EnrollReadingCriterion>().ReverseMap();
CreateMap<TestModel, TestModel2>();
CreateMap<TestModel, TestModel2>()
.ForAllMembers(opts => opts.Condition((src, dest, srcMember) => srcMember != null));
}