Browse Source

orderpublish

Jason 1 year ago
parent
commit
b916f09186
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Hotline.Application/Mappers/OrderMapperConfigs.cs

+ 1 - 1
src/Hotline.Application/Mappers/OrderMapperConfigs.cs

@@ -63,7 +63,7 @@ public class OrderMapperConfigs : IRegister
             .Inherits<Order, OrderDto>()
             .IgnoreIf((s, d) => s.OrderPublish == null, d => d.PublishState)
             .IgnoreIf((s, d) => s.OrderPublish == null, d => d.ArrangeContent)
-            .IgnoreIf((s, d) => s.OrderPublish == null, d => d.CreationTime)
+            .IgnoreIf((s, d) => s.OrderPublish == null, d => d.PublishTime)
             .IgnoreIf((s, d) => s.OrderPublish == null, d => d.PublishMan)
             .Map(d => d.PublishState, s => s.OrderPublish.PublishState)
             .Map(d => d.ArrangeContent, s => s.OrderPublish.ArrangeContent)