From b869521221d02575de1433c0ba4df0c5a2484327 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 16 Oct 2025 10:05:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20=E8=8E=B7=E5=8F=96=E6=B5=81?= =?UTF-8?q?=E8=BD=AC=E6=97=B6=E6=8E=92=E5=BA=8F=E6=8C=89attribute=5Ftype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wf/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wf/services.py b/apps/wf/services.py index 5505c6e0..887b2df7 100755 --- a/apps/wf/services.py +++ b/apps/wf/services.py @@ -26,7 +26,7 @@ class WfService(object): """ 获取工作流流转列表 """ - return Transition.objects.filter(workflow=workflow, is_deleted=False) + return Transition.objects.filter(workflow=workflow, is_deleted=False).order_by("attribute_type", "id") @staticmethod def get_workflow_start_state(workflow: Workflow):