fix: html indent fix

html 표준 fix
main
minuk926 2 years ago
parent b20523a7ab
commit c16b142f59

@ -17,13 +17,11 @@
, last_updusr_id
FROM xit_cmmn_cl_code
<where>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
<if test="searchCondition eq 'clCode'">
AND INSTR(cl_code, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'clCodeNm'">
AND INSTR(cl_code_nm, #{searchKeyword}) > 0
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND INSTR(cl_code, #{clCode}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCodeNm)">
AND INSTR(cl_code_nm, #{clCodeNm}) > 0
</if>
</where>
</sql>

@ -25,19 +25,20 @@
JOIN xit_cmmn_code xcc
ON cdc.code_id = xcc.code_id
<where>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
<if test="searchCondition eq 'codeId'">
AND INSTR(cdc.code_id, #{searchKeyword}) > 0
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND xcc.cl_code = #{clCode}
</if>
<if test="searchCondition eq 'code'">
AND INSTR(cdc.code, #{searchKeyword}) > 0
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeId)">
AND INSTR(cdc.code_id, #{codeId}) > 0
</if>
<if test="searchCondition eq 'codeNm'">
AND INSTR(cdc.code_nm, #{searchKeyword}) > 0
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeIdNm)">
AND INSTR(xcc.code_id_nm, #{codeIdNm}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(code)">
AND INSTR(cdc.code, #{code}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND xcc.cl_code = #{clCode}
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeNm)">
AND INSTR(cdc.code_nm, #{codeNm}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(useAt)">
AND cdc.use_at = #{useAt}

@ -24,13 +24,11 @@
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(clCode)">
AND xcc.cl_code = #{clCode}
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(searchKeyword)">
<if test="searchCondition eq 'codeId'">
AND INSTR(xcc.code_id, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'clCodeNm'">
AND INSTR(xcc.code_id_nm, #{searchKeyword}) > 0
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeId)">
AND INSTR(xcc.code_id, #{codeId}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(codeIdNm)">
AND INSTR(xcc.code_id_nm, #{codeIdNm}) > 0
</if>
<if test="@kr.xit.framework.core.utils.XitCmmnUtil@notEmpty(useAt)">
AND xcc.use_at = #{useAt}

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="kr.xit.framework.biz.mng.code.mapper.XitZipCodeMngMapper">
<!-- *************************************************************************************************************
* xit_zip : 우편번호
************************************************************************************************************** -->
<sql id="sqlZip">
SELECT zip
, sn
, ctprvn_nm
, signgu_nm
, emd_nm
, li_buld_nm
, lnbr_dong_ho
, frst_regist_pnttm
, frst_register_id
, last_updt_pnttm
, last_updusr_id
FROM xit_zip
<where>
<if test="searchCondition eq 'clCode'">
AND INSTR(cl_code, #{searchKeyword}) > 0
</if>
<if test="searchCondition eq 'clCodeNm'">
AND INSTR(cl_code_nm, #{searchKeyword}) > 0
</if>
</where>
</sql>
<select id="selectCmmnClCodes" resultType="kr.xit.framework.biz.mng.code.model.XitClCodeMngVO">
/* code-cfn-mysql-mapper|selectCmmnClCodes-분류코드 목록 조회|julim */
<include refid="sqlZip"/>
</select>
<select id="selectCmmnClCode" resultType="kr.xit.framework.biz.mng.code.model.XitClCodeMngVO">
/* code-cfn-mysql-mapper|selectCmmnClCode-분류코드 정보 조회|julim */
<include refid="sqlZip"/>
</select>
<insert id="insertCmmnClCode">
/* code-cfn-mysql-mapper|insertCmmnClCode-분류코드 정보 등록|julim */
INSERT
INTO xit_cmmn_cl_code (
cl_code
, cl_code_nm
, cl_code_dc
, use_at
, frst_regist_pnttm
, frst_register_id
) VALUE (
#{clCode}
, #{clCodeNm}
, #{clCodeDc}
, #{useAt}
, NOW()
, #{frstRegisterId}
)
</insert>
<update id="updateCmmnClCode">
/* code-cfn-mysql-mapper|updateCmmnClCode-분류코드 정보 변경|julim */
UPDATE xit_cmmn_cl_code
SET cl_code_nm = IF(cl_code_nm = #{clCodeNm}, cl_code_nm, #{clCodeNm})
, cl_code_dc = IF(cl_code_dc = #{clCodeDc}, cl_code_dc, #{clCodeDc})
, use_at = #{useAt}
, last_updt_pnttm = NOW()
, last_updusr_id = #{lastUpdusrId}
WHERE cl_code = #{clCode}
</update>
<delete id="deleteCmmnClCode">
/* code-cfn-mysql-mapper|deleteCmmnClCode-분류코드 정보 삭제|julim */
DELETE
FROM xit_cmmn_cl_code
WHERE cl_code = #{clCode}
</delete>
</mapper>

@ -7,22 +7,24 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
<col style="width: 250px;">
<col>
<col>
<col>
<col>
<col>
<col>
</colgroup>
<tbody>
<th>권한명</th>
<tr>
<td>
<label for="authorNm">권한명</label>
<input id="authorNm" name="authorNm" type="text" size="25" title="권한코드명" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -15,6 +15,7 @@
<col style="width: 20%;"/>
<col/>
</colgroup>
<tbody>
<tr>
<th class="required" scope="row" nowrap="nowrap">
<label>권한코드</label>
@ -51,9 +52,11 @@
<label>등록일자</label>
</th>
<td nowrap="nowrap">
<input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorInfoVO.authorCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/>
<input name="authorCreatDe" id="authorCreatDe" type="text" value="<c:out value='${authorInfoVO.authorCreatDe}'/>" maxLength="50" size="20"
readonly="readonly" title="등록일자"/>
</td>
</tr>
</tbody>
</table>
</form>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>

@ -11,11 +11,12 @@
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<td colspan="6">
<select id="searchCondition" name="searchCondition" title="조회조건" onchange="fnBiz.onSearchChange()">
<option value="userId">사용자 ID</option>
@ -28,6 +29,7 @@
<td>
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -7,8 +7,8 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 20%;"/>
<col style="width: 30%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
@ -16,13 +16,15 @@
<col/>
</colgroup>
<tbody>
<th>권한그룹명</th>
<tr>
<td>
<label for="groupNm">코드그룹ID</label>
<input id="groupNm" name="groupNm" type="text" size="25" title="검색" onkeypress="press();" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -16,6 +16,7 @@
<col style="width: 25%;"/>
<col/>
</colgroup>
<tbody>
<tr>
<th scope="row" nowrap="nowrap">
<label>권한그룹 ID</label>
@ -56,6 +57,7 @@
<input name="groupCreatDe" id="groupCreatDe" type="text" value="<c:out value='${groupManage.groupCreatDe}'/>" maxLength="50" size="20" readonly="readonly" title="등록일자"/>
</td>
</tr>
</tbody>
</table>
</form>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp"%>

@ -7,22 +7,24 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<th>권한명</th>
<tr>
<td>
<label for="searchKeyword">권한명</label>
<input id="searchKeyword" name="searchKeyword" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" onkeypress="XitAuthHierarchyMng_list.press();" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -10,18 +10,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col/>
<col style="width: 8%;"/>
<col>
<col/>
<col/>
<col/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<th>권한코드 : </th>
<td colspan="6">
<label for="authorCode">권한코드</label>
<input id="authorCode" name="authorCode" type="text" size="30" value="<c:out value='${authorRoleManageVO.roleCode}'/>" title="검색" readonly="readonly" />
</td>
<td>

@ -7,22 +7,24 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<th>롤(역할)명</th>
<tr>
<td>
<label for="roleNm">롤(역할)명</label>
<input id="roleNm" name="roleNm" type="text" size="25" title="검색" />
</td>
<td colspan="6">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>
</tbody>
</table>
</div>

@ -6,26 +6,25 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%;"/>
<col style="width: 20%;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<td>
<select name="searchCondition" title="검색조건" class="select" >
<option value='clCode'>분류코드</option>
<option value='clCodeNm'>분류코드명</option>
</select>
<td style="">
<label for="clCode">분류코드</label>
<input name="clCode" title="분류코드" type="text" size="15" maxlength="15" id="clCode">
</td>
<td>
<input name="searchKeyword" title="검색어" type="text" size="35" maxlength="35" id="searchKeyword" style="width:250px;">
<label for="clCodeNm">분류코드명</label>
<input name="clCodeNm" title="분류코드명" type="text" size="35" maxlength="35" id="clCodeNm">
</td>
<td colspan="6">
<td colspan="5">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -7,14 +7,12 @@
<caption>검색조건</caption>
<colgroup>
<col style="width: 110px;"/>
<col style="width: 225px;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col style="width: 100px;"/>
<col/>
<col/>
<col>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
@ -22,13 +20,16 @@
<code:select type="CMM_CFN" id="clCode" name="clCode" emptyMessageKey="table.select.clCode" title="분류코드" alt="selectBox tag" cls="selectBox"/>
</td>
<td>
<select name="searchCondition" title="검색조건" class="selectBox">
<option value=''>-- 검색조건 --</option>
<option value='codeId'>코드그룹</option>
<option value='code'>코드</option>
<option value='codeNm'>코드명</option>
</select>
<input name="searchKeyword" title="검색어" type="text" size="35" maxlength="35" id="searchKeyword" style="display: inline; width:120px;">
<label for="codeId">코드그룹ID</label>
<input name="codeId" title="코드그룹ID" type="text" size="15" maxlength="15" id="codeId">
</td>
<td>
<label for="codeIdNm">코드그룹명</label>
<input name="codeIdNm" title="코드그룹명" type="text" size="35" maxlength="35" id="codeIdNm">
</td>
<td>
<label for="codeNm">공통코드명</label>
<input name="codeNm" title="공통코드명" type="text" size="35" maxlength="35" id="codeNm">
</td>
<td>
<select name="useAt" title="사용여부" class="selectBox">
@ -37,7 +38,7 @@
<option value='N'>미사용</option>
</select>
</td>
<td colspan="6">
<td colspan="2">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -7,13 +7,11 @@
<caption>검색조건</caption>
<colgroup>
<col style="width: 100px;"/>
<col style="width: 225px;"/>
<col style="width: 250px;"/>
<col style="width: 250px"/>
<col style="width: 100px;"/>
<col/>
<col/>
<col>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
@ -22,12 +20,12 @@
<code:select type="CMM_CFN" id="clCode" name="clCode" emptyMessageKey="table.select.clCode" title="분류코드" alt="selectBox tag" cls="selectBox"/>
</td>
<td>
<select name="searchCondition" title="검색조건" class="selectBox">
<option value=''>-- 검색조건 --</option>
<option value='codeId'>코드그룹</option>
<option value='codeIdNm'>코드그룹명</option>
</select>
<input name="searchKeyword" title="검색어" type="text" size="35" maxlength="35" id="searchKeyword" style="display: inline; width:120px;">
<label for="codeId">코드그룹ID</label>
<input name="codeId" title="코드그룹ID" type="text" size="15" maxlength="15" id="codeId">
</td>
<td>
<label for="codeIdNm">코드그룹명</label>
<input name="codeIdNm" title="코드그룹명" type="text" size="35" maxlength="35" id="codeIdNm">
</td>
<td>
<select name="useAt" title="사용여부" class="selectBox">
@ -36,7 +34,7 @@
<option value='N'>미사용</option>
</select>
</td>
<td colspan="6">
<td colspan="2">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -7,18 +7,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 8%;"/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<th>권한코드</th>
<td>
<label for="authorCode">권한코드</label>
<input id="authorCode" name="authorCode" type="text" size="80" value="" maxlength="60" title="권한코드"/>
</td>
<td colspan="6">

@ -12,14 +12,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 20%;"/>
<col style="width: 50%;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<th>권한코드</th>
<td colspan="2">
<td colspan="7">
<label for="authorCode">권한코드</label>
<input id="authorCode" name="authorCode" type="text" size="30" value="${resultVO.authorCode}" title="검색" readonly/>
</td>
</tr>
@ -36,6 +40,7 @@
</c:forEach>
<table>
<caption>메뉴일괄등록</caption>
<tbody>
<tr>
<td width='20'>&nbsp;</td>
<td>
@ -75,6 +80,7 @@
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>

@ -7,25 +7,25 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 20%;"/>
<col style="width: 8%;"/>
<col style="width: 250px;"/>
<col style="width: 250px;"/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col style="width: 7%;"/>
</colgroup>
<tbody>
<tr>
<th>메뉴번호</th>
<td>
<label for="menuNo">메뉴번호</label>
<input id="menuNo" name="menuNo" type="text" size="8" maxlength="8" title="검색조건"/>
</td>
<th>메뉴명</th>
<td>
<label for="menuNm">메뉴명</label>
<input id="menuNm" name="menuNm" type="text" size="80" maxlength="60" title="검색조건"/>
</td>
<td colspan="4">
<td colspan="5">
<input type="button" id="btnSearch" class="btn_search" title="검색" value="검색" />
</td>
</tr>

@ -7,18 +7,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%">
<col style="width: 20%;">
<col style="width: 8%;">
<col style="width: 350px;">
<col>
<col>
<col>
<col>
<col>
<col style="width: 8%;">
<col>
<col style="width: 7%;">
</colgroup>
<tbody>
<tr>
<th>프로그램 한글명</th>
<td>
<label for="progrmKoreanNm">프로그램 한글명</label>
<input name="progrmKoreanNm" id="progrmKoreanNm" type="text" size="60" value="<c:out value='${progrmKoreanNm}'/>" maxlength="60" title="프로그램명">
</td>
<td colspan="6">

@ -11,18 +11,18 @@
<table>
<caption>검색조건</caption>
<colgroup>
<col style="width: 15%">
<col style="width: 20%;">
<col style="width: 8%;">
<col style="width: 350px;">
<col>
<col>
<col>
<col>
<col>
<col style="width: 8%;">
<col>
<col style="width: 7%;">
</colgroup>
<tbody>
<tr>
<th>프로그램 한글명</th>
<td>
<label for="progrmKoreanNm">프로그램 한글명</label>
<input name="progrmKoreanNm" id="progrmKoreanNm" type="text" size="60" value="<c:out value='${progrmKoreanNm}'/>" maxlength="60" title="프로그램명">
</td>
<td colspan="6">

@ -37,7 +37,7 @@ function createTree(arrName) {
treeNodes[getTreeArrayId(startNode)].split("|");
} else {
document.write("<input type='checkbox' name='checkAll' class='check2' onclick='javascript:fCheckAll();'><strong style='color: blue; font-weight: bold'>&nbsp;ROOT</strong>");
document.write("<br/><br/>");
document.write("<br/>");
}
const recursedNodes = new Array();
addTreeNode(startNode, recursedNodes);
@ -104,12 +104,12 @@ function addTreeNode(parentNode, recursedNodes) {
const lastSibling = lastTreeSibling(nodeValues[0], nodeValues[1]);
const hasChildNode = hasChildTreeNode(nodeValues[0]);
const isNodeOpen = isTreeNodeOpen(nodeValues[0]);
recursedNodes.forEach(()=>document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"));
recursedNodes.forEach(()=>document.write("&nbsp;&nbsp;&nbsp;"));
if (lastSibling) recursedNodes.push(0);
else recursedNodes.push(1);
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
document.write("&nbsp;&nbsp;&nbsp;");
//document.write("&nbsp;L&nbsp;");
document.write("<input type='checkbox' id='"+idx+"' name='checkField' class='check2' ");
if(nodeValues[4] == 1){ document.write(" checked "); }

Loading…
Cancel
Save