refactor : 유저 테이블 변경

main
이범준 1 year ago
parent 7c0eaa6ba5
commit ce026e8d2e

@ -39,7 +39,7 @@ public class XitEntrprsMberVO extends BaseVO {
protected String induty_code; //업종 코드
protected String applcntNm; //신청인 명
protected String applcntIhidnum; //신청인 주민등록번호
protected String sbscrbDe; //가입 일
protected String regDt; //가입 일
protected String entrprsMberSttus; //기업 회원 상태
protected String entrprsMberPassword; //기업 회원 비밀번호
protected String entrprsMberPasswordHint; //기업 회원 비밀번호 힌트

@ -43,7 +43,8 @@ public class XitGnrlMberVO extends BaseVO {
protected String mberFxnum; //회원 팩스번호
protected String mberEmailAdres; //회원 이메일 주소
protected String middleTelno; //중간 전화번호
protected String sbscrbDe; //가입 일자
protected String regDt; //가입 일자
protected String sexdstnCode; //성별 코드
protected String esntlId; //고유 id
}

@ -112,7 +112,7 @@ public class XitEntUserRegMngVO extends BaseVO {
/**
*
*/
private String sbscrbDe;
private String regDt;
/**
*
*/
@ -469,18 +469,18 @@ public class XitEntUserRegMngVO extends BaseVO {
this.entrprsMiddleTelno = entrprsMiddleTelno;
}
/**
* sbscrbDe attribute .
* regDt attribute .
* @return String
*/
public String getSbscrbDe() {
return sbscrbDe;
public String getRegDt() {
return regDt;
}
/**
* sbscrbDe attribute .
* @param sbscrbDe String
* regDt attribute .
* @param regDt String
*/
public void setSbscrbDe(String sbscrbDe) {
this.sbscrbDe = sbscrbDe;
public void setRegDt(String regDt) {
this.regDt = regDt;
}
/**
* zip attribute .

@ -96,7 +96,7 @@ public class XitGnrUserRegMngVO extends BaseVO {
/**
*
*/
private String sbscrbDe;
private String regDt;
/**
*
*/
@ -396,18 +396,18 @@ public class XitGnrUserRegMngVO extends BaseVO {
this.passwordHint = passwordHint;
}
/**
* sbscrbDe attribute .
* regDt attribute .
* @return String
*/
public String getSbscrbDe() {
return sbscrbDe;
public String getRegDt() {
return regDt;
}
/**
* sbscrbDe attribute .
* @param sbscrbDe String
* regDt attribute .
* @param regDt String
*/
public void setSbscrbDe(String sbscrbDe) {
this.sbscrbDe = sbscrbDe;
public void setRegDt(String regDt) {
this.regDt = regDt;
}
/**
* zip attribute .

@ -51,7 +51,7 @@ public class XitUserInfoVO extends XitUserEtcOptionVO {
protected String userSttusCode; //사용자 상태 코드
protected String esntlId; //고유 id
protected String crtfcDnValue; //인증 dn 값
protected String sbscrbDe; //가입 일
protected String regDt; //가입 일
protected String emplyrId;
protected String emplyrNm;

@ -31,7 +31,7 @@ public class XitUserRegMngVO extends BaseVO {
/**
*
*/
private String sbscrbDe;
private String regDt;
/**
*
*/

@ -274,7 +274,7 @@ public class XitEntUserRegMngServiceBean extends AbstractServiceBean implements
crudVO.setInduty_code (vo.getIndutyCode()); //업종 코드
crudVO.setApplcntNm(vo.getApplcntNm()); //신청인 명
crudVO.setApplcntIhidnum(vo.getApplcntIhidnum()); //신청인 주민등록번호
crudVO.setSbscrbDe(vo.getSbscrbDe()); //가입 일
crudVO.setRegDt(vo.getRegDt()); //가입 일
crudVO.setEntrprsMberSttus(vo.getEntrprsMberSttus()); //기업 회원 상태
crudVO.setEntrprsMberPassword(password); //기업 회원 비밀번호
crudVO.setEntrprsMberPasswordHint(vo.getEntrprsMberPasswordHint()); //기업 회원 비밀번호 힌트

@ -278,7 +278,7 @@ public class XitGnrUserRegMngServiceBean extends AbstractServiceBean implements
crudVO.setMberFxnum(vo.getMberFxnum()); //회원 팩스번호
crudVO.setMberEmailAdres(vo.getMberEmailAdres()); //회원 이메일 주소
crudVO.setMiddleTelno(vo.getMiddleTelno()); //중간 전화번호
crudVO.setSbscrbDe(vo.getSbscrbDe()); //가입 일자
crudVO.setRegDt(vo.getRegDt()); //가입 일자
crudVO.setSexdstnCode(vo.getSexdstnCode()); //성별 코드
crudVO.setEsntlId(vo.getUniqId()); //고유 id

@ -1046,7 +1046,7 @@
,INDUTY_CODE
,APPLCNT_NM
,APPLCNT_IHIDNUM
,SBSCRB_DE
,REG_DT
,ENTRPRS_MBER_STTUS
,ENTRPRS_MBER_PASSWORD
,ENTRPRS_MBER_PASSWORD_HINT
@ -1072,7 +1072,6 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(induty_code )">AND INDUTY_CODE = #{induty_code }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(applcnt_nm )">AND APPLCNT_NM = #{applcnt_nm }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(applcnt_ihidnum )">AND APPLCNT_IHIDNUM = #{applcnt_ihidnum }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sbscrb_de )">AND SBSCRB_DE = #{sbscrb_de }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(entrprs_mber_sttus )">AND ENTRPRS_MBER_STTUS = #{entrprs_mber_sttus }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(entrprs_mber_password )">AND ENTRPRS_MBER_PASSWORD = #{entrprs_mber_password }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(entrprs_mber_password_hint)">AND ENTRPRS_MBER_PASSWORD_HINT = #{entrprs_mber_password_hint}</if>
@ -1100,7 +1099,7 @@
,INDUTY_CODE
,APPLCNT_NM
,APPLCNT_IHIDNUM
,SBSCRB_DE
,REG_DT
,ENTRPRS_MBER_STTUS
,ENTRPRS_MBER_PASSWORD
,ENTRPRS_MBER_PASSWORD_HINT
@ -1132,7 +1131,7 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(induty_code )">,INDUTY_CODE </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(applcnt_nm )">,APPLCNT_NM </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(applcnt_ihidnum )">,APPLCNT_IHIDNUM </if>
,SBSCRB_DE
,REG_DT
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(entrprs_mber_sttus )">,ENTRPRS_MBER_STTUS </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(entrprs_mber_password )">,ENTRPRS_MBER_PASSWORD </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(entrprs_mber_password_hint)">,ENTRPRS_MBER_PASSWORD_HINT</if>
@ -1188,7 +1187,6 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(induty_code )">,INDUTY_CODE = #{induty_code }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(applcnt_nm )">,APPLCNT_NM = #{applcnt_nm }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(applcnt_ihidnum )">,APPLCNT_IHIDNUM = #{applcnt_ihidnum }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(sbscrb_de )">,SBSCRB_DE = #{sbscrb_de }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(entrprs_mber_sttus )">,ENTRPRS_MBER_STTUS = #{entrprs_mber_sttus }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(entrprs_mber_password )">,ENTRPRS_MBER_PASSWORD = #{entrprs_mber_password }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(entrprs_mber_password_hint)">,ENTRPRS_MBER_PASSWORD_HINT = #{entrprs_mber_password_hint}</if>
@ -1376,7 +1374,7 @@
,MBER_FXNUM
,MBER_EMAIL_ADRES
,MIDDLE_TELNO
,SBSCRB_DE
,REG_DT
,SEXDSTN_CODE
,ESNTL_ID
FROM XIT_GNRL_MBER
@ -1398,7 +1396,6 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mber_fxnum )">AND MBER_FXNUM = #{mber_fxnum }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mber_email_adres)">AND MBER_EMAIL_ADRES = #{mber_email_adres}</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(middle_telno )">AND MIDDLE_TELNO = #{middle_telno }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sbscrb_de )">AND SBSCRB_DE = #{sbscrb_de }</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(esntl_id )">AND ESNTL_ID = #{esntl_id }</if>
</select>
@ -1422,7 +1419,7 @@
,MBER_FXNUM
,MBER_EMAIL_ADRES
,MIDDLE_TELNO
,SBSCRB_DE
,REG_DT
,SEXDSTN_CODE
,ESNTL_ID
FROM XIT_GNRL_MBER
@ -1450,7 +1447,7 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mber_fxnum )">,MBER_FXNUM </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(mber_email_adres)">,MBER_EMAIL_ADRES</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(middle_telno )">,MIDDLE_TELNO </if>
,SBSCRB_DE
,REG_DT
<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(esntl_id )">,ESNTL_ID </if>
)VALUES(
@ -1498,7 +1495,6 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(mber_fxnum )">,MBER_FXNUM = #{mber_fxnum }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(mber_email_adres)">,MBER_EMAIL_ADRES = #{mber_email_adres}</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(middle_telno )">,MIDDLE_TELNO = #{middle_telno }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(sbscrb_de )">,SBSCRB_DE = #{sbscrb_de }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(sexdstn_code )">,SEXDSTN_CODE = #{sexdstn_code }</if>
WHERE 1=1
AND MBER_ID = #{mber_id}
@ -2599,7 +2595,7 @@
,USER_STTUS_CODE
,ESNTL_ID
,CRTFC_DN_VALUE
,SBSCRB_DE
,REG_DT
FROM XIT_USER_INFO
WHERE 1=1
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_id )">AND USER_ID = #{user_id }</if>
@ -2628,7 +2624,6 @@
<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>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(crtfc_dn_value )">AND CRTFC_DN_VALUE = #{crtfc_dn_value }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sbscrb_de )">AND SBSCRB_DE = #{sbscrb_de }</if>
</select>
<select id="findXitUserInfo" resultType="kr.xit.fims.framework.biz.mng.user.XitUserInfoVO">
/** findXitUserInfo */
@ -2659,7 +2654,7 @@
,USER_STTUS_CODE
,ESNTL_ID
,CRTFC_DN_VALUE
,SBSCRB_DE
,REG_DT
FROM XIT_USER_INFO
WHERE 1=1
AND USER_ID = #{user_id}
@ -2695,7 +2690,7 @@
, user_sttus_code
, esntl_id
, crtfc_dn_value
, sbscrb_de
, REG_DT
) VALUES (
#{userId}
, #{orgnztId}
@ -2731,7 +2726,7 @@
/** 사용자정보 수정 */
UPDATE XIT_USER_INFO
SET
SBSCRB_DE = SBSCRB_DE
REG_DT = REG_DT
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(orgnzt_id )">,ORGNZT_ID = #{orgnzt_id }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(user_nm )">,USER_NM = #{user_nm }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(password )">,PASSWORD = #{password }</if>
@ -2796,7 +2791,7 @@
,A.USER_STTUS_CODE
,A.ESNTL_ID
,A.CRTFC_DN_VALUE
,A.SBSCRB_DE
,A.REG_DT
,B.JOB_DATA_AUTHOR
,B.USER_MANAGE_AUTHOR
,B.ELCTRNSANCTN_USE_YN
@ -2830,7 +2825,6 @@
<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>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(crtfc_dn_value )">AND A.CRTFC_DN_VALUE = #{crtfc_dn_value }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sbscrb_de )">AND A.SBSCRB_DE = #{sbscrb_de }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(job_data_author )">AND B.JOB_DATA_AUTHOR = #{job_data_author }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_manage_author )">AND B.USER_MANAGE_AUTHOR = #{user_manage_author }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(elctrnsanctn_use_yn)">AND B.ELCTRNSANCTN_USE_YN= #{elctrnsanctn_use_yn}</if>
@ -2865,7 +2859,7 @@
,A.USER_STTUS_CODE
,A.ESNTL_ID
,A.CRTFC_DN_VALUE
,A.SBSCRB_DE
,A.REG_DT
,B.JOB_DATA_AUTHOR
,B.USER_MANAGE_AUTHOR
,B.ELCTRNSANCTN_USE_YN

@ -25,7 +25,7 @@
,'' AS "mbtlnum"
,A.GROUP_ID AS "groupId"
,A.ENTRPRS_MBER_STTUS AS "sttus"
,A.SBSCRB_DE AS "sbscrbDe"
,A.REG_DT AS "regDt"
,(SELECT CODE_VAL FROM tb_cmn_code WHERE USE_YN = 'Y' AND GRP_ID = 'XIT013' AND CODE = A.ENTRPRS_MBER_STTUS) AS "userSttusCode"
</sql>
<sql id="findList_FROM">
@ -98,7 +98,7 @@
,A.FXNUM AS "fxnum"
,A.INDUTY_CODE AS "indutyCode"
,A.APPLCNT_NM AS "applcntNm"
,A.SBSCRB_DE AS "sbscrbDe"
,A.REG_DT AS "regDt"
,A.ENTRPRS_MBER_STTUS AS "entrprsMberSttus"
,A.ENTRPRS_MBER_PASSWORD AS "entrprsMberPassword"
,A.ENTRPRS_MBER_PASSWORD_HINT AS "entrprsMberPasswordHint"

@ -24,7 +24,7 @@
,A.MBTLNUM AS "mbtlnum"
,A.GROUP_ID AS "groupId"
,A.MBER_STTUS AS "sttus"
,A.SBSCRB_DE AS "sbscrbDe"
,A.REG_DT AS "regDt"
,(SELECT CODE_VAL FROM tb_cmn_code WHERE USE_YN = 'Y' AND GRP_ID = 'XIT013' AND CODE = A.MBER_STTUS) AS "userSttusCode"
</sql>
<sql id="findList_FROM">
@ -104,7 +104,7 @@
,A.MBER_FXNUM AS "mberFxnum"
,A.MBER_EMAIL_ADRES AS "mberEmailAdres"
,A.MIDDLE_TELNO AS "middleTelno"
,A.SBSCRB_DE AS "sbscrbDe"
,A.REG_DT AS "regDt"
<!-- ,A.LOCK_AT AS "lockAt" -->
<include refid="findList_FROM"/>
WHERE A.ESNTL_ID = #{uniqId}

@ -99,7 +99,7 @@
,A.ORGNZT_ID AS "orgnztId"
,A.PSTINST_CODE AS "pstinstCode"
,A.USER_STTUS_CODE AS "userSttusCode"
,A.SBSCRB_DE AS "sbscrbDe"
,A.REG_DT AS "regDt"
,A.CRTFC_DN_VALUE AS "crtfcDnValue"
,B.JOB_DATA_AUTHOR AS "jobDataAuthor"
,B.USER_MANAGE_AUTHOR AS "userManageAuthor"

@ -18,7 +18,7 @@
, xui.mbtlnum
, xui.group_id
, xui.user_sttus_code
, xui.sbscrb_de
, xui.REG_DT
, cdc.code_val AS userSttusCodeNm
FROM xit_user_info xui
LEFT OUTER JOIN tb_cmn_code cdc
@ -35,7 +35,7 @@
AND INSTR(xui.user_nm, #{userNm}) > 0
</if>
</where>
ORDER BY sbscrb_de DESC
ORDER BY REG_DT DESC
</select>
<select id="selectUser" resultType="kr.xit.fims.framework.biz.mng.user.XitUserInfoVO">
@ -66,7 +66,7 @@
, orgnzt_id
, pstinst_code
, user_sttus_code
, sbscrb_de
, REG_DT
, crtfc_dn_value
FROM xit_user_info
WHERE esntl_id = #{uniqId}
@ -102,7 +102,7 @@
, user_sttus_code
, esntl_id
, crtfc_dn_value
, sbscrb_de
, REG_DT
) VALUES (
#{userId}
, #{orgnztId}

@ -375,7 +375,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
},
{
header: '등록일',
name: 'sbscrbDe',
name: 'regDt',
width: 150,
sortable: false,
align: 'center'

@ -368,7 +368,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
},
{
header: '등록일',
name: 'sbscrbDe',
name: 'regDt',
width: 150,
sortable: false,
align: 'center'

@ -196,7 +196,7 @@ function fnViewCheck(){
<td nowrap="nowrap"><c:out value="${result.userNm}"/></td>
<td nowrap="nowrap"><c:out value="${result.emailAdres}"/></td>
<td nowrap="nowrap"><c:out value="${result.areaNo}"/>)<c:out value="${result.middleTelno}"/>-<c:out value="${result.endTelno}"/></td>
<td nowrap="nowrap"><c:out value="${result.sbscrbDe}"/></td>
<td nowrap="nowrap"><c:out value="${result.regDt}"/></td>
<td nowrap="nowrap">
<c:forEach var="userSttusCode_result" items="${userSttusCode_result}" varStatus="status">
<c:if test="${result.sttus == userSttusCode_result.code}"><c:out value="${userSttusCode_result.codeVal}"/></c:if>

@ -231,7 +231,7 @@
},
{
header: '등록일시',
name: 'sbscrbDe',
name: 'regDt',
width: 150,
sortable: false,
align: 'center',

Loading…
Cancel
Save