From c791e76ad14a261a1c2c3bca39b3dddda7962090 Mon Sep 17 00:00:00 2001 From: minuk926 Date: Wed, 13 Apr 2022 17:20:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B1=B0=EC=A3=BC=EC=9E=90/=EC=9E=A5?= =?UTF-8?q?=EC=95=A0=EC=9D=B8=20=EC=8B=AC=EC=9D=98=EB=8C=80=EC=83=81=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/ctgy/residentanddisabled-mapper.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml b/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml index a0eccf5..f889f49 100644 --- a/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml +++ b/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml @@ -40,14 +40,15 @@ where sc_code = #{scCode} - /* residentanddisabled-mapper|selectTotByJudgeTeamAndChasu|julim */ SELECT MSV.msu_team - , '결과' as name , NVL(SUM(DECODE(MSS.ms_result, '2', 1, 0)), 0) bu + , 0 as seo , NVL(SUM(DECODE(MSS.ms_result, '1', 1, 0)), 0) mibu , NVL(SUM(DECODE(MSS.ms_result, '1', 1, '2', 1, 0)), 0) tot - FROM min_simsa680_sc MSS, + , '결과' as name + FROM min_simsa680_sc MSS, msu680_sc_view MSV WHERE MSS.ms_maincode = MSV.msu_maincode @@ -60,13 +61,13 @@ GROUP BY MSV.msu_team, MSS.ms_chasu - /* residentanddisabled-mapper|selectTotJudgeUsersByJudgeTeamAndChasu|julim */ - SELECT MSU.msu_userid - , MU.name - , SUM(DECODE(MSU_RESULT, '2', 1, 0)) bu + SELECT SUM(DECODE(MSU_RESULT, '2', 1, 0)) bu + , 0 as seo , SUM(DECODE(MSU_RESULT, '1', 1, 0)) mibu , SUM(DECODE(MSU_RESULT, '1', 1, '2', 1, 0)) tot + , MU.name FROM min_simsa680_sc MSS, min_simsa_user680_sc MSU, min_userinfo MU