|
@@ -15,7 +15,7 @@ public class OrderMapperConfigs : IRegister
|
|
|
config.ForType<Order, OrderDto>()
|
|
|
.IgnoreIf((s, d) => s.OrderExtension == null, d => d.OrderExtension)
|
|
|
.IgnoreIf((s, d) => s.Hotspot == null, d => d.Hotspot)
|
|
|
- .Map(d => d.CanSign, s => string.IsNullOrEmpty(s.SignerId) || !s.ActualHandleStepAcceptTime.HasValue)
|
|
|
+ .Map(d => d.IsRed, s => string.IsNullOrEmpty(s.SignerId) || !s.ActualHandleStepAcceptTime.HasValue)
|
|
|
;
|
|
|
|
|
|
config.ForType<OrderCopy, OrderDto>()
|