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();