|
@@ -1164,8 +1164,8 @@ public class OrderController : BaseController
|
|
|
startDto.Title = model.DelayReason;
|
|
|
string workFlowId = await _workflowApplication.StartWorkflowAsync(startDto, model.Id,
|
|
|
cancellationToken: HttpContext.RequestAborted);
|
|
|
- model.WorkflowId = workFlowId;
|
|
|
- await _orderDelayRepository.UpdateAsync(model, HttpContext.RequestAborted);
|
|
|
+ //model.WorkflowId = workFlowId;
|
|
|
+ //await _orderDelayRepository.UpdateAsync(model, HttpContext.RequestAborted);
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
@@ -1414,12 +1414,12 @@ public class OrderController : BaseController
|
|
|
startDto.Title = dto.Data.Content;
|
|
|
workflowId = await _workflowApplication.StartWorkflowAsync(startDto, model.Id,
|
|
|
cancellationToken: HttpContext.RequestAborted);
|
|
|
- var screen = await _orderScreenRepository.GetAsync(model.Id, HttpContext.RequestAborted);
|
|
|
- if (screen != null)
|
|
|
- {
|
|
|
- screen.WorkflowId = workflowId;
|
|
|
- await _orderScreenRepository.UpdateAsync(screen, HttpContext.RequestAborted);
|
|
|
- }
|
|
|
+ //var screen = await _orderScreenRepository.GetAsync(model.Id, HttpContext.RequestAborted);
|
|
|
+ //if (screen != null)
|
|
|
+ //{
|
|
|
+ // screen.WorkflowId = workflowId;
|
|
|
+ // await _orderScreenRepository.UpdateAsync(screen, HttpContext.RequestAborted);
|
|
|
+ //}
|
|
|
}
|
|
|
catch (Exception e)
|
|
|
{
|