|
|
|
@ -741,7 +741,7 @@
|
|
|
|
|
/** findXitCmmnCodes */
|
|
|
|
|
/** 공통코드 다건 조회 */
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,CODE_ID_NM
|
|
|
|
|
,GRP_NM
|
|
|
|
|
,CODE_ID_DC
|
|
|
|
|
,USE_AT
|
|
|
|
|
,CL_CODE
|
|
|
|
@ -752,7 +752,7 @@
|
|
|
|
|
FROM XIT_CMMN_CODE
|
|
|
|
|
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(code_id_nm )">AND CODE_ID_NM = #{code_id_nm }</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(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>
|
|
|
|
@ -765,7 +765,7 @@
|
|
|
|
|
/** findXitCmmnCode */
|
|
|
|
|
/** 공통코드 조회 */
|
|
|
|
|
SELECT GRP_ID
|
|
|
|
|
,CODE_ID_NM
|
|
|
|
|
,GRP_NM
|
|
|
|
|
,CODE_ID_DC
|
|
|
|
|
,USE_AT
|
|
|
|
|
,CL_CODE
|
|
|
|
@ -782,7 +782,7 @@
|
|
|
|
|
/** 공통코드 등록 */
|
|
|
|
|
INSERT INTO XIT_CMMN_CODE(
|
|
|
|
|
GRP_ID
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_id_nm )">,CODE_ID_NM </if>
|
|
|
|
|
<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(use_at )">,USE_AT </if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code )">,CL_CODE </if>
|
|
|
|
@ -792,7 +792,7 @@
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(last_updusr_id )">,LAST_UPDUSR_ID </if>
|
|
|
|
|
)VALUES(
|
|
|
|
|
#{grp_id }
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(code_id_nm )">,#{code_id_nm }</if>
|
|
|
|
|
<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(use_at )">,#{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(cl_code )">,#{cl_code }</if>
|
|
|
|
@ -808,7 +808,7 @@
|
|
|
|
|
UPDATE XIT_CMMN_CODE
|
|
|
|
|
SET
|
|
|
|
|
LAST_UPDT_PNTTM = NOW()
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(code_id_nm )">,CODE_ID_NM = #{code_id_nm }</if>
|
|
|
|
|
<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(use_at )">,USE_AT = #{use_at }</if>
|
|
|
|
|
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(cl_code )">,CL_CODE = #{cl_code }</if>
|
|
|
|
|