no message

main
이범준 3 years ago
parent 84f878ada0
commit 089bb0713d

@ -45,7 +45,7 @@ public class XitAuthGrpMngVO extends BaseVO {
/**
*
*/
private String authorNm;
private String authNm;
/**
* groupManage attribute .
@ -123,11 +123,11 @@ public class XitAuthGrpMngVO extends BaseVO {
public void setAuthId(String authId) {
this.authId = authId;
}
public String getAuthorNm() {
return authorNm;
public String getAuthNm() {
return authNm;
}
public void setAuthorNm(String authorNm) {
this.authorNm = authorNm;
public void setAuthNm(String authNm) {
this.authNm = authNm;
}
}

@ -31,7 +31,7 @@ public class XitAuthHierarchyMngVO {
/**
*
*/
private String authorCreatDe;
private String regDt;
/**
*
*/
@ -39,7 +39,7 @@ public class XitAuthHierarchyMngVO {
/**
*
*/
private String authorNm;
private String authNm;
/**
*
*/

@ -30,7 +30,7 @@ public class XitAuthRegMngVO extends BaseVO {
/**
*
*/
private String authorCreatDe;
private String regDt;
/**
*
*/
@ -38,7 +38,7 @@ public class XitAuthRegMngVO extends BaseVO {
/**
*
*/
private String authorNm;
private String authNm;
/**
* authorManage attribute .
@ -69,18 +69,18 @@ public class XitAuthRegMngVO extends BaseVO {
this.authId = authId;
}
/**
* authorCreatDe attribute .
* regDt attribute .
* @return String
*/
public String getAuthorCreatDe() {
return authorCreatDe;
public String getRegDt() {
return regDt;
}
/**
* authorCreatDe attribute .
* @param authorCreatDe String
* regDt attribute .
* @param regDt String
*/
public void setAuthorCreatDe(String authorCreatDe) {
this.authorCreatDe = authorCreatDe;
public void setRegDt(String regDt) {
this.regDt = regDt;
}
/**
* dscrp attribute .
@ -97,18 +97,18 @@ public class XitAuthRegMngVO extends BaseVO {
this.dscrp = dscrp;
}
/**
* authorNm attribute .
* authNm attribute .
* @return String
*/
public String getAuthorNm() {
return authorNm;
public String getAuthNm() {
return authNm;
}
/**
* authorNm attribute .
* @param authorNm String
* authNm attribute .
* @param authNm String
*/
public void setAuthorNm(String authorNm) {
this.authorNm = authorNm;
public void setAuthNm(String authNm) {
this.authNm = authNm;
}
}

@ -25,6 +25,6 @@ public class XitAuthorGroupInfoVO {
private String groupNm; //그룹 명
private String dscrp; //그룹 설명
private String authId; //권한 코드
private String authorNm;
private String authNm;
private String groupCreatDe; //그룹 생성 일
}

@ -26,7 +26,7 @@ public class XitAuthorInfoVO {
private static final long serialVersionUID = 4982342550430087973L;
protected String authId; //권한 코드
protected String authorNm; //권한 명
protected String authNm; //권한 명
protected String dscrp; //권한 설명
protected String authorCreatDe; //권한 생성 일
protected String regDt; //권한 생성 일
}

@ -223,7 +223,7 @@ public class AuthHierarchyMgtServiceBean extends AbstractServiceBean implements
List<XitAuthorInfoVO> listAuthorInfoVO = authAuthorMgtMapper.selectAuthorInfos(null);
Map<String, String> mAuthorInfo = new HashMap<String, String>();
for(XitAuthorInfoVO item : listAuthorInfoVO) {
mAuthorInfo.put(item.getAuthId(), item.getAuthorNm());
mAuthorInfo.put(item.getAuthId(), item.getAuthNm());
}
StringBuffer sb = new StringBuffer();

@ -58,7 +58,7 @@ public class AuthHierarchyMgtController extends AbstractController {
//권한코드 Map 생성
List<XitAuthorInfoVO> authorInfoVOList = authAuthorMgtService.findAuthAuthors(null);
Map<String, String> mAuthorInfo = new HashMap<String, String>();
authorInfoVOList.forEach(infoVO -> mAuthorInfo.put(infoVO.getAuthId(), infoVO.getAuthorNm()));
authorInfoVOList.forEach(infoVO -> mAuthorInfo.put(infoVO.getAuthId(), infoVO.getAuthNm()));
//권한코드 목록에서 비중복 권한만 추출
Map<String, String> mNoDuplAuthorInfo = new HashMap<String, String>();
@ -78,7 +78,7 @@ public class AuthHierarchyMgtController extends AbstractController {
for (String authId : mNoDuplAuthorInfo.keySet()) {
XitAuthorInfoVO authorInfo = new XitAuthorInfoVO();
authorInfo.setAuthId(authId);
authorInfo.setAuthorNm(mNoDuplAuthorInfo.get(authId));
authorInfo.setAuthNm(mNoDuplAuthorInfo.get(authId));
listAuthorInfo.add(authorInfo);
}

@ -28,11 +28,11 @@ public class MenuCreateMngVO extends BaseVO {
/** 권한정보설정 */
/** 권한명 */
private String authorNm;
private String authNm;
/** 권한설명 */
private String dscrp;
/** 권한생성일자 */
private String authorCreatDe;
private String regDt;
/** 기타VO변수 */
/** 생성자ID **/
@ -92,18 +92,18 @@ public class MenuCreateMngVO extends BaseVO {
this.authId = authId;
}
/**
* authorNm attribute .
* authNm attribute .
* @return String
*/
public String getAuthorNm() {
return authorNm;
public String getAuthNm() {
return authNm;
}
/**
* authorNm attribute .
* @param authorNm String
* authNm attribute .
* @param authNm String
*/
public void setAuthorNm(String authorNm) {
this.authorNm = authorNm;
public void setAuthNm(String authNm) {
this.authNm = authNm;
}
/**
* dscrp attribute .
@ -120,18 +120,18 @@ public class MenuCreateMngVO extends BaseVO {
this.dscrp = dscrp;
}
/**
* authorCreatDe attribute .
* regDt attribute .
* @return String
*/
public String getAuthorCreatDe() {
return authorCreatDe;
public String getRegDt() {
return regDt;
}
/**
* authorCreatDe attribute .
* @param authorCreatDe String
* regDt attribute .
* @param regDt String
*/
public void setAuthorCreatDe(String authorCreatDe) {
this.authorCreatDe = authorCreatDe;
public void setRegDt(String regDt) {
this.regDt = regDt;
}
/**
* creatPersonId attribute .

@ -40,8 +40,8 @@
<when test='type != null and type == "AUTHOR"'>
/* 권한 코드 */
SELECT auth_Id AS code
, author_nm AS code_val
FROM xit_author_info
, AUTH_NM AS code_val
FROM TB_AUTHORITY
</when>
<when test='type != null and type == "AUTHOR_GRP"'>

@ -74,40 +74,40 @@
/** findXitAuthorInfos */
/** 권한정보 다건 조회 */
SELECT auth_Id
,AUTHOR_NM
,AUTH_NM
,DSCRP
,AUTHOR_CREAT_DE
FROM XIT_AUTHOR_INFO
,REG_DT
FROM TB_AUTHORITY
WHERE 1=1
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authId)">AND auth_Id = #{authId}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">AND AUTHOR_NM = #{authorNm}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authNm)">AND AUTH_NM = #{authNm}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">AND DSCRP = #{dscrp}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorCreatDe)">AND AUTHOR_CREAT_DE =
#{authorCreatDe}
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(regDt)">AND REG_DT =
#{regDt}
</if>
</select>
<select id="findXitAuthorInfo" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
/** findXitAuthorInfo */
/** 권한정보 조회 */
SELECT auth_Id
,AUTHOR_NM
,AUTH_NM
,DSCRP
,AUTHOR_CREAT_DE
FROM XIT_AUTHOR_INFO
,REG_DT
FROM TB_AUTHORITY
WHERE 1=1
AND auth_Id = #{authId}
</select>
<insert id="addXitAuthorInfo">
/** addXitAuthorInfo */
/** 권한정보 등록 */
INSERT INTO XIT_AUTHOR_INFO(
INSERT INTO TB_AUTHORITY(
auth_Id
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">,AUTHOR_NM</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authNm)">,AUTH_NM</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,DSCRP</if>
,AUTHOR_CREAT_DE
,REG_DT
)VALUES(
#{authId}
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">,#{authorNm}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authNm)">,#{authNm}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">,#{dscrp}</if>
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
)
@ -115,10 +115,10 @@
<update id="modifyXitAuthorInfo">
/** modifyXitAuthorInfo */
/** 권한정보 수정 */
UPDATE XIT_AUTHOR_INFO
UPDATE TB_AUTHORITY
SET
AUTHOR_CREAT_DE = AUTHOR_CREAT_DE
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(authorNm)">,AUTHOR_NM = #{authorNm}</if>
REG_DT = REG_DT
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(authNm)">,AUTH_NM = #{authNm}</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notBlank(dscrp)">,DSCRP = #{dscrp}</if>
WHERE 1=1
AND auth_Id = #{authId}
@ -126,7 +126,7 @@
<delete id="removeXitAuthorInfo">
/** removeXitAuthorInfo */
/** 권한정보 삭제 */
DELETE FROM XIT_AUTHOR_INFO
DELETE FROM TB_AUTHORITY
WHERE 1=1
AND auth_Id = #{authId}
</delete>

@ -3,20 +3,20 @@
<mapper namespace="cokr.xit.fims.framework.biz.mng.auth.dao.AuthAuthorMgtMapper">
<!-- *************************************************************************************************************
* xit_author_info : 권한 정보
* TB_AUTHORITY : 권한 정보
************************************************************************************************************** -->
<sql id="sqlAuthorInfo">
SELECT auth_Id
, author_nm
, AUTH_NM
, dscrp
, author_creat_de
FROM xit_author_info
, REG_DT
FROM TB_AUTHORITY
<where>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authId)">
AND auth_Id = #{authId}
</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authorNm)">
AND INSTR(author_nm, #{authorNm}) > 0
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authNm)">
AND INSTR(AUTH_NM, #{authNm}) > 0
</if>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(dscrp)">
AND INSTR(dscrp, #{dscrp}) > 0
@ -28,7 +28,7 @@
<select id="selectAuthorInfos" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
/* auth-author-mysql-mapper|selectAuthorInfos-권한 목록 조회|julim */
<include refid="sqlAuthorInfo"/>
ORDER BY author_creat_de DESC
ORDER BY REG_DT DESC
</select>
<select id="selectAuthorInfo" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
@ -38,14 +38,14 @@
<insert id="insertAuthorInfo" parameterType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
/* auth-author-mysql-mapper|insertAuthorInfo-권한 정보 등록|julim */
INSERT INTO xit_author_info (
INSERT INTO TB_AUTHORITY (
auth_Id
, author_nm
, AUTH_NM
, dscrp
, author_creat_de
, REG_DT
) VALUES (
#{authId}
,#{authorNm}
,#{authNm}
,#{dscrp}
,DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
)
@ -53,8 +53,8 @@
<update id="updateAuthorInfo" parameterType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
/* auth-author-mysql-mapper|updateAuthorInfos-권한 정보 변경|julim */
UPDATE xit_author_info
SET author_nm = IF(author_nm = #{authorNm}, author_nm, #{authorNm})
UPDATE TB_AUTHORITY
SET AUTH_NM = IF(AUTH_NM = #{authNm}, AUTH_NM, #{authNm})
, dscrp = IF(dscrp = #{dscrp}, dscrp, #{dscrp})
WHERE auth_Id = #{authId}
</update>
@ -62,7 +62,7 @@
<delete id="deleteAuthorInfo" parameterType="cokr.xit.fims.framework.biz.mng.auth.XitAuthorInfoVO">
/* auth-author-mysql-mapper|deleteAuthorInfos-권한 정보 삭제|julim */
DELETE
FROM xit_author_info
FROM TB_AUTHORITY
WHERE auth_Id = #{authId}
</delete>

@ -11,10 +11,10 @@
, agi.group_nm
, agi.dscrp
, agi.auth_Id
, xai.author_nm
, xai.AUTH_NM
, agi.group_creat_de
FROM xit_author_group_info agi
LEFT OUTER JOIN xit_author_info xai
LEFT OUTER JOIN TB_AUTHORITY xai
ON agi.auth_Id = xai.auth_Id
<where>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(groupNm)">

@ -3,16 +3,16 @@
<mapper namespace="cokr.xit.fims.framework.biz.mng.auth.dao.AuthHierarchyMgtMapper">
<!-- *************************************************************************************************************
* xit_author_info : 권한 정보
* TB_AUTHORITY : 권한 정보
************************************************************************************************************** -->
<select id="selectAuthHierarchies" resultType="cokr.xit.fims.framework.biz.mng.auth.XitAuthHierarchyMngVO">
SELECT auth_Id
, author_nm
, AUTH_NM
, dscrp
, author_creat_de
FROM xit_author_info
, REG_DT
FROM TB_AUTHORITY
<where>
AND INSTR(author_nm, #{searchKeyword}) > 0
AND INSTR(AUTH_NM, #{searchKeyword}) > 0
</where>
</select>

@ -4,17 +4,17 @@
<mapper namespace="cokr.xit.fims.framework.biz.mng.menu.dao.MenuByRoleMgtMapper">
<!-- *************************************************************************************************************
* xit_author_info : 권한 정보
* TB_AUTHORITY : 권한 정보
************************************************************************************************************** -->
<sql id="sqlAuthorInfo">
SELECT xai.auth_Id
, xai.author_nm
, xai.AUTH_NM
, xai.dscrp
, xai.author_creat_de
, xai.REG_DT
, (SELECT COUNT(auth_Id)
FROM xit_menu_creat_dtls
WHERE xai.auth_Id = auth_Id ) AS chkYeoBu
FROM xit_author_info xai
FROM TB_AUTHORITY xai
<where>
<if test="@cokr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(authId)">
AND INSTR(xai.auth_Id, #{authId})

@ -47,7 +47,7 @@
<select id="authId" name="authId">
<option value="">== 선택하세요 ==</option>
<c:forEach var="row" items="${listAuthorInfoVO }">
<option value="<c:out value="${row.auth_Id }"/>" <c:if test="${row.auth_Id eq groupManage.authId}">selected="selected"</c:if> ><c:out value="${row.author_nm }"/></option>
<option value="<c:out value="${row.auth_Id }"/>" <c:if test="${row.auth_Id eq groupManage.authId}">selected="selected"</c:if> ><c:out value="${row.AUTH_NM }"/></option>
</c:forEach>
</select>
</td>

@ -47,7 +47,7 @@
<select id="authId" name="authId">
<option value="">== 선택하세요 ==</option>
<c:forEach var="row" items="${listAuthorInfoVO }">
<option value="<c:out value="${row.auth_Id }"/>"><c:out value="${row.author_nm }"/></option>
<option value="<c:out value="${row.auth_Id }"/>"><c:out value="${row.AUTH_NM }"/></option>
</c:forEach>
</select>
</td>

@ -316,7 +316,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
renderer: {
type: XitColumnMergeRenderer,
options: {
listColumns: ['authorNm', 'authId'],
listColumns: ['authNm', 'authId'],
format: '{0}({1})'
}
}

@ -82,7 +82,7 @@
<c:forEach var="row" items="${authorList }">
<li>
<span>
<c:out value="${row.author_nm }"/>
<c:out value="${row.AUTH_NM }"/>
<input type="hidden" id="authId" value="<c:out value="${row.auth_Id }"/>" />
</span>
</li>

@ -236,7 +236,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
},
{
header: '권한 명',
name: 'authorNm',
name: 'authNm',
width:200,
sortable: false,
align: 'left'

@ -31,7 +31,7 @@
<th width="20%" scope="row" nowrap="nowrap">
<label class="required">권한 명</label>
</th>
<td nowrap="nowrap"><input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="40" title="권한명" />&nbsp;<form:errors path="authorNm" /></td>
<td nowrap="nowrap"><input name="authNm" id="authNm" type="text" value="<c:out value='${authorManage.authNm}'/>" maxLength="50" size="40" title="권한명" />&nbsp;<form:errors path="authNm" /></td>
</tr>
<tr>
<th width="20%" scope="row" nowrap="nowrap">
@ -43,7 +43,7 @@
<th width="20%" scope="row" nowrap="nowrap">
<label class="required">등록일자</label>
</th>
<td nowrap="nowrap"><input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorManage.authorCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/></td>
<td nowrap="nowrap"><input name="regDt" id="regDt" type="text" value="<c:out value='${authorManage.regDt}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/></td>
</tr>
</table>
<div class="container-window-btn1">

@ -31,7 +31,7 @@
<th width="20%" scope="row" nowrap="nowrap">
<label class="required">권한 명</label>
</th>
<td nowrap="nowrap"><input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="40" title="권한명" />&nbsp;<form:errors path="authorNm" /></td>
<td nowrap="nowrap"><input name="authNm" id="authNm" type="text" value="<c:out value='${authorManage.authNm}'/>" maxLength="50" size="40" title="권한명" />&nbsp;<form:errors path="authNm" /></td>
</tr>
<tr>
<th width="20%" scope="row" nowrap="nowrap">
@ -43,7 +43,7 @@
<th width="20%" scope="row" nowrap="nowrap">
<label class="required">등록일자</label>
</th>
<td nowrap="nowrap"><input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorManage.authorCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/></td>
<td nowrap="nowrap"><input name="regDt" id="regDt" type="text" value="<c:out value='${authorManage.regDt}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/></td>
</tr>
</table>
<div class="container-window-btn1">

@ -318,7 +318,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
},
{
header: '권한 명',
name: 'authorNm',
name: 'authNm',
minWidth:200,
sortable: false,
align: 'left'
@ -332,7 +332,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
},
{
header: '등록일자',
name: 'authorCreatDe',
name: 'regDt',
width: 120,
sortable: false,
align: 'center'

@ -215,9 +215,9 @@ function press() {
<tr>
<td nowrap="nowrap"><input type="checkbox" name="delYn" class="check2" title="선택"><input type="hidden" name="checkId" value="<c:out value="${author.authId}"/>" /></td>
<td nowrap="nowrap"><a href="#LINK" onclick="javascript:fncSelectAuthor('<c:out value="${author.authId}"/>')"><c:out value="${author.authId}"/></a></td>
<td nowrap="nowrap"><c:out value="${author.authorNm}"/></td>
<td nowrap="nowrap"><c:out value="${author.authNm}"/></td>
<td nowrap="nowrap"><c:out value="${author.dscrp}"/></td>
<td nowrap="nowrap"><c:out value="${author.authorCreatDe}"/></td>
<td nowrap="nowrap"><c:out value="${author.regDt}"/></td>
<td nowrap="nowrap"><a href="#LINK" onclick="javascript:fncSelectAuthorRole('<c:out value="${author.authId}"/>')"><img src="<c:url value='/resources/image/fims/framework/etc/img_search.gif'/>" width="15" height="15" align="middle" alt="롤 정보"></a></td>
</tr>
</c:forEach>

@ -341,7 +341,7 @@ GridConfig.setOptColumns([ //Grid 컬럼 정보(명칭,매핑 field, 기타옵
<c:forEach var="row" items="${authorManageList}" varStatus="status">
<c:if test="${not status.first}">,</c:if>
{
text: '${row.author_nm}'
text: '${row.AUTH_NM}'
,value: '${row.auth_Id}'
}
</c:forEach>

@ -248,7 +248,7 @@ function press() {
<td nowrap="nowrap">
<select name="authorManageCombo" title="권한">
<c:forEach var="authorManage" items="${authorManageList}" varStatus="status">
<option value="<c:out value="${authorManage.auth_Id}"/>" <c:if test="${authorManage.auth_Id == authorGroup.authId}">selected</c:if> ><c:out value="${authorManage.author_nm}"/></option>
<option value="<c:out value="${authorManage.auth_Id}"/>" <c:if test="${authorManage.auth_Id == authorGroup.authId}">selected</c:if> ><c:out value="${authorManage.AUTH_NM}"/></option>
</c:forEach>
</select>
</td>

@ -19,8 +19,8 @@
<tbody>
<tr>
<td>
<label for="authorNm">권한명</label>
<input id="authorNm" name="authorNm" type="text" size="25" title="권한코드명" />
<label for="authNm">권한명</label>
<input id="authNm" name="authNm" type="text" size="25" title="권한코드명" />
</td>
<td colspan="6">
<button type="button" id="btnSearch" class="btn btn-search" title="검색">검색</button>
@ -201,7 +201,7 @@
},
{
header: '권한 명',
name: 'authorNm',
name: 'authNm',
minWidth:200,
sortable: false,
align: 'left'
@ -215,7 +215,7 @@
},
{
header: '등록일자',
name: 'authorCreatDe',
name: 'regDt',
width: 120,
sortable: false,
align: 'center',

@ -37,7 +37,7 @@
<label class="required">권한명</label>
</th>
<td nowrap="nowrap">
<input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorInfoVO.authorNm}'/>" maxLength="50" size="40" title="권한명"/>&nbsp;
<input name="authNm" id="authNm" type="text" value="<c:out value='${authorInfoVO.authNm}'/>" maxLength="50" size="40" title="권한명"/>&nbsp;
</td>
</tr>
<tr>
@ -53,7 +53,7 @@
<label>등록일자</label>
</th>
<td nowrap="nowrap">
<input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorInfoVO.authorCreatDe}'/>" maxLength="50" size="20"
<input name="regDt" id="regDt" type="text" value="<c:out value='${authorInfoVO.regDt}'/>" maxLength="50" size="20"
readonly="readonly" title="등록일자"/>
</td>
</tr>
@ -109,9 +109,9 @@
$('#authId').focus();
return false;
}
if ($('#authorNm').val() === '') {
if ($('#authNm').val() === '') {
alert('[권한명]은 필수 입니다.');
$('#authorNm').focus();
$('#authNm').focus();
return false;
}
return true;
@ -143,7 +143,7 @@
* initialize
**************************************************************************/
$(document).ready(function () {
$('#authorCreatDe').val(StrDateTimeFormat.format('<c:out value="${authorInfoVO.authorCreatDe}"/>'));
$('#regDt').val(StrDateTimeFormat.format('<c:out value="${authorInfoVO.regDt}"/>'));
orgData = $('form').serialize();
});

@ -206,7 +206,7 @@
renderer: {
type: XitColumnMergeRenderer,
options: {
listColumns: ['authorNm', 'authId'],
listColumns: ['authNm', 'authId'],
format: '{0}({1})'
}
}

@ -105,7 +105,7 @@
}
if($('#groupNm').val() === ''){
alert('[권한그룹 명]은 필수 입니다.');
$('#authorNm').focus();
$('#authNm').focus();
return false;
}
return true;

@ -211,7 +211,7 @@
},
{
header: '권한 명',
name: 'authorNm',
name: 'authNm',
width:200,
sortable: false,
align: 'left'

@ -124,7 +124,7 @@
<c:forEach var="row" items="${authorList }">
<li>
<span>
<c:out value="${row.author_nm }"/>
<c:out value="${row.AUTH_NM }"/>
<input type="hidden" id="authId"
value="<c:out value="${row.auth_Id }"/>"/>
</span>
@ -244,7 +244,7 @@
}
if ($('#groupNm').val() === '') {
alert('[권한그룹 명]은 필수 입니다.');
$('#authorNm').focus();
$('#authNm').focus();
return false;
}
return true;

@ -124,7 +124,7 @@ function selectMenuCreat(vAuthId) {
<!-- loop 시작 -->
<tr>
<td nowrap="nowrap" ><c:out value="${result.authId}"/></td>
<td nowrap="nowrap" ><c:out value="${result.authorNm}"/></td>
<td nowrap="nowrap" ><c:out value="${result.authNm}"/></td>
<td nowrap="nowrap" ><c:out value="${result.dscrp}"/></td>
<td nowrap="nowrap" >
<c:if test="${result.chkYeoBu > 0}">Y</c:if>

@ -160,7 +160,7 @@
},
{
header: '권한명',
name: 'authorNm',
name: 'authNm',
minWidth: 250,
sortable: true,
filter: 'select',

Loading…
Cancel
Save