From 1f6e7ed3cfaf09775d161f5b5bf4003cce263123 Mon Sep 17 00:00:00 2001 From: jianjun Date: Sat, 5 Jun 2021 13:28:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=8A=A0=E5=BC=BA=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/datastats/DatsStatsDao.xml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/datastats/DatsStatsDao.xml b/epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/datastats/DatsStatsDao.xml index e16730136c..57d9edebc8 100644 --- a/epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/datastats/DatsStatsDao.xml +++ b/epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/datastats/DatsStatsDao.xml @@ -403,18 +403,18 @@ SELECT orgId, orgName, - GROUP_COUNT, - GROUP_RATIO, - GROUP_MEMBER_COUNT, - GROUP_MEMBER_RATIO, - TOPIC_COUNT, - TOPIC_RATIO, - ISSUE_COUNT, - ISSUE_RATIO, - PROJECT_COUNT, - PROJECT_RATIO, - PROJECT_CLOSED_COUNT, - PROJECT_CLOSED_RATIO + ifnull(GROUP_COUNT,0), + ifnull(GROUP_RATIO,0), + ifnull(GROUP_MEMBER_COUNT,0), + ifnull(GROUP_MEMBER_RATIO,0), + ifnull(TOPIC_COUNT,0), + ifnull(TOPIC_RATIO,0), + ifnull(ISSUE_COUNT,0), + ifnull(ISSUE_RATIO,0), + ifnull(PROJECT_COUNT,0), + ifnull(PROJECT_RATIO,0), + ifnull(PROJECT_CLOSED_COUNT,0), + ifnull(PROJECT_CLOSED_RATIO,0) FROM ( SELECT