|
@@ -2821,10 +2821,23 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
}
|
|
}
|
|
|
|
|
|
//await _workflowDomainService.RecallToStartStepAsync(order.WorkflowId, "省工单重派", current, order.Status >= EOrderStatus.Filed, cancellationToken);
|
|
//await _workflowDomainService.RecallToStartStepAsync(order.WorkflowId, "省工单重派", current, order.Status >= EOrderStatus.Filed, cancellationToken);
|
|
- var isPaiDan = await _workflowDomainService.RecallToCenterFirstToSendAsync(order.WorkflowId, "省工单重派", order.Status >= EOrderStatus.Filed,
|
|
|
|
|
|
+ var (isPaiDan, workflow) = await _workflowDomainService.RecallToCenterFirstToSendAsync(order.WorkflowId, "省工单重派", order.Status >= EOrderStatus.Filed,
|
|
order.ExpiredTime, nextHandler, cancellationToken);
|
|
order.ExpiredTime, nextHandler, cancellationToken);
|
|
order.FileEmpty();
|
|
order.FileEmpty();
|
|
|
|
|
|
|
|
+ order.CurrentStepName = workflow.CurrentStepName;
|
|
|
|
+ order.CurrentStepCode = workflow.CurrentStepCode;
|
|
|
|
+ order.CurrentStepId = workflow.CurrentStepId;
|
|
|
|
+ order.CurrentStepCreateTime = workflow.CurrentStepCreateTime;
|
|
|
|
+ order.CurrentHandleTime = workflow.CurrentHandleTime;
|
|
|
|
+ order.CurrentHandlerId = workflow.CurrentHandlerId;
|
|
|
|
+ order.CurrentHandlerName = workflow.CurrentHandlerName;
|
|
|
|
+ order.CurrentHandleOrgName = workflow.CurrentHandleOrgName;
|
|
|
|
+ order.CurrentHandleOrgId = workflow.CurrentHandleOrgId;
|
|
|
|
+ order.CurrentHandleOrgLevel = workflow.CurrentHandleOrgLevel;
|
|
|
|
+ order.CurrentHandleOrgAreaCode = workflow.CurrentHandleOrgAreaCode;
|
|
|
|
+ order.CurrentHandleOrgAreaName = workflow.CurrentHandleOrgAreaName;
|
|
|
|
+
|
|
order.Status = EOrderStatus.WaitForAccept;
|
|
order.Status = EOrderStatus.WaitForAccept;
|
|
if (isPaiDan)
|
|
if (isPaiDan)
|
|
{
|
|
{
|