refactor : 유저 테이블 작성

main
이범준 1 year ago
parent 8f0774da15
commit 0851930032

@ -23,7 +23,7 @@ public class XitUserInfoChangeDtlsVO extends BaseVO {
protected String org_id; //조직 id
protected String grp_id; //그룹 id
protected String empl_no; //사원 번호
protected String sexdstn_code; //성별 코드
protected String gender; //성별 코드
protected String brthdy; //생일
protected String fxnum; //팩스번호
protected String addr; //주택 주소
@ -69,11 +69,11 @@ public class XitUserInfoChangeDtlsVO extends BaseVO {
public void setEmpl_no(String empl_no) {
this.empl_no = empl_no;
}
public String getSexdstn_code() {
return sexdstn_code;
public String getGender() {
return gender;
}
public void setSexdstn_code(String sexdstn_code) {
this.sexdstn_code = sexdstn_code;
public void setGender(String gender) {
this.gender = gender;
}
public String getBrthdy() {
return brthdy;

@ -122,7 +122,7 @@ public class XitFrameAnonymousController extends AbstractController {
*
================*/
model.addAttribute("passwordHint_result" , xitFrameCodeService.findCmmnDetailCodes("XIT022")); //패스워트힌트코드 목록
model.addAttribute("sexdstnCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
model.addAttribute("gender_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
model.addAttribute("nsttCd_result" , xitFrameCodeService.findCmmnDetailCodes("XIT025")); //소속기관코드 목록
model.addAttribute("orgId_result" , xitFrameCodeService.findOrgnztCodes("XIT_ORGNZT_INFO")); //조직정보코드 목록
model.addAttribute("grpId_result" , xitFrameCodeService.findGroupCodes("XIT_ORGNZT_INFO")); //그룹정보코드 목록
@ -134,7 +134,7 @@ public class XitFrameAnonymousController extends AbstractController {
// ================*/
// //모든 사용자 공통
// model.addAttribute("passwordHint_result" , xitFrameCodeService.findCmmnDetailCodes("XIT022")); //패스워트힌트코드 목록
// model.addAttribute("sexdstnCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
// model.addAttribute("gender_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
// model.addAttribute("grpId_result" , xitFrameCodeService.findGroupCodes("XIT_ORGNZT_INFO")); //그룹정보코드 목록
// List<XitCodeVO> userSttus_result = xitFrameCodeService.findCmmnDetailCodes("XIT013");
//
@ -182,7 +182,7 @@ public class XitFrameAnonymousController extends AbstractController {
*
================*/
model.addAttribute("passwordHint_result" , xitFrameCodeService.findCmmnDetailCodes("XIT022")); //패스워트힌트코드 목록
model.addAttribute("sexdstnCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
model.addAttribute("gender_result" , xitFrameCodeService.findCmmnDetailCodes("XIT014")); //성별구분코드 목록
model.addAttribute("grpId_result" , xitFrameCodeService.findGroupCodes("XIT_ORGNZT_INFO")); //그룹정보코드 목록
model.addAttribute("userSttusCode_result" , xitFrameCodeService.findCmmnDetailCodes("XIT013")); //사용자상태코드 목록
model.addAttribute("nsttCd_result" , xitFrameCodeService.findCmmnDetailCodes("XIT025")); //소속기관코드 목록

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

@ -131,7 +131,7 @@ public class XitUserRegMngVO extends BaseVO {
/**
*
*/
private String sexdstnCode;
private String gender;
/**
*
*/

@ -2070,7 +2070,7 @@
,ORG_ID
,GRP_ID
,EMPL_NO
,SEXDSTN_CODE
,GENDER
,BRTHDY
,FXNUM
,ADDR
@ -2090,7 +2090,7 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(org_id )">AND ORG_ID = #{org_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(empl_no )">AND EMPL_NO = #{empl_no }</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(gender )">AND GENDER = #{gender }</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(addr )">AND ADDR = #{addr }</if>
@ -2112,7 +2112,7 @@
,ORG_ID
,GRP_ID
,EMPL_NO
,SEXDSTN_CODE
,GENDER
,BRTHDY
,FXNUM
,ADDR
@ -2139,7 +2139,7 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(org_id )">,ORG_ID </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">,GRP_ID </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">,EMPL_NO </if>
<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(gender )">,GENDER </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">,BRTHDY </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(fxnum )">,FXNUM </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(addr )">,ADDR </if>
@ -2158,7 +2158,7 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(org_id )">,#{org_id }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(grp_id )">,#{grp_id }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(empl_no )">,#{empl_no }</if>
<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(gender )">,#{gender }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(brthdy )">,#{brthdy }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(fxnum )">,#{fxnum }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(addr )">,#{addr }</if>
@ -2182,7 +2182,7 @@
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(org_id )">,ORG_ID = #{org_id }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(grp_id )">,GRP_ID = #{grp_id }</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(sexdstn_code )">,SEXDSTN_CODE = #{sexdstn_code }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(gender )">,GENDER = #{gender }</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(addr )">,ADDR = #{addr }</if>
@ -2226,7 +2226,7 @@
,USER_NM
,PASSWORD
,EMPL_NO
,SEXDSTN_CODE
,GENDER
,BRTHDY
,FXNUM
,ADDR
@ -2252,7 +2252,7 @@
<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(empl_no )">AND EMPL_NO = #{empl_no }</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(gender )">AND GENDER = #{gender }</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(addr )">AND ADDR = #{addr }</if>
@ -2279,7 +2279,7 @@
,USER_NM
,PASSWORD
,EMPL_NO
,SEXDSTN_CODE
,GENDER
,BRTHDY
,FXNUM
,ADDR
@ -2312,7 +2312,7 @@
, user_nm
, password
, empl_no
, sexdstn_code
, gender
, brthdy
, fxnum
, addr
@ -2337,7 +2337,7 @@
, #{userNm}
, #{password}
, #{emplNo}
, #{sexdstnCode}
, #{gender}
, #{brthdy}
, #{fxnum}
, #{addr}
@ -2368,7 +2368,7 @@
<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(empl_no )">,EMPL_NO = #{empl_no }</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(gender )">,GENDER = #{gender }</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(addr )">,ADDR = #{addr }</if>
@ -2404,7 +2404,7 @@
,A.USER_NM
,A.PASSWORD
,A.EMPL_NO
,A.SEXDSTN_CODE
,A.GENDER
,A.BRTHDY
,A.FXNUM
,A.ADDR
@ -2435,7 +2435,7 @@
<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(empl_no )">AND A.EMPL_NO = #{empl_no }</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(gender )">AND A.GENDER = #{gender }</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(addr )">AND A.ADDR = #{addr }</if>
@ -2466,7 +2466,7 @@
,A.USER_NM
,A.PASSWORD
,A.EMPL_NO
,A.SEXDSTN_CODE
,A.GENDER
,A.BRTHDY
,A.FXNUM
,A.ADDR

@ -81,7 +81,7 @@
,A.PASSWORD_HINT AS "passwordHint"
,A.PASSWORD_CNSR AS "passwordCnsr"
,A.EMPL_NO AS "emplNo"
,A.SEXDSTN_CODE AS "sexdstnCode"
,A.GENDER AS "gender"
,A.BRTHDY AS "brthdy"
,A.AREA_NO AS "areaNo"
,A.FXNUM AS "fxnum"

@ -46,7 +46,7 @@
, password_hint
, password_cnsr
, empl_no
, sexdstn_code
, gender
, brthdy
, area_no
, fxnum
@ -76,7 +76,7 @@
, user_nm
, password
, empl_no
, sexdstn_code
, gender
, brthdy
, fxnum
, addr
@ -101,7 +101,7 @@
, #{userNm}
, #{password}
, #{emplNo}
, #{sexdstnCode}
, #{gender}
, #{brthdy}
, #{fxnum}
, #{addr}
@ -130,7 +130,7 @@
org_id = IF(org_id = #{orgId}, org_id, #{orgId})
, user_nm = IF(user_nm = #{userNm}, user_nm, #{userNm})
, empl_no = IF(empl_no = #{emplNo}, empl_no, #{emplNo})
, sexdstn_code = IF(sexdstn_code = #{sexdstnCode}, sexdstn_code, #{sexdstnCode})
, gender = IF(gender = #{gender}, gender, #{gender})
, brthdy = IF(brthdy = #{brthdy}, brthdy, #{brthdy})
, fxnum = IF(fxnum = #{fxnum}, fxnum, #{fxnum})
, zip = IF(zip = #{zip}, zip, #{zip})
@ -358,7 +358,7 @@
, org_id
, grp_id
, empl_no
, sexdstn_code
, gender
, brthdy
, fxnum
, addr
@ -376,7 +376,7 @@
, org_id
, grp_id
, empl_no
, sexdstn_code
, gender
, brthdy
, fxnum
, addr

Loading…
Cancel
Save