refactor : 코드 테이블 컬럼명 변경(CODE_DC, CODE_ID_DC, CL_CODE_DC -> DSCRP)

main
이범준 2 years ago
parent 604959f8c5
commit 1426047859

@ -21,7 +21,7 @@ public class XitCmmnClCodeVO extends BaseVO {
protected String cl_code; //분류 코드 protected String cl_code; //분류 코드
protected String cl_code_nm; //분류 코드 명 protected String cl_code_nm; //분류 코드 명
protected String cl_code_dc; //분류 코드 설명 protected String dscrp; //분류 코드 설명
protected String use_at; //사용 여부 protected String use_at; //사용 여부
protected String frst_regist_pnttm; //최초 등록 시점 protected String frst_regist_pnttm; //최초 등록 시점
protected String frst_register_id; //최초 등록자 id protected String frst_register_id; //최초 등록자 id
@ -41,11 +41,11 @@ public class XitCmmnClCodeVO extends BaseVO {
public void setCl_code_nm(String cl_code_nm) { public void setCl_code_nm(String cl_code_nm) {
this.cl_code_nm = cl_code_nm; this.cl_code_nm = cl_code_nm;
} }
public String getCl_code_dc() { public String getDscrp() {
return cl_code_dc; return dscrp;
} }
public void setCl_code_dc(String cl_code_dc) { public void setDscrp(String dscrp) {
this.cl_code_dc = cl_code_dc; this.dscrp = dscrp;
} }
public String getUse_at() { public String getUse_at() {
return use_at; return use_at;

@ -21,7 +21,7 @@ public class XitCmmnCodeVO extends BaseVO {
protected String grp_id; //코드 id protected String grp_id; //코드 id
protected String grp_nm; //코드 id 명 protected String grp_nm; //코드 id 명
protected String code_id_dc; //코드 id 설명 protected String dscrp; //코드 id 설명
protected String use_at; //사용 여부 protected String use_at; //사용 여부
protected String cl_code; //분류 코드 protected String cl_code; //분류 코드
protected String frst_regist_pnttm; //최초 등록 시점 protected String frst_regist_pnttm; //최초 등록 시점
@ -42,11 +42,11 @@ public class XitCmmnCodeVO extends BaseVO {
public void setGrp_nm(String grp_nm) { public void setGrp_nm(String grp_nm) {
this.grp_nm = grp_nm; this.grp_nm = grp_nm;
} }
public String getCode_id_dc() { public String getDscrp() {
return code_id_dc; return dscrp;
} }
public void setCode_id_dc(String code_id_dc) { public void setDscrp(String dscrp) {
this.code_id_dc = code_id_dc; this.dscrp = dscrp;
} }
public String getUse_at() { public String getUse_at() {
return use_at; return use_at;

@ -22,7 +22,7 @@ public class XitCmmnDetailCodeVO extends BaseVO {
protected String grp_id; //코드 id protected String grp_id; //코드 id
protected String code; //코드 protected String code; //코드
protected String code_val; //코드 명 protected String code_val; //코드 명
protected String code_dc; //코드 설명 protected String dscrp; //코드 설명
protected String use_at; //사용 여부 protected String use_at; //사용 여부
protected String etc_1; //기타1 protected String etc_1; //기타1
protected String etc_2; //기타2 protected String etc_2; //기타2
@ -50,11 +50,11 @@ public class XitCmmnDetailCodeVO extends BaseVO {
public void setCode_val(String code_val) { public void setCode_val(String code_val) {
this.code_val = code_val; this.code_val = code_val;
} }
public String getCode_dc() { public String getDscrp() {
return code_dc; return dscrp;
} }
public void setCode_dc(String code_dc) { public void setDscrp(String dscrp) {
this.code_dc = code_dc; this.dscrp = dscrp;
} }
public String getUse_at() { public String getUse_at() {
return use_at; return use_at;

@ -37,9 +37,9 @@ public class XitClCodeMngVO {
private String clCodeNm; private String clCodeNm;
/* /*
* *
*/ */
private String clCodeDc; private String dscrp;
/* /*
* *

@ -39,7 +39,7 @@ public class XitCmmnCodeMngVO {
/* /*
* ID * ID
*/ */
private String codeIdDc; private String dscrp;
/* /*
* *

@ -55,7 +55,7 @@ public class XitDetailCodeMngVO {
* *
*/ */
@ApiParam(value = "코드 설명") @ApiParam(value = "코드 설명")
private String codeDc; private String dscrp;
private String etc1; private String etc1;
private String etc2; private String etc2;

@ -11,8 +11,8 @@ public class XitCodeVO extends BaseVO {
private String clCode; private String clCode;
/** 분류코드명 */ /** 분류코드명 */
private String clCodeNm; private String clCodeNm;
/** 분류코드 설명 */ /** 코드 설명 */
private String clCodeDc; private String dscrp;
/** 코드ID */ /** 코드ID */
private String grpId; private String grpId;
/** 코드ID명 */ /** 코드ID명 */
@ -21,8 +21,7 @@ public class XitCodeVO extends BaseVO {
private String code; private String code;
/** 코드명 */ /** 코드명 */
private String codeVal; private String codeVal;
/** 코드 설명 */
private String codeDc;
public String getClCode() { public String getClCode() {
return clCode; return clCode;
} }
@ -35,11 +34,11 @@ public class XitCodeVO extends BaseVO {
public void setClCodeNm(String clCodeNm) { public void setClCodeNm(String clCodeNm) {
this.clCodeNm = clCodeNm; this.clCodeNm = clCodeNm;
} }
public String getClCodeDc() { public String getDscrp() {
return clCodeDc; return dscrp;
} }
public void setClCodeDc(String clCodeDc) { public void setDscrp(String dscrp) {
this.clCodeDc = clCodeDc; this.dscrp = dscrp;
} }
public String getGrpId() { public String getGrpId() {
return grpId; return grpId;
@ -65,11 +64,6 @@ public class XitCodeVO extends BaseVO {
public void setCodeVal(String codeVal) { public void setCodeVal(String codeVal) {
this.codeVal = codeVal; this.codeVal = codeVal;
} }
public String getCodeDc() {
return codeDc;
}
public void setCodeDc(String codeDc) {
this.codeDc = codeDc;
}
} }

@ -7,7 +7,7 @@
/* cachecode-mysql-mapper|selectCodes-공통코드 코드그룹 조회|julim */ /* cachecode-mysql-mapper|selectCodes-공통코드 코드그룹 조회|julim */
SELECT code SELECT code
, code_val , code_val
, code_dc , dscrp
, etc_1 , etc_1
, etc_2 , etc_2
, etc_3 , etc_3

@ -8,7 +8,7 @@
/** 분류코드 목록 조회 */ /** 분류코드 목록 조회 */
SELECT CL_CODE AS "clCode" SELECT CL_CODE AS "clCode"
,CL_CODE_NM AS "clCodeNm" ,CL_CODE_NM AS "clCodeNm"
,CL_CODE_DC AS "clCodeDc" ,DSCRP AS "dscrp"
FROM XIT_CMMN_CL_CODE FROM XIT_CMMN_CL_CODE
WHERE USE_AT = 'Y' WHERE USE_AT = 'Y'
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(clCode)"> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
@ -23,7 +23,7 @@
/** 공통코드 목록 조회 */ /** 공통코드 목록 조회 */
SELECT GRP_ID AS "grpId" SELECT GRP_ID AS "grpId"
, GRP_NM AS "grpNm" , GRP_NM AS "grpNm"
, CODE_ID_DC AS "codeIdDc" , DSCRP AS "dscrp"
, CL_CODE AS "clCode" , CL_CODE AS "clCode"
FROM XIT_CMMN_CODE FROM XIT_CMMN_CODE
WHERE USE_AT = 'Y' WHERE USE_AT = 'Y'
@ -43,7 +43,7 @@
SELECT GRP_ID AS "grpId" SELECT GRP_ID AS "grpId"
,CODE AS "code" ,CODE AS "code"
,CODE_VAL AS "codeVal" ,CODE_VAL AS "codeVal"
,CODE_DC AS "codeDc" ,DSCRP AS "dscrp"
FROM XIT_CMMN_DETAIL_CODE FROM XIT_CMMN_DETAIL_CODE
WHERE USE_AT = 'Y' WHERE USE_AT = 'Y'
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grpId)"> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grpId)">
@ -60,7 +60,7 @@
#{tableNm} AS "grpId" #{tableNm} AS "grpId"
,ORGNZT_ID AS "code" ,ORGNZT_ID AS "code"
,ORGNZT_NM AS "codeVal" ,ORGNZT_NM AS "codeVal"
,ORGNZT_DC AS "codeDc" ,ORGNZT_DC AS "dscrp"
FROM XIT_ORGNZT_INFO FROM XIT_ORGNZT_INFO
WHERE 1=1 WHERE 1=1
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(orgnztId)"> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(orgnztId)">
@ -77,7 +77,7 @@
#{tableNm} AS "grpId" #{tableNm} AS "grpId"
,GROUP_ID AS "code" ,GROUP_ID AS "code"
,GROUP_NM AS "codeVal" ,GROUP_NM AS "codeVal"
,GROUP_DC AS "codeDc" ,GROUP_DC AS "dscrp"
FROM XIT_AUTHOR_GROUP_INFO FROM XIT_AUTHOR_GROUP_INFO
WHERE 1=1 WHERE 1=1
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupId)"> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupId)">

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

@ -9,7 +9,7 @@
<sql id="sqlCmmnClCode"> <sql id="sqlCmmnClCode">
SELECT cl_code SELECT cl_code
, cl_code_nm , cl_code_nm
, cl_code_dc , dscrp
, use_at , use_at
, frst_regist_pnttm , frst_regist_pnttm
, frst_register_id , frst_register_id
@ -42,14 +42,14 @@
INTO xit_cmmn_cl_code ( INTO xit_cmmn_cl_code (
cl_code cl_code
, cl_code_nm , cl_code_nm
, cl_code_dc , dscrp
, use_at , use_at
, frst_regist_pnttm , frst_regist_pnttm
, frst_register_id , frst_register_id
) VALUE ( ) VALUE (
#{clCode} #{clCode}
, #{clCodeNm} , #{clCodeNm}
, #{clCodeDc} , #{dscrp}
, #{useAt} , #{useAt}
, NOW() , NOW()
, #{frstRegisterId} , #{frstRegisterId}
@ -60,7 +60,7 @@
/* code-cfn-mysql-mapper|updateCmmnClCode-분류코드 정보 변경|julim */ /* code-cfn-mysql-mapper|updateCmmnClCode-분류코드 정보 변경|julim */
UPDATE xit_cmmn_cl_code UPDATE xit_cmmn_cl_code
SET cl_code_nm = IF(cl_code_nm = #{clCodeNm}, cl_code_nm, #{clCodeNm}) SET cl_code_nm = IF(cl_code_nm = #{clCodeNm}, cl_code_nm, #{clCodeNm})
, cl_code_dc = IF(cl_code_dc = #{clCodeDc}, cl_code_dc, #{clCodeDc}) , dscrp = IF(dscrp = #{dscrp}, dscrp, #{dscrp})
, use_at = IF(use_at = #{useAt}, use_at, #{useAt}) , use_at = IF(use_at = #{useAt}, use_at, #{useAt})
, last_updt_pnttm = NOW() , last_updt_pnttm = NOW()
, last_updusr_id = #{lastUpdusrId} , last_updusr_id = #{lastUpdusrId}

@ -11,7 +11,7 @@
, xcc.grp_nm , xcc.grp_nm
, cdc.code , cdc.code
, cdc.code_val , cdc.code_val
, cdc.code_dc , cdc.dscrp
, cdc.etc_1 , cdc.etc_1
, cdc.etc_2 , cdc.etc_2
, cdc.etc_3 , cdc.etc_3
@ -63,7 +63,7 @@
grp_id grp_id
, code , code
, code_val , code_val
, code_dc , dscrp
, etc_1 , etc_1
, etc_2 , etc_2
, etc_3 , etc_3
@ -75,7 +75,7 @@
#{grpId} #{grpId}
, #{code} , #{code}
, #{codeVal} , #{codeVal}
, #{codeDc} , #{dscrp}
, #{etc1} , #{etc1}
, #{etc2} , #{etc2}
, #{etc3} , #{etc3}
@ -90,7 +90,7 @@
/* code-dtl-mysql-mapper|updateCmmnDtlCode-코드 정보 변경|julim */ /* code-dtl-mysql-mapper|updateCmmnDtlCode-코드 정보 변경|julim */
UPDATE xit_cmmn_detail_code UPDATE xit_cmmn_detail_code
SET code_val = IF(code_val = #{grpNm}, code_val, #{codeVal}) SET code_val = IF(code_val = #{grpNm}, code_val, #{codeVal})
, code_dc = IF(code_dc = #{codeDc}, code_dc, #{codeDc}) , dscrp = IF(dscrp = #{dscrp}, dscrp, #{dscrp})
, etc_1 = IF(etc_1 = #{etc1}, etc_1, #{etc1}) , etc_1 = IF(etc_1 = #{etc1}, etc_1, #{etc1})
, etc_2 = IF(etc_2 = #{etc2}, etc_2, #{etc2}) , etc_2 = IF(etc_2 = #{etc2}, etc_2, #{etc2})
, etc_3 = IF(etc_3 = #{etc3}, etc_3, #{etc3}) , etc_3 = IF(etc_3 = #{etc3}, etc_3, #{etc3})

@ -11,7 +11,7 @@
, xccc.cl_code_nm , xccc.cl_code_nm
, xcc.grp_id , xcc.grp_id
, xcc.grp_nm , xcc.grp_nm
, xcc.code_id_dc , xcc.dscrp
, xcc.use_at , xcc.use_at
, xcc.frst_regist_pnttm , xcc.frst_regist_pnttm
, xcc.frst_register_id , xcc.frst_register_id
@ -54,7 +54,7 @@
cl_code cl_code
, grp_id , grp_id
, grp_nm , grp_nm
, code_id_dc , dscrp
, use_at , use_at
, frst_regist_pnttm , frst_regist_pnttm
, frst_register_id , frst_register_id
@ -62,7 +62,7 @@
#{clCode} #{clCode}
, #{grpId} , #{grpId}
, #{grpNm} , #{grpNm}
, #{codeIdDc} , #{dscrp}
, #{useAt} , #{useAt}
, NOW() , NOW()
, #{frstRegisterId} , #{frstRegisterId}
@ -73,7 +73,7 @@
/* code-grp-mysql-mapper|updateCmmnGrpCode-코드그룹 정보 변경|julim */ /* code-grp-mysql-mapper|updateCmmnGrpCode-코드그룹 정보 변경|julim */
UPDATE xit_cmmn_code UPDATE xit_cmmn_code
SET grp_nm = IF(grp_nm = #{grpNm}, grp_nm, #{grpNm}) SET grp_nm = IF(grp_nm = #{grpNm}, grp_nm, #{grpNm})
, code_id_dc = IF(code_id_dc = #{codeIdDc}, code_id_dc, #{codeIdDc}) , dscrp = IF(dscrp = #{dscrp}, dscrp, #{dscrp})
, use_at = IF(use_at = #{useAt}, use_at, #{useAt}) , use_at = IF(use_at = #{useAt}, use_at, #{useAt})
, last_updt_pnttm = NOW() , last_updt_pnttm = NOW()
, last_updusr_id = #{lastUpdusrId} , last_updusr_id = #{lastUpdusrId}

@ -23,7 +23,7 @@
<var-value>60</var-value> <var-value>60</var-value>
</var> </var>
</field> </field>
<field property="clCodeDc" depends="required, maxlength"> <field property="dscrp" depends="required, maxlength">
<arg0 key="분류코드설명" resource="false"/> <arg0 key="분류코드설명" resource="false"/>
<arg1 key="200" resource="false"/> <arg1 key="200" resource="false"/>
<var> <var>

@ -23,7 +23,7 @@
<var-value>60</var-value> <var-value>60</var-value>
</var> </var>
</field> </field>
<field property="codeIdDc" depends="required, maxlength"> <field property="dscrp" depends="required, maxlength">
<arg0 key="코드ID설명" resource="false"/> <arg0 key="코드ID설명" resource="false"/>
<arg1 key="200" resource="false"/> <arg1 key="200" resource="false"/>
<var> <var>

@ -32,7 +32,7 @@
<var-value>60</var-value> <var-value>60</var-value>
</var> </var>
</field> </field>
<field property="codeDc" depends="required, maxlength"> <field property="dscrp" depends="required, maxlength">
<arg0 key="코드설명" resource="false"/> <arg0 key="코드설명" resource="false"/>
<arg1 key="200" resource="false"/> <arg1 key="200" resource="false"/>
<var> <var>

@ -49,11 +49,11 @@
</tr> </tr>
<tr> <tr>
<th height="23" scope="row" > <th height="23" scope="row" >
<label for="clCodeDc" class="required">분류코드설명</label> <label for="dscrp" class="required">분류코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="clCodeDc" cols="100" rows="5" id="clCodeDc"/> <form:textarea path="dscrp" cols="100" rows="5" id="dscrp"/>
<form:errors path="clCodeDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -48,11 +48,11 @@
</tr> </tr>
<tr> <tr>
<th height="23" scope="row"> <th height="23" scope="row">
<label for="clCodeDc" class="required">분류코드설명</label> <label for="dscrp" class="required">분류코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="clCodeDc" cols="100" rows="5" id="clCodeDc"/> <form:textarea path="dscrp" cols="100" rows="5" id="dscrp"/>
<form:errors path="clCodeDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -57,14 +57,14 @@
</tr> </tr>
<tr> <tr>
<th height="23" scope="row" > <th height="23" scope="row" >
<label for="codeIdDc" class="required">코드ID설명</label> <label for="dscrp" class="required">코드ID설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="codeIdDc" cols="100" rows="5" id="codeIdDc"/> <form:textarea path="dscrp" cols="100" rows="5" id="dscrp"/>
<!-- <!--
<textarea id="codeIdDc" name="codeIdDc" cols="100" rows="5"><c:out value="${cmmnCode.codeIdDc}" escapeXml="false" /></textarea> <textarea id="dscrp" name="dscrp" cols="100" rows="5"><c:out value="${cmmnCode.dscrp}" escapeXml="false" /></textarea>
--> -->
<form:errors path="codeIdDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -60,14 +60,14 @@
</tr> </tr>
<tr> <tr>
<th height="23" scope="row"> <th height="23" scope="row">
<label for="codeIdDc" class="required">코드ID설명</label> <label for="dscrp" class="required">코드ID설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="codeIdDc" cols="100" rows="5" id="codeIdDc"/> <form:textarea path="dscrp" cols="100" rows="5" id="dscrp"/>
<!-- <!--
<textarea id="codeIdDc" name="codeIdDc" cols="100" rows="5"><c:out value="${cmmnCode.codeIdDc}" escapeXml="false" /></textarea> <textarea id="dscrp" name="dscrp" cols="100" rows="5"><c:out value="${cmmnCode.dscrp}" escapeXml="false" /></textarea>
--> -->
<form:errors path="codeIdDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -58,11 +58,11 @@
</tr> </tr>
<tr> <tr>
<th height="23" scope="row"> <th height="23" scope="row">
<label for="codeDc" class="required">코드설명</label> <label for="dscrp" class="required">코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="codeDc" rows="3" cols="60" id="codeDc"/> <form:textarea path="dscrp" rows="3" cols="60" id="dscrp"/>
<form:errors path="codeDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -67,11 +67,11 @@
</tr> hi </tr> hi
<tr> <tr>
<th height="23" scope="row" > <th height="23" scope="row" >
<label for="codeDc" class="required">코드설명</label> <label for="dscrp" class="required">코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="codeDc" rows="3" cols="60" id="codeDc"/> <form:textarea path="dscrp" rows="3" cols="60" id="dscrp"/>
<form:errors path="codeDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
<tr> <tr>

@ -54,11 +54,11 @@
</tr> </tr>
<tr> <tr>
<th scope="row"> <th scope="row">
<label for="clCodeDc" class="required">분류코드설명</label> <label for="dscrp" class="required">분류코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="clCodeDc" cols="100" rows="3"/> <form:textarea path="dscrp" cols="100" rows="3"/>
<form:errors path="clCodeDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
</tbody> </tbody>

@ -227,7 +227,7 @@
}, },
{ {
header: '코드설명', header: '코드설명',
name: 'codeDc', name: 'dscrp',
minWidth: 150, minWidth: 150,
sortable: false, sortable: false,
//align: 'center' //align: 'center'

@ -105,11 +105,11 @@
</tr> </tr>
<tr> <tr>
<th scope="row"> <th scope="row">
<label for="codeDc" class="required">코드설명</label> <label for="dscrp" class="required">코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="codeDc" cols="100" rows="3"/> <form:textarea path="dscrp" cols="100" rows="3"/>
<form:errors path="codeDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>

@ -214,7 +214,7 @@
}, },
{ {
header: '코드설명', header: '코드설명',
name: 'codeIdDc', name: 'dscrp',
minWidth: 200, minWidth: 200,
sortable: false, sortable: false,
//align: 'center' //align: 'center'

@ -63,11 +63,11 @@
</tr> </tr>
<tr> <tr>
<th scope="row"> <th scope="row">
<label for="codeIdDc" class="required">그룹코드설명</label> <label for="dscrp" class="required">그룹코드설명</label>
</th> </th>
<td colspan="3"> <td colspan="3">
<form:textarea path="codeIdDc" cols="100" rows="3"/> <form:textarea path="dscrp" cols="100" rows="3"/>
<form:errors path="codeIdDc"/> <form:errors path="dscrp"/>
</td> </td>
</tr> </tr>
</tbody> </tbody>

Loading…
Cancel
Save