diff --git a/src/main/resources/sql/mapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml index b2a561c3..10e8dfc9 100644 --- a/src/main/resources/sql/mapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml @@ -41,7 +41,7 @@ FROM XIT_BBS A - LEFT OUTER JOIN XIT_VW_USER_MASTR B ON A.RGTR = B.USER_KEY + LEFT OUTER JOIN XIT_VW_USER_MASTR B ON A.RGTR = B.USER_ID LEFT OUTER JOIN XIT_BBS_MASTR C ON A.BBS_ID = C.BBS_ID diff --git a/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml index 3a86be11..955e535b 100644 --- a/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml @@ -27,7 +27,7 @@ ,A.ATCH_POSBL_FILE_SIZE AS "posblAtchFileSize" ,A.REPLY_POSBL_YN AS "replyPosblYn" ,A.RGTR AS "rgtr" - ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.USER_KEY = A.RGTR) AS "frstRgtrNm" + ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.USER_ID = A.RGTR) AS "frstRgtrNm" ,A.USE_YN AS "useYn" ,DATE_FORMAT(A.REG_DT, '%Y-%m-%d') AS "regDt" ,(SELECT IFNULL (SA.USE_YN, 'N') diff --git a/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml index 96fc668e..04a2ca3a 100644 --- a/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml @@ -23,8 +23,8 @@ ,A.MDFR AS "mdfr" ,A.MDFCN_DT AS "mdfcnDt" ,B.CODE_VAL AS "tmplatSeCodeNm" - ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.USER_KEY=A.RGTR) AS "frstRgtrNm" - ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.USER_KEY=A.MDFR) AS "lastMdfrNm" + ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.USER_ID=A.RGTR) AS "frstRgtrNm" + ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.USER_ID=A.MDFR) AS "lastMdfrNm" FROM XIT_TMPLAT_INFO A diff --git a/src/main/resources/sql/mapper/framework/mng/bbs/board-basic-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-basic-mysql-mapper.xml index a679d291..047978f5 100644 --- a/src/main/resources/sql/mapper/framework/mng/bbs/board-basic-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/bbs/board-basic-mysql-mapper.xml @@ -40,7 +40,7 @@ FROM xit_bbs xb LEFT OUTER JOIN xit_vw_user_mastr xvum - ON xb.rgtr = xvum.user_key + ON xb.rgtr = xvum.USER_ID LEFT OUTER JOIN xit_bbs_mastr xbm ON xb.bbs_id = xbm.bbs_id diff --git a/src/main/resources/sql/mapper/framework/mng/bbs/board-mastr-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-mastr-mysql-mapper.xml index 6307cafe..2ec339ee 100644 --- a/src/main/resources/sql/mapper/framework/mng/bbs/board-mastr-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/bbs/board-mastr-mysql-mapper.xml @@ -24,7 +24,7 @@ , xbm.rgtr , (SELECT sa.user_nm FROM XIT_VW_USER_MASTR SA - WHERE sa.user_key = xbm.rgtr) AS frstRgtrNm + WHERE sa.USER_ID = xbm.rgtr) AS frstRgtrNm , xbm.use_yn AS useYn , DATE_FORMAT(xbm.reg_dt, '%Y-%m-%d') AS regDt , (SELECT IFNULL(sa.use_yn, 'N') diff --git a/src/main/resources/sql/mapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml index 3b09fc49..2b2863b3 100644 --- a/src/main/resources/sql/mapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml @@ -17,8 +17,8 @@ , xti.mdfr , xti.mdfcn_dt , cdc.code_val AS tmplatSeCodeNm - , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.user_key = xti.rgtr) AS frstRgtrNm - , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.user_key = xti.mdfr) AS lastMdfrNm + , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.USER_ID = xti.rgtr) AS frstRgtrNm + , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.USER_ID = xti.mdfr) AS lastMdfrNm FROM xit_tmplat_info xti LEFT OUTER JOIN tb_cmn_code cdc ON xti.tmplat_se_code = cdc.code