From 10eb7f9f69122c210a64e0c607ece2f807c30f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Tue, 14 Nov 2023 13:09:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=AD=9B=E9=80=89=E5=87=BA=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=8C=96=E7=9A=84=E7=BB=93=E6=9E=84=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/monitor/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/lib/controllers/monitor/index.js b/api/app/lib/controllers/monitor/index.js index be38993..447033e 100644 --- a/api/app/lib/controllers/monitor/index.js +++ b/api/app/lib/controllers/monitor/index.js @@ -28,8 +28,7 @@ async function getStructures (ctx) { ` SELECT t_structure.id AS strucId, - t_structure.name AS strucName - + t_structure.name AS strucName FROM t_project LEFT JOIN @@ -57,6 +56,7 @@ async function getStructures (ctx) { project_state != -1 AND t_project.id IN (${[...anxinProjectIds].join(',')}, -1) + AND t_structure.external_platform is not null ORDER BY strucId ` ).toPromise() :