|
|
|
@ -656,7 +656,7 @@
|
|
|
|
|
/** 공통분류코드 다건 조회 */
|
|
|
|
|
SELECT CL_CODE
|
|
|
|
|
,CL_CODE_NM
|
|
|
|
|
,CL_CODE_DC
|
|
|
|
|
,DSCRP
|
|
|
|
|
,USE_AT
|
|
|
|
|
,FRST_REGIST_PNTTM
|
|
|
|
|
,FRST_REGISTER_ID
|
|
|
|
@ -666,7 +666,7 @@
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code )">AND CL_CODE = #{cl_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code_nm )">AND CL_CODE_NM = #{cl_code_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code_dc )">AND CL_CODE_DC = #{cl_code_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">AND DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">AND USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_regist_pnttm)">AND FRST_REGIST_PNTTM = #{frst_regist_pnttm}</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_register_id )">AND FRST_REGISTER_ID = #{frst_register_id }</if>
|
|
|
|
@ -678,7 +678,7 @@
|
|
|
|
|
/** 공통분류코드 조회 */
|
|
|
|
|
SELECT CL_CODE
|
|
|
|
|
,CL_CODE_NM
|
|
|
|
|
,CL_CODE_DC
|
|
|
|
|
,DSCRP
|
|
|
|
|
,USE_AT
|
|
|
|
|
,FRST_REGIST_PNTTM
|
|
|
|
|
,FRST_REGISTER_ID
|
|
|
|
@ -694,7 +694,7 @@
|
|
|
|
|
INSERT INTO XIT_CMMN_CL_CODE(
|
|
|
|
|
CL_CODE
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code_nm )">,CL_CODE_NM </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code_dc )">,CL_CODE_DC </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,DSCRP </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">,USE_AT </if>
|
|
|
|
|
,FRST_REGIST_PNTTM
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_register_id )">,FRST_REGISTER_ID </if>
|
|
|
|
@ -703,7 +703,7 @@
|
|
|
|
|
)VALUES(
|
|
|
|
|
#{cl_code }
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code_nm )">,#{cl_code_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code_dc )">,#{cl_code_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,#{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">,#{use_at }</if>
|
|
|
|
|
,NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_register_id )">,#{frst_register_id }</if>
|
|
|
|
@ -718,7 +718,7 @@
|
|
|
|
|
SET
|
|
|
|
|
LAST_UPDT_PNTTM = NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(cl_code_nm )">,CL_CODE_NM = #{cl_code_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(cl_code_dc )">,CL_CODE_DC = #{cl_code_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp )">,DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(use_at )">,USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(frst_regist_pnttm)">,FRST_REGIST_PNTTM = #{frst_regist_pnttm}</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(frst_register_id )">,FRST_REGISTER_ID = #{frst_register_id }</if>
|
|
|
|
@ -742,7 +742,7 @@
|
|
|
|
|
/** 공통코드 다건 조회 */
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,GRP_NM
|
|
|
|
|
,CODE_ID_DC
|
|
|
|
|
,DSCRP
|
|
|
|
|
,USE_AT
|
|
|
|
|
,CL_CODE
|
|
|
|
|
,FRST_REGIST_PNTTM
|
|
|
|
@ -753,7 +753,7 @@
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
<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(grp_nm )">AND GRP_NM = #{grp_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_id_dc )">AND CODE_ID_DC = #{code_id_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">AND DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">AND USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code )">AND CL_CODE = #{cl_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_regist_pnttm)">AND FRST_REGIST_PNTTM = #{frst_regist_pnttm}</if>
|
|
|
|
@ -766,7 +766,7 @@
|
|
|
|
|
/** 공통코드 조회 */
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,GRP_NM
|
|
|
|
|
,CODE_ID_DC
|
|
|
|
|
,DSCRP
|
|
|
|
|
,USE_AT
|
|
|
|
|
,CL_CODE
|
|
|
|
|
,FRST_REGIST_PNTTM
|
|
|
|
@ -783,7 +783,7 @@
|
|
|
|
|
INSERT INTO XIT_CMMN_CODE(
|
|
|
|
|
GRP_ID
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_nm )">,GRP_NM </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_id_dc )">,CODE_ID_DC </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,DSCRP </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">,USE_AT </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code )">,CL_CODE </if>
|
|
|
|
|
,FRST_REGIST_PNTTM
|
|
|
|
@ -793,7 +793,7 @@
|
|
|
|
|
)VALUES(
|
|
|
|
|
#{grp_id }
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_nm )">,#{grp_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_id_dc )">,#{code_id_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,#{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">,#{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code )">,#{cl_code }</if>
|
|
|
|
|
,NOW()
|
|
|
|
@ -809,7 +809,7 @@
|
|
|
|
|
SET
|
|
|
|
|
LAST_UPDT_PNTTM = NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(grp_nm )">,GRP_NM = #{grp_nm }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(code_id_dc )">,CODE_ID_DC = #{code_id_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dsprp )">,DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(use_at )">,USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(cl_code )">,CL_CODE = #{cl_code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(frst_regist_pnttm)">,FRST_REGIST_PNTTM = #{frst_regist_pnttm}</if>
|
|
|
|
@ -836,7 +836,7 @@
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,CODE
|
|
|
|
|
,CODE_VAL
|
|
|
|
|
,CODE_DC
|
|
|
|
|
,DSCRP
|
|
|
|
|
,USE_AT
|
|
|
|
|
,ETC_1
|
|
|
|
|
,ETC_2
|
|
|
|
@ -851,7 +851,7 @@
|
|
|
|
|
<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(code )">AND CODE = #{code }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_val )">AND CODE_VAL = #{code_val }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_dc )">AND CODE_DC = #{code_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">AND DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">AND USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_regist_pnttm)">AND FRST_REGIST_PNTTM = #{frst_regist_pnttm}</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(frst_register_id )">AND FRST_REGISTER_ID = #{frst_register_id }</if>
|
|
|
|
@ -868,7 +868,7 @@
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,CODE
|
|
|
|
|
,CODE_VAL
|
|
|
|
|
,CODE_DC
|
|
|
|
|
,DSCRP
|
|
|
|
|
,USE_AT
|
|
|
|
|
,ETC_1
|
|
|
|
|
,ETC_2
|
|
|
|
@ -890,7 +890,7 @@
|
|
|
|
|
GRP_ID
|
|
|
|
|
,CODE
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_val )">,CODE_VAL </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_dc )">,CODE_DC </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,DSCRP </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">,USE_AT </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(etc_1 )">,ETC_1 </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(etc_2 )">,ETC_2 </if>
|
|
|
|
@ -904,7 +904,7 @@
|
|
|
|
|
#{grp_id }
|
|
|
|
|
,#{code }
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_val )">,#{code_val }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_dc )">,#{code_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp )">,#{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(use_at )">,#{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(etc_1 )">,#{etc_1 }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(etc_2 )">,#{etc_2 }</if>
|
|
|
|
@ -923,7 +923,7 @@
|
|
|
|
|
SET
|
|
|
|
|
LAST_UPDT_PNTTM = NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(code_val )">,CODE_VAL = #{code_val }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(code_dc )">,CODE_DC = #{code_dc }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp )">,DSCRP = #{dscrp }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(use_at )">,USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(etc_1 )">,ETC_1 = #{etc_1 }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(etc_2 )">,ETC_2 = #{etc_2 }</if>
|
|
|
|
|