tangjiang 1 сар өмнө
parent
commit
5199bd654d

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

@@ -270,5 +270,15 @@ public class OrderMapperConfigs : IRegister
             .IgnoreIf((s, d) => s.OrgHandledAttitude == null, d => d.OrgHandledAttitude)
             .IgnoreIf((s, d) => s.OrgHandledAttitude == null, d => d.OrgHandledAttitude)
             .Map(d => d.OrgHandledAttitude, s => s.OrgHandledAttitude.Value)
             .Map(d => d.OrgHandledAttitude, s => s.OrgHandledAttitude.Value)
             ;
             ;
+
+        config.ForType<OrderVisitDetail, OrderVisitDetailCopy>()
+        .Ignore(d => d.CreationTime)
+         .Ignore(d => d.CreatorId)
+          .Ignore(d => d.CreatorName)
+           .Ignore(d => d.CreatorOrgId)
+            .Ignore(d => d.CreatorOrgLevel)
+            .Ignore(d => d.CreatorOrgName)
+            .Ignore(d => d.AreaId)
+        ;
     }
     }
 }
 }