|
|
@ -9,14 +9,14 @@
|
|
|
|
,GROUP_NM
|
|
|
|
,GROUP_NM
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
,DSCRP
|
|
|
|
,DSCRP
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notempty(grpId)">AND GRP_ID = #{grpId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notempty(grpId)">AND GRP_ID = #{grpId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">AND GROUP_NM = #{groupNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">AND GROUP_NM = #{groupNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupCreatDe)">AND GROUP_CREAT_DE = #{groupCreatDe}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupCreatDe)">AND GROUP_CREAT_DE = #{groupCreatDe}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">AND DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">AND DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">AND AUTHOR_CODE = #{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">AND AUTHOR_ID = #{authorId}</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="findXitAuthorGroupInfo" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorGroupInfoVO">
|
|
|
|
<select id="findXitAuthorGroupInfo" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorGroupInfoVO">
|
|
|
|
/** findXitAuthorGroupInfo */
|
|
|
|
/** findXitAuthorGroupInfo */
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
,GROUP_NM
|
|
|
|
,GROUP_NM
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
,DSCRP
|
|
|
|
,DSCRP
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND GRP_ID = #{grpId}
|
|
|
|
AND GRP_ID = #{grpId}
|
|
|
@ -38,13 +38,13 @@
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">,GROUP_NM</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">,GROUP_NM</if>
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,DSCRP</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,DSCRP</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">,AUTHOR_CODE</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">,AUTHOR_ID</if>
|
|
|
|
)VALUES(
|
|
|
|
)VALUES(
|
|
|
|
#{grpId}
|
|
|
|
#{grpId}
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">,#{groupNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">,#{groupNm}</if>
|
|
|
|
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,#{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,#{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">,#{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">,#{authorId}</if>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<update id="modifyXitAuthorGroupInfo">
|
|
|
|
<update id="modifyXitAuthorGroupInfo">
|
|
|
@ -55,7 +55,7 @@
|
|
|
|
GROUP_CREAT_DE = GROUP_CREAT_DE
|
|
|
|
GROUP_CREAT_DE = GROUP_CREAT_DE
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(groupNm)">,GROUP_NM = #{groupNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(groupNm)">,GROUP_NM = #{groupNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp)">,DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp)">,DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(authorCode)">,AUTHOR_CODE = #{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(authorId)">,AUTHOR_ID = #{authorId}</if>
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND GRP_ID = #{grpId}
|
|
|
|
AND GRP_ID = #{grpId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
@ -73,13 +73,13 @@
|
|
|
|
<select id="findXitAuthorInfos" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
|
|
|
|
<select id="findXitAuthorInfos" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
|
|
|
|
/** findXitAuthorInfos */
|
|
|
|
/** findXitAuthorInfos */
|
|
|
|
/** 권한정보 다건 조회 */
|
|
|
|
/** 권한정보 다건 조회 */
|
|
|
|
SELECT AUTHOR_CODE
|
|
|
|
SELECT AUTHOR_ID
|
|
|
|
,AUTHOR_NM
|
|
|
|
,AUTHOR_NM
|
|
|
|
,DSCRP
|
|
|
|
,DSCRP
|
|
|
|
,AUTHOR_CREAT_DE
|
|
|
|
,AUTHOR_CREAT_DE
|
|
|
|
FROM XIT_AUTHOR_INFO
|
|
|
|
FROM XIT_AUTHOR_INFO
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">AND AUTHOR_CODE = #{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">AND AUTHOR_ID = #{authorId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">AND AUTHOR_NM = #{authorNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">AND AUTHOR_NM = #{authorNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">AND DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">AND DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCreatDe)">AND AUTHOR_CREAT_DE =
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCreatDe)">AND AUTHOR_CREAT_DE =
|
|
|
@ -89,24 +89,24 @@
|
|
|
|
<select id="findXitAuthorInfo" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
|
|
|
|
<select id="findXitAuthorInfo" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
|
|
|
|
/** findXitAuthorInfo */
|
|
|
|
/** findXitAuthorInfo */
|
|
|
|
/** 권한정보 조회 */
|
|
|
|
/** 권한정보 조회 */
|
|
|
|
SELECT AUTHOR_CODE
|
|
|
|
SELECT AUTHOR_ID
|
|
|
|
,AUTHOR_NM
|
|
|
|
,AUTHOR_NM
|
|
|
|
,DSCRP
|
|
|
|
,DSCRP
|
|
|
|
,AUTHOR_CREAT_DE
|
|
|
|
,AUTHOR_CREAT_DE
|
|
|
|
FROM XIT_AUTHOR_INFO
|
|
|
|
FROM XIT_AUTHOR_INFO
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<insert id="addXitAuthorInfo">
|
|
|
|
<insert id="addXitAuthorInfo">
|
|
|
|
/** addXitAuthorInfo */
|
|
|
|
/** addXitAuthorInfo */
|
|
|
|
/** 권한정보 등록 */
|
|
|
|
/** 권한정보 등록 */
|
|
|
|
INSERT INTO XIT_AUTHOR_INFO(
|
|
|
|
INSERT INTO XIT_AUTHOR_INFO(
|
|
|
|
AUTHOR_CODE
|
|
|
|
AUTHOR_ID
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">,AUTHOR_NM</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">,AUTHOR_NM</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,DSCRP</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,DSCRP</if>
|
|
|
|
,AUTHOR_CREAT_DE
|
|
|
|
,AUTHOR_CREAT_DE
|
|
|
|
)VALUES(
|
|
|
|
)VALUES(
|
|
|
|
#{authorCode}
|
|
|
|
#{authorId}
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">,#{authorNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">,#{authorNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,#{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,#{dscrp}</if>
|
|
|
|
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
@ -121,14 +121,14 @@
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(authorNm)">,AUTHOR_NM = #{authorNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(authorNm)">,AUTHOR_NM = #{authorNm}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp)">,DSCRP = #{dscrp}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp)">,DSCRP = #{dscrp}</if>
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
<delete id="removeXitAuthorInfo">
|
|
|
|
<delete id="removeXitAuthorInfo">
|
|
|
|
/** removeXitAuthorInfo */
|
|
|
|
/** removeXitAuthorInfo */
|
|
|
|
/** 권한정보 삭제 */
|
|
|
|
/** 권한정보 삭제 */
|
|
|
|
DELETE FROM XIT_AUTHOR_INFO
|
|
|
|
DELETE FROM XIT_AUTHOR_INFO
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -137,35 +137,35 @@
|
|
|
|
<select id="findXitAuthorRoleRelates" resultType="cokr.xit.fims.framework.biz.cmm.XitAuthorRoleRelateVO">
|
|
|
|
<select id="findXitAuthorRoleRelates" resultType="cokr.xit.fims.framework.biz.cmm.XitAuthorRoleRelateVO">
|
|
|
|
/** findXitAuthorRoleRelates */
|
|
|
|
/** findXitAuthorRoleRelates */
|
|
|
|
/** 권한역할관계 다건 조회 */
|
|
|
|
/** 권한역할관계 다건 조회 */
|
|
|
|
SELECT AUTHOR_CODE
|
|
|
|
SELECT AUTHOR_ID
|
|
|
|
,ROLE_CODE
|
|
|
|
,ROLE_CODE
|
|
|
|
,CREAT_DT
|
|
|
|
,CREAT_DT
|
|
|
|
FROM XIT_AUTHOR_ROLE_RELATE
|
|
|
|
FROM XIT_AUTHOR_ROLE_RELATE
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">AND AUTHOR_CODE = #{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">AND AUTHOR_ID = #{authorId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(roleCode)">AND ROLE_CODE = #{roleCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(roleCode)">AND ROLE_CODE = #{roleCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(creatDt)">AND CREAT_DT = #{creatDt}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(creatDt)">AND CREAT_DT = #{creatDt}</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="findXitAuthorRoleRelate" resultType="cokr.xit.fims.framework.biz.cmm.XitAuthorRoleRelateVO">
|
|
|
|
<select id="findXitAuthorRoleRelate" resultType="cokr.xit.fims.framework.biz.cmm.XitAuthorRoleRelateVO">
|
|
|
|
/** findXitAuthorRoleRelate */
|
|
|
|
/** findXitAuthorRoleRelate */
|
|
|
|
/** 권한역할관계 조회 */
|
|
|
|
/** 권한역할관계 조회 */
|
|
|
|
SELECT AUTHOR_CODE
|
|
|
|
SELECT AUTHOR_ID
|
|
|
|
,ROLE_CODE
|
|
|
|
,ROLE_CODE
|
|
|
|
,CREAT_DT
|
|
|
|
,CREAT_DT
|
|
|
|
FROM XIT_AUTHOR_ROLE_RELATE
|
|
|
|
FROM XIT_AUTHOR_ROLE_RELATE
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
AND ROLE_CODE = #{roleCode}
|
|
|
|
AND ROLE_CODE = #{roleCode}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<insert id="addXitAuthorRoleRelate">
|
|
|
|
<insert id="addXitAuthorRoleRelate">
|
|
|
|
/** addXitAuthorRoleRelate */
|
|
|
|
/** addXitAuthorRoleRelate */
|
|
|
|
/** 권한역할관계 등록 */
|
|
|
|
/** 권한역할관계 등록 */
|
|
|
|
INSERT INTO XIT_AUTHOR_ROLE_RELATE(
|
|
|
|
INSERT INTO XIT_AUTHOR_ROLE_RELATE(
|
|
|
|
AUTHOR_CODE
|
|
|
|
AUTHOR_ID
|
|
|
|
,ROLE_CODE
|
|
|
|
,ROLE_CODE
|
|
|
|
,CREAT_DT
|
|
|
|
,CREAT_DT
|
|
|
|
)VALUES(
|
|
|
|
)VALUES(
|
|
|
|
#{authorCode}
|
|
|
|
#{authorId}
|
|
|
|
,#{roleCode}
|
|
|
|
,#{roleCode}
|
|
|
|
,NOW()
|
|
|
|
,NOW()
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -176,7 +176,7 @@
|
|
|
|
<!-- UPDATE XIT_AUTHOR_ROLE_RELATE -->
|
|
|
|
<!-- UPDATE XIT_AUTHOR_ROLE_RELATE -->
|
|
|
|
<!-- SET -->
|
|
|
|
<!-- SET -->
|
|
|
|
<!-- WHERE 1=1 -->
|
|
|
|
<!-- WHERE 1=1 -->
|
|
|
|
<!-- AND AUTHOR_CODE = #{authorCode} -->
|
|
|
|
<!-- AND AUTHOR_ID = #{authorId} -->
|
|
|
|
<!-- AND ROLE_CODE = #{roleCode} -->
|
|
|
|
<!-- AND ROLE_CODE = #{roleCode} -->
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
<delete id="removeXitAuthorRoleRelate">
|
|
|
|
<delete id="removeXitAuthorRoleRelate">
|
|
|
@ -184,7 +184,7 @@
|
|
|
|
/** 권한역할관계 삭제 */
|
|
|
|
/** 권한역할관계 삭제 */
|
|
|
|
DELETE FROM XIT_AUTHOR_ROLE_RELATE
|
|
|
|
DELETE FROM XIT_AUTHOR_ROLE_RELATE
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
AND ROLE_CODE = #{roleCode}
|
|
|
|
AND ROLE_CODE = #{roleCode}
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
@ -1317,35 +1317,35 @@
|
|
|
|
/** findXitMenuCreatDtlss */
|
|
|
|
/** findXitMenuCreatDtlss */
|
|
|
|
/** 메뉴생성내역 다건 조회 */
|
|
|
|
/** 메뉴생성내역 다건 조회 */
|
|
|
|
SELECT MENU_NO
|
|
|
|
SELECT MENU_NO
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
,MAPNG_CREAT_ID
|
|
|
|
,MAPNG_CREAT_ID
|
|
|
|
FROM XIT_MENU_CREAT_DTLS
|
|
|
|
FROM XIT_MENU_CREAT_DTLS
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(menuNo)">AND MENU_NO = #{menuNo}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(menuNo)">AND MENU_NO = #{menuNo}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">AND AUTHOR_CODE = #{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">AND AUTHOR_ID = #{authorId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mapngCreatId)">AND MAPNG_CREAT_ID = #{mapngCreatId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mapngCreatId)">AND MAPNG_CREAT_ID = #{mapngCreatId}</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="findXitMenuCreatDtls" resultType="cokr.xit.fims.framework.biz.cmm.XitMenuCreatDtlsVO">
|
|
|
|
<select id="findXitMenuCreatDtls" resultType="cokr.xit.fims.framework.biz.cmm.XitMenuCreatDtlsVO">
|
|
|
|
/** findXitMenuCreatDtls */
|
|
|
|
/** findXitMenuCreatDtls */
|
|
|
|
/** 메뉴생성내역 조회 */
|
|
|
|
/** 메뉴생성내역 조회 */
|
|
|
|
SELECT MENU_NO
|
|
|
|
SELECT MENU_NO
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
,MAPNG_CREAT_ID
|
|
|
|
,MAPNG_CREAT_ID
|
|
|
|
FROM XIT_MENU_CREAT_DTLS
|
|
|
|
FROM XIT_MENU_CREAT_DTLS
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND MENU_NO = #{menuNo}
|
|
|
|
AND MENU_NO = #{menuNo}
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<insert id="addXitMenuCreatDtls">
|
|
|
|
<insert id="addXitMenuCreatDtls">
|
|
|
|
/** addXitMenuCreatDtls */
|
|
|
|
/** addXitMenuCreatDtls */
|
|
|
|
/** 메뉴생성내역 등록 */
|
|
|
|
/** 메뉴생성내역 등록 */
|
|
|
|
INSERT INTO XIT_MENU_CREAT_DTLS(
|
|
|
|
INSERT INTO XIT_MENU_CREAT_DTLS(
|
|
|
|
MENU_NO
|
|
|
|
MENU_NO
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mapngCreatId)">,MAPNG_CREAT_ID</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mapngCreatId)">,MAPNG_CREAT_ID</if>
|
|
|
|
)VALUES(
|
|
|
|
)VALUES(
|
|
|
|
#{menuNo}
|
|
|
|
#{menuNo}
|
|
|
|
,#{authorCode}
|
|
|
|
,#{authorId}
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mapngCreatId)">,#{mapngCreatId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mapngCreatId)">,#{mapngCreatId}</if>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
@ -1357,7 +1357,7 @@
|
|
|
|
MAPNG_CREAT_ID = IFNULL(#{mapngCreatId}, MAPNG_CREAT_ID)
|
|
|
|
MAPNG_CREAT_ID = IFNULL(#{mapngCreatId}, MAPNG_CREAT_ID)
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND MENU_NO = #{menuNo}
|
|
|
|
AND MENU_NO = #{menuNo}
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
<delete id="removeXitMenuCreatDtls">
|
|
|
|
<delete id="removeXitMenuCreatDtls">
|
|
|
|
/** removeXitMenuCreatDtls */
|
|
|
|
/** removeXitMenuCreatDtls */
|
|
|
@ -1365,7 +1365,7 @@
|
|
|
|
DELETE FROM XIT_MENU_CREAT_DTLS
|
|
|
|
DELETE FROM XIT_MENU_CREAT_DTLS
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND MENU_NO = #{menuNo}
|
|
|
|
AND MENU_NO = #{menuNo}
|
|
|
|
AND AUTHOR_CODE = #{authorCode}
|
|
|
|
AND AUTHOR_ID = #{authorId}
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2507,17 +2507,17 @@
|
|
|
|
/** findXitUserScrtySetups */
|
|
|
|
/** findXitUserScrtySetups */
|
|
|
|
/** 사용자보안설정 다건 조회 */
|
|
|
|
/** 사용자보안설정 다건 조회 */
|
|
|
|
SELECT SCRTY_SETUP_TRGET_ID
|
|
|
|
SELECT SCRTY_SETUP_TRGET_ID
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
FROM XIT_USER_SCRTY_SETUP
|
|
|
|
FROM XIT_USER_SCRTY_SETUP
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(scrtySetupTrgetId)">AND SCRTY_SETUP_TRGET_ID = #{scrtySetupTrgetId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(scrtySetupTrgetId)">AND SCRTY_SETUP_TRGET_ID = #{scrtySetupTrgetId}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCode)">AND AUTHOR_CODE = #{authorCode}</if>
|
|
|
|
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorId)">AND AUTHOR_ID = #{authorId}</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="findXitUserScrtySetup" resultType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
<select id="findXitUserScrtySetup" resultType="cokr.xit.fims.framework.biz.mng.user.XitUserScrtySetupVO">
|
|
|
|
/** findXitUserScrtySetup */
|
|
|
|
/** findXitUserScrtySetup */
|
|
|
|
/** 사용자보안설정 조회 */
|
|
|
|
/** 사용자보안설정 조회 */
|
|
|
|
SELECT SCRTY_SETUP_TRGET_ID
|
|
|
|
SELECT SCRTY_SETUP_TRGET_ID
|
|
|
|
,AUTHOR_CODE
|
|
|
|
,AUTHOR_ID
|
|
|
|
FROM XIT_USER_SCRTY_SETUP
|
|
|
|
FROM XIT_USER_SCRTY_SETUP
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND SCRTY_SETUP_TRGET_ID = #{scrtySetupTrgetId}
|
|
|
|
AND SCRTY_SETUP_TRGET_ID = #{scrtySetupTrgetId}
|
|
|
@ -2528,10 +2528,10 @@
|
|
|
|
INSERT
|
|
|
|
INSERT
|
|
|
|
INTO xit_user_scrty_setup (
|
|
|
|
INTO xit_user_scrty_setup (
|
|
|
|
scrty_setup_trget_id
|
|
|
|
scrty_setup_trget_id
|
|
|
|
, authoR_CODE
|
|
|
|
, author_id
|
|
|
|
) VALUES (
|
|
|
|
) VALUES (
|
|
|
|
#{scrtySetupTrgetId}
|
|
|
|
#{scrtySetupTrgetId}
|
|
|
|
, #{authorCode}
|
|
|
|
, #{authorId}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<update id="modifyXitUserScrtySetup">
|
|
|
|
<update id="modifyXitUserScrtySetup">
|
|
|
@ -2539,7 +2539,7 @@
|
|
|
|
/** 사용자보안설정 수정 */
|
|
|
|
/** 사용자보안설정 수정 */
|
|
|
|
UPDATE XIT_USER_SCRTY_SETUP
|
|
|
|
UPDATE XIT_USER_SCRTY_SETUP
|
|
|
|
SET
|
|
|
|
SET
|
|
|
|
AUTHOR_CODE = #{authorCode}
|
|
|
|
AUTHOR_ID = #{authorId}
|
|
|
|
WHERE 1=1
|
|
|
|
WHERE 1=1
|
|
|
|
AND SCRTY_SETUP_TRGET_ID = #{scrtySetupTrgetId}
|
|
|
|
AND SCRTY_SETUP_TRGET_ID = #{scrtySetupTrgetId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|