diff --git a/application/common/Model/TaskStages.php b/application/common/Model/TaskStages.php index 3707de4..329c872 100755 --- a/application/common/Model/TaskStages.php +++ b/application/common/Model/TaskStages.php @@ -94,7 +94,7 @@ class TaskStages extends CommonModel !$joinTaskMember && $taskModel->leftJoin('task_member tm', 't.code = tm.task_code'); $taskModel = $taskModel->whereIn('tm.member_code', $joiner); } - $list = $taskModel->order('t.sort asc,t.id asc')->field('id', true)->select(); + $list = $taskModel->order('t.create_time desc')->field('id', true)->select(); if ($list) { $taskMemberList = []; foreach ($list as &$task) {