|
@@ -875,7 +875,7 @@ namespace Hotline.FlowEngine.Workflows
|
|
|
|
|
|
private static void CheckWhetherRunnable(EWorkflowStatus status)
|
|
|
{
|
|
|
- if (status is not EWorkflowStatus.Runnable or EWorkflowStatus.Marked)
|
|
|
+ if (status != EWorkflowStatus.Runnable && status != EWorkflowStatus.Marked)
|
|
|
throw new UserFriendlyException("当前流程状态不可继续流转");
|
|
|
}
|
|
|
|