|
@@ -232,9 +232,9 @@ public class OrderMapperConfigs : IRegister
|
|
|
.Map(d => d.No, s => s.CaseSerial);
|
|
|
|
|
|
config.ForType<WorkflowTrace, OrderFlowTraceDto>()
|
|
|
- .IgnoreIf((s, d) => s.Status < EWorkflowStepStatus.Handled, d => d.HandlerName)
|
|
|
- .IgnoreIf((s, d) => s.Status < EWorkflowStepStatus.Handled, d => d.HandlerOrgName)
|
|
|
- .IgnoreIf((s, d) => s.Status < EWorkflowStepStatus.Handled, d => d.HandleTime)
|
|
|
+ //.IgnoreIf((s, d) => s.Status < EWorkflowStepStatus.Handled, d => d.HandlerName)
|
|
|
+ //.IgnoreIf((s, d) => s.Status < EWorkflowStepStatus.Handled, d => d.HandlerOrgName)
|
|
|
+ //.IgnoreIf((s, d) => s.Status < EWorkflowStepStatus.Handled, d => d.HandleTime)
|
|
|
|
|
|
.IgnoreIf((s, d) => s.TraceStyle != ETraceStyle.Publish || s.OrderPublish == null, d => d.PublishState)
|
|
|
.Map(d => d.PublishState, s => s.OrderPublish.PublishState)
|