fix : 유저 관련 수정

main
이범준 1 year ago
parent 1a6edff6a1
commit c8c8c65e7c

@ -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

@ -22,7 +22,7 @@
</sql>
<sql id="findList_FROM">
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
</sql>
<sql id="findList_WHERE">
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(searchWrd)">

@ -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
<where>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(userId)">
AND INSTR(xui.user_id, #{userId}) > 0
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(userAcnt)">
AND INSTR(xui.USER_ACNT, #{userAcnt}) > 0
</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(userNm)">
AND INSTR(xui.user_nm, #{userNm}) > 0

Loading…
Cancel
Save