|
|
|
@ -5,14 +5,14 @@
|
|
|
|
|
<select id="findXitAuthorGroupInfos" resultType="kr.xit.fims.framework.biz.mng.auth.XitAuthorGroupInfoVO">
|
|
|
|
|
/** findXitAuthorGroupInfos */
|
|
|
|
|
/** 권한그룹정보 다건 조회 */
|
|
|
|
|
SELECT GROUP_ID
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,GROUP_NM
|
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
|
,DSCRP
|
|
|
|
|
,AUTHOR_CODE
|
|
|
|
|
FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_id )">AND GROUP_ID = #{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">AND GRP_ID = #{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_nm )">AND GROUP_NM = #{group_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_creat_de)">AND GROUP_CREAT_DE = #{group_creat_de }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">AND DSCRP = #{dscrp }</if>
|
|
|
|
@ -21,26 +21,26 @@
|
|
|
|
|
<select id="findXitAuthorGroupInfo" resultType="kr.xit.fims.framework.biz.mng.auth.XitAuthorGroupInfoVO">
|
|
|
|
|
/** findXitAuthorGroupInfo */
|
|
|
|
|
/** 권한그룹정보 조회 */
|
|
|
|
|
SELECT GROUP_ID
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,GROUP_NM
|
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
|
,DSCRP
|
|
|
|
|
,AUTHOR_CODE
|
|
|
|
|
FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
AND GROUP_ID = #{group_id}
|
|
|
|
|
AND GRP_ID = #{grp_id}
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="addXitAuthorGroupInfo">
|
|
|
|
|
/** addXitAuthorGroupInfo */
|
|
|
|
|
/** 권한그룹정보 등록 */
|
|
|
|
|
INSERT INTO XIT_AUTHOR_GROUP_INFO(
|
|
|
|
|
GROUP_ID
|
|
|
|
|
GRP_ID
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_nm )">,GROUP_NM</if>
|
|
|
|
|
,GROUP_CREAT_DE
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,DSCRP</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(author_code)">,AUTHOR_CODE</if>
|
|
|
|
|
)VALUES(
|
|
|
|
|
#{group_id }
|
|
|
|
|
#{grp_id }
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_nm )">,#{group_nm }</if>
|
|
|
|
|
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,#{dscrp }</if>
|
|
|
|
@ -57,14 +57,14 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp )">,DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(author_code)">,AUTHOR_CODE = #{author_code}</if>
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
AND GROUP_ID = #{group_id}
|
|
|
|
|
AND GRP_ID = #{grp_id}
|
|
|
|
|
</update>
|
|
|
|
|
<delete id="removeXitAuthorGroupInfo">
|
|
|
|
|
/** removeXitAuthorGroupInfo */
|
|
|
|
|
/** 권한그룹정보 삭제 */
|
|
|
|
|
DELETE FROM XIT_AUTHOR_GROUP_INFO
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
AND GROUP_ID = #{group_id}
|
|
|
|
|
AND GRP_ID = #{grp_id}
|
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2068,7 +2068,7 @@
|
|
|
|
|
SELECT USER_ID
|
|
|
|
|
,CHANGE_DE
|
|
|
|
|
,ORG_ID
|
|
|
|
|
,GROUP_ID
|
|
|
|
|
,GRP_ID
|
|
|
|
|
,EMPL_NO
|
|
|
|
|
,SEXDSTN_CODE
|
|
|
|
|
,BRTHDY
|
|
|
|
@ -2088,7 +2088,7 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_id )">AND USER_ID = #{user_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(change_de )">AND CHANGE_DE = #{change_de }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(org_id )">AND ORG_ID = #{org_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_id )">AND GROUP_ID = #{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">AND GRP_ID = #{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">AND EMPL_NO = #{empl_no }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sexdstn_code )">AND SEXDSTN_CODE = #{sexdstn_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">AND BRTHDY = #{brthdy }</if>
|
|
|
|
@ -2110,7 +2110,7 @@
|
|
|
|
|
SELECT USER_ID
|
|
|
|
|
,CHANGE_DE
|
|
|
|
|
,ORG_ID
|
|
|
|
|
,GROUP_ID
|
|
|
|
|
,GRP_ID
|
|
|
|
|
,EMPL_NO
|
|
|
|
|
,SEXDSTN_CODE
|
|
|
|
|
,BRTHDY
|
|
|
|
@ -2137,7 +2137,7 @@
|
|
|
|
|
USER_ID
|
|
|
|
|
,CHANGE_DE
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(org_id )">,ORG_ID </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_id )">,GROUP_ID </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">,GRP_ID </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">,EMPL_NO </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sexdstn_code )">,SEXDSTN_CODE </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">,BRTHDY </if>
|
|
|
|
@ -2156,7 +2156,7 @@
|
|
|
|
|
#{user_id }
|
|
|
|
|
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(org_id )">,#{org_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_id )">,#{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">,#{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">,#{empl_no }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sexdstn_code )">,#{sexdstn_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">,#{brthdy }</if>
|
|
|
|
@ -2180,7 +2180,7 @@
|
|
|
|
|
SET
|
|
|
|
|
CHANGE_DE = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(org_id )">,ORG_ID = #{org_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(group_id )">,GROUP_ID = #{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(grp_id )">,GRP_ID = #{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(empl_no )">,EMPL_NO = #{empl_no }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(sexdstn_code )">,SEXDSTN_CODE = #{sexdstn_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(brthdy )">,BRTHDY = #{brthdy }</if>
|
|
|
|
@ -2239,7 +2239,7 @@
|
|
|
|
|
,MBTLNUM
|
|
|
|
|
,EMAIL_ADRES
|
|
|
|
|
,OFCPS_NM
|
|
|
|
|
,GROUP_ID
|
|
|
|
|
,GRP_ID
|
|
|
|
|
,PSTINST_CODE
|
|
|
|
|
,USER_STTUS_CODE
|
|
|
|
|
,ESNTL_ID
|
|
|
|
@ -2265,7 +2265,7 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mbtlnum )">AND MBTLNUM = #{mbtlnum }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(email_adres )">AND EMAIL_ADRES = #{email_adres }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ofcps_nm )">AND OFCPS_NM = #{ofcps_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_id )">AND GROUP_ID = #{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">AND GRP_ID = #{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(pstinst_code )">AND PSTINST_CODE = #{pstinst_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_sttus_code )">AND USER_STTUS_CODE = #{user_sttus_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(esntl_id )">AND ESNTL_ID = #{esntl_id }</if>
|
|
|
|
@ -2292,7 +2292,7 @@
|
|
|
|
|
,MBTLNUM
|
|
|
|
|
,EMAIL_ADRES
|
|
|
|
|
,OFCPS_NM
|
|
|
|
|
,GROUP_ID
|
|
|
|
|
,GRP_ID
|
|
|
|
|
,PSTINST_CODE
|
|
|
|
|
,USER_STTUS_CODE
|
|
|
|
|
,ESNTL_ID
|
|
|
|
@ -2325,7 +2325,7 @@
|
|
|
|
|
, mbtlnum
|
|
|
|
|
, email_adres
|
|
|
|
|
, ofcps_nm
|
|
|
|
|
, group_id
|
|
|
|
|
, grp_id
|
|
|
|
|
, pstinst_code
|
|
|
|
|
, user_sttus_code
|
|
|
|
|
, esntl_id
|
|
|
|
@ -2350,7 +2350,7 @@
|
|
|
|
|
, #{mbtlnum}
|
|
|
|
|
, #{emailAdres}
|
|
|
|
|
, #{ofcpsNm}
|
|
|
|
|
, #{groupId}
|
|
|
|
|
, #{grpId}
|
|
|
|
|
, #{pstinstCode}
|
|
|
|
|
, #{userSttusCode}
|
|
|
|
|
, #{esntlId}
|
|
|
|
@ -2381,7 +2381,7 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(mbtlnum )">,MBTLNUM = #{mbtlnum }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(email_adres )">,EMAIL_ADRES = #{email_adres }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(ofcps_nm )">,OFCPS_NM = #{ofcps_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(group_id )">,GROUP_ID = #{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(grp_id )">,GRP_ID = #{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(pstinst_code )">,PSTINST_CODE = #{pstinst_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(user_sttus_code )">,USER_STTUS_CODE = #{user_sttus_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(esntl_id )">,ESNTL_ID = #{esntl_id }</if>
|
|
|
|
@ -2417,7 +2417,7 @@
|
|
|
|
|
,A.MBTLNUM
|
|
|
|
|
,A.EMAIL_ADRES
|
|
|
|
|
,A.OFCPS_NM
|
|
|
|
|
,A.GROUP_ID
|
|
|
|
|
,A.GRP_ID
|
|
|
|
|
,A.PSTINST_CODE
|
|
|
|
|
,A.USER_STTUS_CODE
|
|
|
|
|
,A.ESNTL_ID
|
|
|
|
@ -2448,7 +2448,7 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mbtlnum )">AND A.MBTLNUM = #{mbtlnum }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(email_adres )">AND A.EMAIL_ADRES = #{email_adres }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ofcps_nm )">AND A.OFCPS_NM = #{ofcps_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(group_id )">AND A.GROUP_ID = #{group_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">AND A.GRP_ID = #{grp_id }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(pstinst_code )">AND A.PSTINST_CODE = #{pstinst_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_sttus_code )">AND A.USER_STTUS_CODE = #{user_sttus_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(esntl_id )">AND A.ESNTL_ID = #{esntl_id }</if>
|
|
|
|
@ -2479,7 +2479,7 @@
|
|
|
|
|
,A.MBTLNUM
|
|
|
|
|
,A.EMAIL_ADRES
|
|
|
|
|
,A.OFCPS_NM
|
|
|
|
|
,A.GROUP_ID
|
|
|
|
|
,A.GRP_ID
|
|
|
|
|
,A.PSTINST_CODE
|
|
|
|
|
,A.USER_STTUS_CODE
|
|
|
|
|
,A.ESNTL_ID
|
|
|
|
|