Browse Source

Merge branch 'release' of http://110.188.24.182:10023/Fengwo/hotline into release

田爽 9 tháng trước cách đây
mục cha
commit
28e836361d
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/Hotline.Application/Mappers/OrderMapperConfigs.cs

+ 4 - 0
src/Hotline.Application/Mappers/OrderMapperConfigs.cs

@@ -153,5 +153,9 @@ public class OrderMapperConfigs : IRegister
             .Map(d => d.TimeLimit, s => s.TimeText)
             .Map(d => d.TimeLimitCount, s => s.Count)
             .Map(d => d.TimeLimitUnit, s => s.TimeType);
+
+        config.ForType<OrderScreen, OrderScreenListDto>()
+            .IgnoreIf((s, d) => s.VisitDetail == null, d => d.VisitDetail)
+            ;
     }
 }