|
@@ -5388,7 +5388,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
|
|
|
{
|
|
|
await _circularRecordDomainService.OrderSendBackCircularMessage(prevStep.HandlerId, prevStep.HandlerName, order, cancellationToken);
|
|
|
}
|
|
|
- else if (currentStep.FlowAssignType == EFlowAssignType.Role && !string.IsNullOrEmpty(currentStep.RoleId))
|
|
|
+ else if (prevStep.FlowAssignType == EFlowAssignType.Role && !string.IsNullOrEmpty(currentStep.RoleId))
|
|
|
{
|
|
|
|
|
|
var users = await _userRepository.Queryable().Includes(x => x.Roles).Where(x => x.Roles.Where(x => x.Id == currentStep.RoleId).Any()).ToListAsync();
|