From 2ca47b894946ac46ba5a6fac46c5c71a10998a34 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 17 Oct 2025 12:32:18 +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?= =?UTF-8?q?=E5=80=92=E5=BA=8F?= 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 e17cf005..0e2645a2 100755 --- a/apps/wf/services.py +++ b/apps/wf/services.py @@ -77,7 +77,7 @@ class WfService(object): """ 获取状态可执行的操作 """ - return Transition.objects.filter(is_deleted=False, source_state=state).all().order_by("attribute_type", "id") + return Transition.objects.filter(is_deleted=False, source_state=state).all().order_by("-attribute_type", "-id") @classmethod def get_ticket_steps(cls, ticket: Ticket):