From 143148a88b05cd2371ace1eb8c852a3a4702b995 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Sun, 1 Sep 2024 14:18:39 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E6=8F=90=E4=BA=A4=E5=A4=87?= =?UTF-8?q?=E6=A1=88=E5=90=8E=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hz/pm/api/projectlib/manage/QxProjectManage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/QxProjectManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/QxProjectManage.java index bce91b6..530885f 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/QxProjectManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/QxProjectManage.java @@ -208,7 +208,8 @@ public class QxProjectManage { .exists(StrUtil.isNotBlank(req.getReplaceType()), "select 1 from qx_project_system_replace_infos " + "where qx_project_system_replace_infos.project_id = qx_project.id " + - "and replace_type = {0}", req.getReplaceType()); + "and replace_type = {0}", req.getReplaceType()) + .orderByDesc(QxProject::getUpdateOn); UnitQueryState unitQuery = unitQueryHelper.listCanViewUnitIds(req.getBuildOrgCode()); if (!unitQuery.isState()) { return PageVo.empty();