|
@@ -27,6 +27,7 @@ using Hotline.Settings.TimeLimits;
|
|
|
using Hotline.Share.Dtos;
|
|
|
using Hotline.Share.Dtos.Enterprise;
|
|
|
using Hotline.Share.Dtos.FlowEngine;
|
|
|
+using Hotline.Share.Dtos.FlowEngine.Workflow;
|
|
|
using Hotline.Share.Dtos.Order;
|
|
|
using Hotline.Share.Dtos.Settings;
|
|
|
using Hotline.Share.Enums.CallCenter;
|
|
@@ -2272,7 +2273,7 @@ public class OrderController : BaseController
|
|
|
var result = await _workflowDomainService.GetWorkflowHandlePermissionAsync(
|
|
|
order.WorkflowId, _sessionContext.RequiredUserId, _sessionContext.RequiredOrgId, _sessionContext.Roles,
|
|
|
cancellationToken: HttpContext.RequestAborted);
|
|
|
- //order.Workflow = result.Workflow;
|
|
|
+ dto.Workflow = _mapper.Map<WorkflowDto>(result.Workflow);
|
|
|
dto.CountersignId = result.CountersignId;
|
|
|
dto.CanHandle = result.CanHandle;
|
|
|
dto.CanPrevious = result.CanPrevious;
|