|
|
@ -216,12 +216,12 @@
|
|
|
|
************************************************************************************************************** -->
|
|
|
|
************************************************************************************************************** -->
|
|
|
|
<select id="selectUserScrtySetups" parameterType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO" resultType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
<select id="selectUserScrtySetups" parameterType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO" resultType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
/* user-mysql-mapper|selectUserScrtySetups-사용자보안설정 목록 조회|julim */
|
|
|
|
/* user-mysql-mapper|selectUserScrtySetups-사용자보안설정 목록 조회|julim */
|
|
|
|
SELECT scrty_setup_trget_id
|
|
|
|
SELECT USER_ID
|
|
|
|
, auth_Id
|
|
|
|
, auth_Id
|
|
|
|
FROM xit_user_scrty_setup
|
|
|
|
FROM xit_user_scrty_setup
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(scrtySetupTrgetId)">
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(userId)">
|
|
|
|
AND scrty_setup_trget_id = #{scrtySetupTrgetId}
|
|
|
|
AND USER_ID = #{userId}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authId)">
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authId)">
|
|
|
|
AND auth_Id = #{authId}
|
|
|
|
AND auth_Id = #{authId}
|
|
|
@ -231,20 +231,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectUserScrtySetup" parameterType="string" resultType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
<select id="selectUserScrtySetup" parameterType="string" resultType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
/* user-mysql-mapper|selectUserScrtySetup-사용자보안설정 조회|julim */
|
|
|
|
/* user-mysql-mapper|selectUserScrtySetup-사용자보안설정 조회|julim */
|
|
|
|
SELECT scrty_setup_trget_id
|
|
|
|
SELECT USER_ID
|
|
|
|
, auth_Id
|
|
|
|
, auth_Id
|
|
|
|
FROM xit_user_scrty_setup
|
|
|
|
FROM xit_user_scrty_setup
|
|
|
|
WHERE scrty_setup_trget_id = #{scrtySetupTrgetId}
|
|
|
|
WHERE USER_ID = #{userId}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertUserScrtySetup" parameterType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
<insert id="insertUserScrtySetup" parameterType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
/* user-mysql-mapper|insertUserScrtySetup-사용자보안설정 등록|julim */
|
|
|
|
/* user-mysql-mapper|insertUserScrtySetup-사용자보안설정 등록|julim */
|
|
|
|
INSERT
|
|
|
|
INSERT
|
|
|
|
INTO xit_user_scrty_setup (
|
|
|
|
INTO xit_user_scrty_setup (
|
|
|
|
scrty_setup_trget_id
|
|
|
|
USER_ID
|
|
|
|
, auth_Id
|
|
|
|
, auth_Id
|
|
|
|
) VALUES (
|
|
|
|
) VALUES (
|
|
|
|
#{scrtySetupTrgetId}
|
|
|
|
#{userId}
|
|
|
|
, #{authId}
|
|
|
|
, #{authId}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
@ -253,14 +253,14 @@
|
|
|
|
/* user-mysql-mapper|updateUserScrtySetup-사용자보안설정 변경|julim */
|
|
|
|
/* user-mysql-mapper|updateUserScrtySetup-사용자보안설정 변경|julim */
|
|
|
|
UPDATE xit_user_scrty_setup
|
|
|
|
UPDATE xit_user_scrty_setup
|
|
|
|
SET auth_Id = IF(auth_Id = #{authId}, auth_Id, #{authId})
|
|
|
|
SET auth_Id = IF(auth_Id = #{authId}, auth_Id, #{authId})
|
|
|
|
WHERE scrty_setup_trget_id = #{scrtySetupTrgetId}
|
|
|
|
WHERE USER_ID = #{userId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
<delete id="deleteUserScrtySetup" parameterType="string">
|
|
|
|
<delete id="deleteUserScrtySetup" parameterType="string">
|
|
|
|
/* user-mysql-mapper|deleteUserScrtySetup-사용자보안설정 삭제|julim */
|
|
|
|
/* user-mysql-mapper|deleteUserScrtySetup-사용자보안설정 삭제|julim */
|
|
|
|
DELETE
|
|
|
|
DELETE
|
|
|
|
FROM xit_user_scrty_setup
|
|
|
|
FROM xit_user_scrty_setup
|
|
|
|
WHERE scrty_setup_trget_id = #{scrtySetupTrgetId}
|
|
|
|
WHERE USER_ID = #{userId}
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|