|
@@ -158,7 +158,7 @@ public class WorkflowNextHandler : INotificationHandler<NextStepNotify>
|
|
|
if (screen != null)
|
|
|
{
|
|
|
screen.Status = EScreenStatus.Approval;
|
|
|
- screen.Assign(assignInfo.FlowAssignType, assignInfo.GetHandlerIds());
|
|
|
+ screen.Assign(workflow.FlowedOrgIds, workflow.FlowedUserIds);
|
|
|
await _orderScreenRepository.UpdateAsync(screen, cancellationToken);
|
|
|
}
|
|
|
|
|
@@ -207,7 +207,7 @@ public class WorkflowNextHandler : INotificationHandler<NextStepNotify>
|
|
|
.Where(x => x.Id == workflow.ExternalId).FirstAsync(cancellationToken);
|
|
|
if (orderDelay != null)
|
|
|
{
|
|
|
- orderDelay.Assign(assignInfo.FlowAssignType, assignInfo.GetHandlerIds());
|
|
|
+ orderDelay.Assign(workflow.FlowedOrgIds, workflow.FlowedUserIds);
|
|
|
await _orderDelayRepository.UpdateAsync(orderDelay, cancellationToken);
|
|
|
}
|
|
|
|