From c8c8c65e7c3afe194fcf36b3ad10bcaa3de1a622 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 7 Jun 2023 16:08:08 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=9C=A0=EC=A0=80=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml | 2 +- .../mng/admin/XitConectionLogMng-mysql-mapper.xml | 2 +- .../framework/mng/auth/auth-by-user-mysql-mapper.xml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml index 3c2cc3cf..8f46c92f 100644 --- a/src/main/resources/sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml @@ -15,7 +15,7 @@ , tcat.tlface , tcat.reg_dt , tcat.rgtr - , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.user_key = tcat.rgtr) AS rgtrNm + , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.USER_ID = tcat.rgtr) AS rgtrNm , tcat.mdfcn_dt , tcat.mdfr , tcatd.answer_se_code diff --git a/src/main/resources/sql/mapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml index 4aab8d71..4e1e4b86 100644 --- a/src/main/resources/sql/mapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml @@ -22,7 +22,7 @@ FROM XIT_CONECT_LOG A - LEFT OUTER JOIN XIT_VW_USER_MASTR B ON A.CONECT_ID = B.USER_KEY + LEFT OUTER JOIN XIT_VW_USER_MASTR B ON A.CONECT_ID = B.USER_ID diff --git a/src/main/resources/sql/mapper/framework/mng/auth/auth-by-user-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/auth-by-user-mysql-mapper.xml index 2dc27438..bb45c15f 100644 --- a/src/main/resources/sql/mapper/framework/mng/auth/auth-by-user-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/auth/auth-by-user-mysql-mapper.xml @@ -13,7 +13,7 @@ , cdc.code_val AS mberTyNm , uss.author_code , IF(uss.scrty_setup_trget_id IS NULL, 'N', 'Y') AS regYn - , user_key AS uniqId + , USER_ID AS uniqId FROM ( SELECT user_id , user_nm user_nm @@ -21,13 +21,13 @@ , user_key FROM tb_user ) xui LEFT OUTER JOIN xit_user_scrty_setup uss - ON xui.user_key = uss.scrty_setup_trget_id + ON xui.USER_ID = uss.scrty_setup_trget_id LEFT OUTER JOIN tb_cmn_code cdc ON cdc.grp_id = 'XIT012' AND uss.mber_ty_code = cdc.code - - AND INSTR(xui.user_id, #{userId}) > 0 + + AND INSTR(xui.USER_ACNT, #{userAcnt}) > 0 AND INSTR(xui.user_nm, #{userNm}) > 0