|
@@ -306,7 +306,8 @@ namespace Hotline.Api.Controllers
|
|
|
startWorkflowDto.Opinion = dto.Reason;
|
|
|
startWorkflowDto.Title = "分机休息申请流程";
|
|
|
// await _workflowApplication.StartWorkflowAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
- await _workflowDomainService.StartAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
+ //await _workflowDomainService.StartAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
+ await _workflowDomainService.StartToFirstStepAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -343,7 +344,8 @@ namespace Hotline.Api.Controllers
|
|
|
startWorkflowDto.Opinion = dto.Reason;
|
|
|
startWorkflowDto.Title = "分机休息申请流程";
|
|
|
// await _workflowApplication.StartWorkflowAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
- await _workflowDomainService.StartAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
+ //await _workflowDomainService.StartAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
+ await _workflowDomainService.StartToFirstStepAsync(startWorkflowDto, telRest.Id, cancellationToken: HttpContext.RequestAborted);
|
|
|
}
|
|
|
|
|
|
|