From 4f3aa4b8aefadbb52ae0e3a429ab1a175d165286 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 2 Jun 2020 14:50:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/ext/ExtProjectMapper.xml | 7 ++++++- .../controller/request/ProjectRequest.java | 3 +++ .../io/metersphere/service/ProjectService.java | 2 ++ .../src/business/components/project/MsProject.vue | 14 +++++++++++--- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml index 2ccd8dede8..23ef69272d 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml @@ -15,7 +15,12 @@ and w.id = #{proRequest.workspaceId} - order by p.update_time desc + + order by + + p.${order.name} ${order.type} + +