|
@@ -958,7 +958,6 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
directionStepBusinessType, null)
|
|
|
};
|
|
|
case EBusinessType.Department:
|
|
|
- case EBusinessType.File:
|
|
|
return directionStepBusinessType switch
|
|
|
{
|
|
|
EBusinessType.Seat => EFlowDirection.OrgToCenter,
|
|
@@ -968,6 +967,15 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
_ => throw new ArgumentOutOfRangeException(nameof(directionStepBusinessType),
|
|
|
directionStepBusinessType, null)
|
|
|
};
|
|
|
+ case EBusinessType.File:
|
|
|
+ return directionStepBusinessType switch
|
|
|
+ {
|
|
|
+ EBusinessType.Seat => EFlowDirection.FiledToCenter,
|
|
|
+ EBusinessType.Send => EFlowDirection.FiledToCenter,
|
|
|
+ EBusinessType.Department => EFlowDirection.FiledToOrg,
|
|
|
+ EBusinessType.DepartmentLeader => EFlowDirection.FiledToOrg,
|
|
|
+ _ => throw new ArgumentOutOfRangeException(nameof(directionStepBusinessType), directionStepBusinessType, null)
|
|
|
+ };
|
|
|
default:
|
|
|
throw new ArgumentOutOfRangeException(nameof(sourceStepBusinessType), sourceStepBusinessType, null);
|
|
|
}
|