refactor : 유저 테이블 수정

main
이범준 1 year ago
parent e046c5528b
commit 1c1d34c95e

@ -24,8 +24,6 @@ public class XitLoginVO implements Serializable{
private String id; private String id;
/** 이름 */ /** 이름 */
private String name; private String name;
/** 주민등록번호 */
private String ihidNum;
/** 이메일주소 */ /** 이메일주소 */
private String email; private String email;
/** 비밀번호 */ /** 비밀번호 */
@ -89,7 +87,6 @@ public class XitLoginVO implements Serializable{
this.id = vo.getUserId(); this.id = vo.getUserId();
this.name = vo.getUserNm(); this.name = vo.getUserNm();
this.password = vo.getPassword(); this.password = vo.getPassword();
this.ihidNum = vo.getIhidnum();
this.email = vo.getEmailAdres(); this.email = vo.getEmailAdres();
this.userSe = USER_SE.USR.name(); this.userSe = USER_SE.USR.name();
this.orgnztId = vo.getOrgnztId(); this.orgnztId = vo.getOrgnztId();

@ -30,7 +30,6 @@ public class XitUserInfoVO extends XitUserEtcOptionVO {
protected String password; //비밀번호 protected String password; //비밀번호
protected String password2; //비밀번호 protected String password2; //비밀번호
protected String emplNo; //사원 번호 protected String emplNo; //사원 번호
protected String ihidnum; //주민등록번호
protected String sexdstnCode; //성별 코드 protected String sexdstnCode; //성별 코드
protected String brthdy; //생일 protected String brthdy; //생일
protected String fxnum; //팩스번호 protected String fxnum; //팩스번호

@ -92,10 +92,6 @@ public class XitUserRegMngVO extends BaseVO {
* *
*/ */
private String houseMiddleTelno; private String houseMiddleTelno;
/**
*
*/
private String ihidnum;
/** /**
* *
*/ */

@ -2238,7 +2238,6 @@
,USER_NM ,USER_NM
,PASSWORD ,PASSWORD
,EMPL_NO ,EMPL_NO
,IHIDNUM
,SEXDSTN_CODE ,SEXDSTN_CODE
,BRTHDY ,BRTHDY
,FXNUM ,FXNUM
@ -2267,7 +2266,6 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_nm )">AND USER_NM = #{user_nm }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_nm )">AND USER_NM = #{user_nm }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(password )">AND PASSWORD = #{password }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(password )">AND PASSWORD = #{password }</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(empl_no )">AND EMPL_NO = #{empl_no }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ihidnum )">AND IHIDNUM = #{ihidnum }</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(sexdstn_code )">AND SEXDSTN_CODE = #{sexdstn_code }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">AND BRTHDY = #{brthdy }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">AND BRTHDY = #{brthdy }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(fxnum )">AND FXNUM = #{fxnum }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(fxnum )">AND FXNUM = #{fxnum }</if>
@ -2297,7 +2295,6 @@
,USER_NM ,USER_NM
,PASSWORD ,PASSWORD
,EMPL_NO ,EMPL_NO
,IHIDNUM
,SEXDSTN_CODE ,SEXDSTN_CODE
,BRTHDY ,BRTHDY
,FXNUM ,FXNUM
@ -2333,7 +2330,6 @@
, user_nm , user_nm
, password , password
, empl_no , empl_no
, ihidnum
, sexdstn_code , sexdstn_code
, brthdy , brthdy
, fxnum , fxnum
@ -2361,7 +2357,6 @@
, #{userNm} , #{userNm}
, #{password} , #{password}
, #{emplNo} , #{emplNo}
, #{ihidnum}
, #{sexdstnCode} , #{sexdstnCode}
, #{brthdy} , #{brthdy}
, #{fxnum} , #{fxnum}
@ -2395,7 +2390,6 @@
<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(user_nm )">,USER_NM = #{user_nm }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(password )">,PASSWORD = #{password }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(password )">,PASSWORD = #{password }</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(empl_no )">,EMPL_NO = #{empl_no }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(ihidnum )">,IHIDNUM = #{ihidnum }</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(sexdstn_code )">,SEXDSTN_CODE = #{sexdstn_code }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(brthdy )">,BRTHDY = #{brthdy }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(brthdy )">,BRTHDY = #{brthdy }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(fxnum )">,FXNUM = #{fxnum }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(fxnum )">,FXNUM = #{fxnum }</if>
@ -2434,7 +2428,6 @@
,A.USER_NM ,A.USER_NM
,A.PASSWORD ,A.PASSWORD
,A.EMPL_NO ,A.EMPL_NO
,A.IHIDNUM
,A.SEXDSTN_CODE ,A.SEXDSTN_CODE
,A.BRTHDY ,A.BRTHDY
,A.FXNUM ,A.FXNUM
@ -2468,7 +2461,6 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_nm )">AND A.USER_NM = #{user_nm }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_nm )">AND A.USER_NM = #{user_nm }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(password )">AND A.PASSWORD = #{password }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(password )">AND A.PASSWORD = #{password }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">AND A.EMPL_NO = #{empl_no }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">AND A.EMPL_NO = #{empl_no }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ihidnum )">AND A.IHIDNUM = #{ihidnum }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sexdstn_code )">AND A.SEXDSTN_CODE = #{sexdstn_code }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(sexdstn_code )">AND A.SEXDSTN_CODE = #{sexdstn_code }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">AND A.BRTHDY = #{brthdy }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">AND A.BRTHDY = #{brthdy }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(fxnum )">AND A.FXNUM = #{fxnum }</if> <if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(fxnum )">AND A.FXNUM = #{fxnum }</if>
@ -2502,7 +2494,6 @@
,A.USER_NM ,A.USER_NM
,A.PASSWORD ,A.PASSWORD
,A.EMPL_NO ,A.EMPL_NO
,A.IHIDNUM
,A.SEXDSTN_CODE ,A.SEXDSTN_CODE
,A.BRTHDY ,A.BRTHDY
,A.FXNUM ,A.FXNUM

@ -81,7 +81,6 @@
,A.PASSWORD_HINT AS "passwordHint" ,A.PASSWORD_HINT AS "passwordHint"
,A.PASSWORD_CNSR AS "passwordCnsr" ,A.PASSWORD_CNSR AS "passwordCnsr"
,A.EMPL_NO AS "emplNo" ,A.EMPL_NO AS "emplNo"
,A.IHIDNUM AS "ihidnum"
,A.SEXDSTN_CODE AS "sexdstnCode" ,A.SEXDSTN_CODE AS "sexdstnCode"
,A.BRTHDY AS "brthdy" ,A.BRTHDY AS "brthdy"
,A.AREA_NO AS "areaNo" ,A.AREA_NO AS "areaNo"

@ -48,7 +48,6 @@
, password_hint , password_hint
, password_cnsr , password_cnsr
, empl_no , empl_no
, ihidnum
, sexdstn_code , sexdstn_code
, brthdy , brthdy
, area_no , area_no
@ -81,7 +80,6 @@
, user_nm , user_nm
, password , password
, empl_no , empl_no
, ihidnum
, sexdstn_code , sexdstn_code
, brthdy , brthdy
, fxnum , fxnum
@ -109,7 +107,6 @@
, #{userNm} , #{userNm}
, #{password} , #{password}
, #{emplNo} , #{emplNo}
, #{ihidnum}
, #{sexdstnCode} , #{sexdstnCode}
, #{brthdy} , #{brthdy}
, #{fxnum} , #{fxnum}
@ -141,7 +138,6 @@
orgnzt_id = IF(orgnzt_id = #{orgnztId}, orgnzt_id, #{orgnztId}) orgnzt_id = IF(orgnzt_id = #{orgnztId}, orgnzt_id, #{orgnztId})
, user_nm = IF(user_nm = #{userNm}, user_nm, #{userNm}) , user_nm = IF(user_nm = #{userNm}, user_nm, #{userNm})
, empl_no = IF(empl_no = #{emplNo}, empl_no, #{emplNo}) , empl_no = IF(empl_no = #{emplNo}, empl_no, #{emplNo})
, ihidnum = IF(ihidnum = #{ihidnum}, ihidnum, #{ihidnum})
, sexdstn_code = IF(sexdstn_code = #{sexdstnCode}, sexdstn_code, #{sexdstnCode}) , sexdstn_code = IF(sexdstn_code = #{sexdstnCode}, sexdstn_code, #{sexdstnCode})
, brthdy = IF(brthdy = #{brthdy}, brthdy, #{brthdy}) , brthdy = IF(brthdy = #{brthdy}, brthdy, #{brthdy})
, fxnum = IF(fxnum = #{fxnum}, fxnum, #{fxnum}) , fxnum = IF(fxnum = #{fxnum}, fxnum, #{fxnum})

@ -1,119 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="entrprsManageVO">
<field property="entrprsmberId" depends="required, maxlength">
<arg0 key="기업회원아이디" resource="true"/>
<arg1 key="20" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="cmpnyNm" depends="required, maxlength">
<arg0 key="회사명" resource="true"/>
<arg1 key="50" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="entrprsMberPassword" depends="required, password1, password2, password3, password4">
<arg0 key="비밀번호" resource="true"/>
</field>
<field property="entrprsMberPasswordHint" depends="required">
<arg0 key="비밀번호힌트" resource="true"/>
</field>
<field property="entrprsMberPasswordCnsr" depends="required, maxlength">
<arg0 key="비밀번호정답" resource="true"/>
<arg1 key="100" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="bizrno" depends="required">
<arg0 key="사업자등록번호" resource="true"/>
</field>
<field property="areaNo" depends="required, maxlength, integer">
<arg0 key="회사지역번호" resource="true"/>
<arg1 key="4" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
</field>
<field property="entrprsMiddleTelno" depends="required, maxlength, integer">
<arg0 key="회사중간전화번호" resource="true"/>
<arg1 key="4" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
</field>
<field property="entrprsEndTelno" depends="required, maxlength, integer">
<arg0 key="회사마지막전화번호" resource="true"/>
<arg1 key="4" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
</field>
<field property="zip" depends="required">
<arg0 key="우편번호" resource="true"/>
</field>
<field property="adres" depends="required, maxlength">
<arg0 key="주소" resource="true"/>
<arg1 key="100" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="applcntNm" depends="required">
<arg0 key="신청자이름" resource="true"/>
</field>
<!--
<field property="applcntIhidnum" depends="required, ihidnum">
<arg0 key="신청자주민등록번호" resource="true"/>
</field>
-->
<field property="applcntEmailAdres" depends="required, email,maxlength">
<arg0 key="신청자이메일주소" resource="true"/>
<arg1 key="50" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<!--<field property="groupId" depends="required">
<arg0 key="그룹코드" resource="true"/>
</field> -->
<!-- <field property="entrprsMberSttus" depends="required"> -->
<!-- <arg0 key="사용자상태코드" resource="true"/> -->
<!-- </field> -->
</form>
</formset>
</form-validation>

@ -1,135 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="mberManageVO">
<field property="mberId" depends="required, maxlength">
<arg0 key="일반회원아이디" resource="true"/>
<arg1 key="20" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="mberNm" depends="required, maxlength">
<arg0 key="일반회원이름" resource="true"/>
<arg1 key="50" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="password" depends="required, password1, password2, password3, password4">
<arg0 key="비밀번호" resource="true"/>
</field>
<field property="passwordHint" depends="required">
<arg0 key="비밀번호힌트" resource="true"/>
</field>
<field property="passwordCnsr" depends="required, maxlength">
<arg0 key="비밀번호정답" resource="true"/>
<arg1 key="100" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<!--
<field property="ihidnum" depends="required, ihidnum">
<arg0 key="주민등록번호" resource="true"/>
</field>
-->
<field property="areaNo" depends="required, maxlength, integer">
<arg0 key="집지역번호" resource="true"/>
<arg1 key="4" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
</field>
<field property="middleTelno" depends="required, maxlength, integer">
<arg0 key="집중간전화번호" resource="true"/>
<arg1 key="4" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
</field>
<field property="endTelno" depends="required, maxlength, integer">
<arg0 key="집마지막전화번호" resource="true"/>
<arg1 key="4" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
</field>
<field property="mberFxnum" depends="maxlength">
<arg0 key="팩스번호" resource="true"/>
<arg1 key="15" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="mbtlnum" depends="required, maxlength">
<arg0 key="핸드폰번호" resource="true"/>
<arg1 key="15" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="mberEmailAdres" depends="required, email, maxlength">
<arg0 key="이메일주소" resource="true"/>
<arg1 key="50" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<field property="zip" depends="required">
<arg0 key="우편번호" resource="true"/>
<arg1 key="6" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>6</var-value>
</var>
</field>
<field property="adres" depends="required, maxlength">
<arg0 key="주소" resource="true"/>
<arg1 key="100" resource="true"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<!--<field property="groupId" depends="required">
<arg0 key="그룹코드" resource="true"/>
</field>-->
<!-- <field property="mberSttus" depends="required"> -->
<!-- <arg0 key="일반회원상태코드" resource="true"/> -->
<!-- </field> -->
</form>
</formset>
</form-validation>
Loading…
Cancel
Save