fix : 수정 중

main
이범준 2 years ago
parent dfddf3b43f
commit 10f6573393

@ -22,7 +22,7 @@ public class XitLoginPolicyVO extends BaseVO {
protected String user_id; //사용자 id
protected String ip_info; //ip 정보
protected String dplct_perm_yn; //중복 허용 여부
protected String dplct_yn; //중복 허용 여부
protected String lmtt_yn; //제한 여부
protected String reg_dt; //최초 등록 시점
protected String rgtr; //최초 등록자 id
@ -41,11 +41,11 @@ public class XitLoginPolicyVO extends BaseVO {
public void setIp_info(String ip_info) {
this.ip_info = ip_info;
}
public String getDplct_perm_yn() {
return dplct_perm_yn;
public String getDplct_yn() {
return dplct_yn;
}
public void setDplct_perm_yn(String dplct_perm_yn) {
this.dplct_perm_yn = dplct_perm_yn;
public void setDplct_yn(String dplct_yn) {
this.dplct_yn = dplct_yn;
}
public String getLmtt_yn() {
return lmtt_yn;

@ -37,7 +37,7 @@ public class XitLoginPolicyMngVO extends BaseVO {
/**
*
*/
private String dplctPermYn;
private String dplctYn;
/**
*
*/
@ -104,16 +104,16 @@ public class XitLoginPolicyMngVO extends BaseVO {
this.ipInfo = ipInfo;
}
/**
* @return the dplctPermYn
* @return the dplctYn
*/
public String getDplctPermYn() {
return dplctPermYn;
public String getDplctYn() {
return dplctYn;
}
/**
* @param dplctPermYn the dplctPermYn to set
* @param dplctYn the dplctYn to set
*/
public void setDplctPermYn(String dplctPermYn) {
this.dplctPermYn = dplctPermYn;
public void setDplctYn(String dplctYn) {
this.dplctYn = dplctYn;
}
/**
* @return the lmttYn

@ -128,7 +128,7 @@ public class XitLoginPolicyMngServiceBean extends AbstractServiceBean implements
XitLoginPolicyVO crudVO = new XitLoginPolicyVO();
crudVO.setUser_id(vo.getEmplyrId()); //사용자 id
crudVO.setIp_info(vo.getIpInfo()); //ip 정보
crudVO.setDplct_perm_yn(vo.getDplctPermYn()); //중복 허용 여부
crudVO.setDplct_yn(vo.getDplctYn()); //중복 허용 여부
crudVO.setLmtt_yn(vo.getLmttYn()); //제한 여부
return crudVO;

@ -1569,7 +1569,7 @@
/** 로그인정책 다건 조회 */
SELECT USER_ID
,IP_INFO
,DPLCT_PERM_YN
,DPLCT_YN
,LMTT_YN
,REG_DT
,RGTR
@ -1579,7 +1579,7 @@
WHERE 1=1
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(user_id )">AND USER_ID = #{user_id }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_info )">AND IP_INFO = #{ip_info }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_perm_yn )">AND DPLCT_PERM_YN = #{dplct_perm_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_yn )">AND DPLCT_YN = #{dplct_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(lmtt_yn )">AND LMTT_YN = #{lmtt_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(reg_dt)">AND REG_DT = #{reg_dt}</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">AND RGTR = #{rgtr }</if>
@ -1591,7 +1591,7 @@
/** 로그인정책 조회 */
SELECT USER_ID
,IP_INFO
,DPLCT_PERM_YN
,DPLCT_YN
,LMTT_YN
,REG_DT
,RGTR
@ -1607,7 +1607,7 @@
INSERT INTO XIT_LOGIN_POLICY(
USER_ID
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_info )">,IP_INFO </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_perm_yn )">,DPLCT_PERM_YN </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_yn )">,DPLCT_YN </if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(lmtt_yn )">,LMTT_YN </if>
,REG_DT
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">,RGTR </if>
@ -1617,7 +1617,7 @@
)VALUES(
#{user_id }
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(ip_info )">,#{ip_info }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_perm_yn )">,#{dplct_perm_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dplct_yn )">,#{dplct_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(lmtt_yn )">,#{lmtt_yn }</if>
,NOW()
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(rgtr )">,#{rgtr }</if>
@ -1633,7 +1633,7 @@
SET
MDFCN_DT = NOW()
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(ip_info )">,IP_INFO = #{ip_info }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dplct_perm_yn )">,DPLCT_PERM_YN = #{dplct_perm_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dplct_yn )">,DPLCT_YN = #{dplct_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(lmtt_yn )">,LMTT_YN = #{lmtt_yn }</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(reg_dt)">,REG_DT = #{reg_dt}</if>
<if test="@kr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(rgtr )">,RGTR = #{rgtr }</if>

@ -16,7 +16,7 @@
,A.USER_NM AS "emplyrNm"
,A.USER_SE AS "emplyrSe"
,B.IP_INFO AS "ipInfo"
,B.DPLCT_PERM_YN AS "dplctPermYn"
,B.DPLCT_YN AS "dplctYn"
,B.LMTT_YN AS "lmttYn"
,B.MDFR AS "userId"
,B.MDFCN_DT AS "regDate"

@ -14,7 +14,7 @@
<validator:javascript formName="loginPolicy" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="loginPolicy" name="loginPolicy" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/auth/LoginPolicyMng_update_proc.do">
<!-- 검색조건 유지 -->
<input type="hidden" name="dplctPermYn" value="Y" >
<input type="hidden" name="dplctYn" value="Y" >
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>" >
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" >
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" >

@ -13,7 +13,7 @@
<validator:javascript formName="loginPolicy" staticJavascript="false" xhtml="true" cdata="false"/>
<form:form modelAttribute="loginPolicy" name="loginPolicy" method="post" action="${pageContext.request.contextPath}/framework/biz/mng/auth/LoginPolicyMng_insert_proc.do">
<!-- 검색조건 유지 -->
<input type="hidden" name="dplctPermYn" value="Y" >
<input type="hidden" name="dplctYn" value="Y" >
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>" >
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" >
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" >

Loading…
Cancel
Save