|
@@ -3734,15 +3734,18 @@ public class OrderController : BaseController
|
|
//string applicantId, string applicantOrgId, string[] applicantRoleIds,
|
|
//string applicantId, string applicantOrgId, string[] applicantRoleIds,
|
|
// ISessionContext current, CancellationToken cancellationToken);
|
|
// ISessionContext current, CancellationToken cancellationToken);
|
|
var flowDirection = await _workflowApplication.PreviousAsync(sendBack.SendBackData, sendBack.WorkflowUserId,
|
|
var flowDirection = await _workflowApplication.PreviousAsync(sendBack.SendBackData, sendBack.WorkflowUserId,
|
|
- sendBack.WorkflowOrgId, sendBack.WorkflowRoleIds.ToArray(), _sessionContext, HttpContext.RequestAborted);
|
|
|
|
|
|
+ sendBack.WorkflowOrgId, sendBack.WorkflowRoleIds.ToArray(), _sessionContext,
|
|
|
|
+ HttpContext.RequestAborted);
|
|
//var flowDirection = await _workflowApplication.PreviousAsync(sendBack.SendBackData, sendBack.WorkflowUserId, HttpContext.RequestAborted);
|
|
//var flowDirection = await _workflowApplication.PreviousAsync(sendBack.SendBackData, sendBack.WorkflowUserId, HttpContext.RequestAborted);
|
|
- var processType = flowDirection == EFlowDirection.OrgToCenter || flowDirection == EFlowDirection.CenterToCenter
|
|
|
|
|
|
+ var processType = flowDirection == EFlowDirection.OrgToCenter ||
|
|
|
|
+ flowDirection == EFlowDirection.CenterToCenter
|
|
? EProcessType.Zhiban
|
|
? EProcessType.Zhiban
|
|
: EProcessType.Jiaoban;
|
|
: EProcessType.Jiaoban;
|
|
await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { ProcessType = processType })
|
|
await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { ProcessType = processType })
|
|
.Where(o => o.Id == sendBack.OrderId).ExecuteCommandAsync(HttpContext.RequestAborted);
|
|
.Where(o => o.Id == sendBack.OrderId).ExecuteCommandAsync(HttpContext.RequestAborted);
|
|
//发送短信TODO
|
|
//发送短信TODO
|
|
- await _orderSendBackAuditRepository.UpdateAsync(sendBack, HttpContext.RequestAborted);
|
|
|
|
|
|
+ await _orderSendBackAuditRepository.UpdateAsync(sendBack, HttpContext.RequestAborted);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|