From 756bc9438675fbb0e68301ac2b3ca354e1a8e7c5 Mon Sep 17 00:00:00 2001 From: CODE <1650192445@qq.com> Date: Tue, 5 Sep 2023 18:22:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=9B=86=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E7=89=A9=E6=95=B0=E9=87=8F=E5=8E=BB=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/project/group.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/app/lib/controllers/project/group.js b/api/app/lib/controllers/project/group.js index 1278648..4cf9875 100644 --- a/api/app/lib/controllers/project/group.js +++ b/api/app/lib/controllers/project/group.js @@ -147,8 +147,8 @@ async function groupStatistic (ctx) { const strucRes = anxinProjectIdArr.length ? await clickHouse.anxinyun.query( ` SELECT + DISTINCT t_structure.id AS strucId, t_project.id AS projectId, - t_structure.id AS strucId, t_structure.name AS strucName, project_state FROM @@ -278,9 +278,9 @@ async function groupStatisticOnline (ctx) { const strucRes = anxinProjectIds.size ? await clickHouse.anxinyun.query( ` SELECT + DISTINCT t_structure.id AS strucId, t_project.id AS projectId, - t_structure.id AS id, - t_structure.name AS name, + t_structure.name AS strucName, project_state FROM t_project @@ -419,9 +419,9 @@ async function groupStatisticAlarm (ctx) { const strucRes = anxinProjectIds.size ? await clickHouse.anxinyun.query( ` SELECT + DISTINCT t_structure.id AS strucId, t_project.id AS projectId, - t_structure.id AS id, - t_structure.name AS name, + t_structure.name AS strucName, project_state FROM t_project