From a480a2e4550914fc8d4d9fbc602a6289e326e831 Mon Sep 17 00:00:00 2001 From: kimjhjjang Date: Thu, 8 Dec 2022 18:05:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=97=85=EC=9E=90=EB=B3=84=ED=86=B5?= =?UTF-8?q?=EA=B3=84=20=EC=97=91=EC=85=80=20=EB=8B=A4=EC=9A=B4=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=20=ED=8D=BC=EC=84=BC=ED=85=8C=EC=9D=B4=EC=A7=80=20100?= =?UTF-8?q?%=20=EC=9D=B4=EC=83=81=20=EB=84=98=EC=96=B4=EA=B0=80=EB=8A=94?= =?UTF-8?q?=20=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/mysql/stats/stats-mapper.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/resources/mapper/mysql/stats/stats-mapper.xml b/src/main/resources/mapper/mysql/stats/stats-mapper.xml index b5516ae..163a97c 100644 --- a/src/main/resources/mapper/mysql/stats/stats-mapper.xml +++ b/src/main/resources/mapper/mysql/stats/stats-mapper.xml @@ -780,13 +780,13 @@ , SUM(t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS sndCnt , CONCAT(SUM(t2.succCntS + t2.succCntL + t2.succCntM + t2.succCntR),'(',(TRUNCATE(SUM(t2.succCntS + t2.succCntL + t2.succCntM + t2.succCntR) / SUM(t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) * 100, 2)),'%)') AS succCnt , SUM(t2.sndCntS) - , CONCAT(SUM(t2.succCntS), '(', SUM(t2.succRtS), '%)') AS succCntS + , CONCAT(SUM(t2.succCntS), '(', IFNULL(TRUNCATE((SUM(t2.succCntS) / SUM(t2.sndCntS)) * 100, 2), 0), '%)') AS succCntS , SUM(t2.sndCntL) - , CONCAT(SUM(t2.succCntL), '(', SUM(t2.succRtL), '%)') AS succCntL + , CONCAT(SUM(t2.succCntL), '(', IFNULL(TRUNCATE((SUM(t2.succCntL) / SUM(t2.sndCntL)) * 100, 2), 0) , '%)') AS succCntL , SUM(t2.sndCntM) - , CONCAT(SUM(t2.succCntM), '(', SUM(t2.succRtM), '%)') AS succCntM + , CONCAT(SUM(t2.succCntM), '(', IFNULL(TRUNCATE((SUM(t2.succCntM) / SUM(t2.sndCntM)) * 100, 2), 0), '%)') AS succCntM , SUM(t2.sndCntR) - , CONCAT(SUM(t2.succCntR), '(', SUM(t2.succRtR), '%)') AS succCntR + , CONCAT(SUM(t2.succCntR), '(', IFNULL(TRUNCATE((SUM(t2.succCntR) / SUM(t2.sndCntR)) * 100, 2), 0), '%)') AS succCntR from ( select SUM_YM , USER_SEQ @@ -1200,13 +1200,13 @@ , SUM(t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT , CONCAT(SUM(t2.succCntS + t2.succCntL + t2.succCntM + t2.succCntR),'(',(TRUNCATE(SUM(t2.succCntS + t2.succCntL + t2.succCntM + t2.succCntR) / SUM(t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) * 100, 2)) , '%)') AS SUCC_CNT , SUM(t2.sndCntS) as SND_CNT_S - , CONCAT(SUM(t2.succCntS),'(', SUM(t2.succRtS), '%)') as SUCC_CNT_S + , CONCAT(SUM(t2.succCntS), '(', IFNULL(TRUNCATE((SUM(t2.succCntS) / SUM(t2.sndCntS)) * 100, 2), 0), '%)') as SUCC_CNT_S , SUM(t2.sndCntL) as SND_CNT_L - , CONCAT(SUM(t2.succCntL), '(', SUM(t2.succRtL), '%)') as SUCC_CNT_L + , CONCAT(SUM(t2.succCntL), '(', IFNULL(TRUNCATE((SUM(t2.succCntL) / SUM(t2.sndCntL)) * 100, 2), 0) , '%)') as SUCC_CNT_L , SUM(t2.sndCntM) as SND_CNT_M - , CONCAT(SUM(t2.succCntM), '(', SUM(t2.succRtM), '%)') as SUCC_CNT_M + , CONCAT(SUM(t2.succCntM), '(', IFNULL(TRUNCATE((SUM(t2.succCntM) / SUM(t2.sndCntM)) * 100, 2), 0), '%)') as SUCC_CNT_M , SUM(t2.sndCntR) as SND_CNT_R - , CONCAT(SUM(t2.succCntR), '(', SUM(t2.succRtR), '%)') as SUCC_CNT_R + , CONCAT(SUM(t2.succCntR), '(', IFNULL(TRUNCATE((SUM(t2.succCntR) / SUM(t2.sndCntR)) * 100, 2), 0), '%)') as SUCC_CNT_R from ( SELECT