From fbeadd5dde2e0770931d6c3ab409e20439510c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=A1=95?= Date: Mon, 19 Feb 2024 09:52:22 +0800 Subject: [PATCH] * Fix bug #39885. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 901e07f6c5..737a77f31b 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -2587,7 +2587,7 @@ class executionModel extends model ->where('deleted')->eq(0) ->andWhere('status')->notin('closed,cancel') ->andWhere('execution')->in($executionIdList) - ->orderBy('order_asc') + ->orderBy('order_asc,id_desc') ->fetchGroup('execution', 'id'); $taskIdList = array();