게시판 목록 순서 정렬

master
Hyung Geun 2023-01-28 10:50:45 +09:00
parent 9330763c2c
commit 04d9a69dac
15 changed files with 59 additions and 43 deletions

View File

@ -101,15 +101,15 @@
<th rowspan="3">사건담당경찰서</th>
<th rowspan="3">단속경찰서</th>
<th rowspan="3">단속함정</th>
<th rowspan="2">압송</th>
<th width="80px" rowspan="2">압송</th>
<th colspan="2">미압송</th>
</tr>
<tr class="table-secondary">
<th>현장조사</th>
<th>기타</th>
<th>검사인원</th>
<th>양성</th>
<th>음성</th>
<th width="80px">현장조사</th>
<th width="80px">기타</th>
<th width="80px">검사인원</th>
<th width="80px">양성</th>
<th width="80px">음성</th>
</tr>
<tr class="table-secondary">
<th></th>

View File

@ -57,7 +57,7 @@
<div class="col-sm-2">
<select class="form-select form-select-sm" name="arrestCd" id="arrestCd">
<option value="">검거유형1 선택-</option>
<th:block th:each="commonCode:${session.commonCode.get('AT')}">
<th:block th:each="commonCode:${session.commonCode.get('CTH')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
th:selected="${boardInvestigation.arrestType != null and commonCode.itemCd eq boardInvestigation.arrestType.arrestCd}"></option>
</th:block>

View File

@ -80,6 +80,7 @@
<thead>
<tr class="table-secondary">
<th>순번</th>
<th>직책</th>
<th>계급</th>
<th>성명</th>
<th></th>
@ -98,6 +99,7 @@
<tr class="policeTr" th:each="police:${policeList}">
<input type="hidden" class="userSeq" th:value="${police.userSeq}">
<td th:text="${police.rownum}"></td>
<td></td>
<td th:text="${police.titleCd}"></td>
<td th:text="${police.userNm}"></td>
<td th:text="${police.organNm}"></td>

View File

@ -81,18 +81,14 @@
<thead>
<tr class="table-secondary">
<th>순번</th>
<th>직책</th>
<th>계급</th>
<th>성명</th>
<th></th>
<th>현부서<br></th>
<th>생년월일</th>
<th>성별</th>
<th>고등학교</th>
<th>전문대</th>
<th>대학교</th>
<th>석사</th>
<th>박사</th>
<th>전공</th>
<th>최종수정일</th>
</tr>
</thead>
@ -102,18 +98,14 @@
<input type="hidden" class="userSeq" th:value="${list.userSeq}">
</th:block>
<td th:text="${list.rownum}"></td>
<td></td>
<td th:text="${list.titleCd}"></td>
<td th:text="${list.userNm}"></td>
<td th:text="${list.organNm}"></td>
<td th:text="${list.ofcCd}"></td>
<td th:text="${list.birthDate}"></td>
<td th:text="${list.sex}"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td th:text="${#temporals.format(list.lastWrtDt, 'yyyy-MM-dd')}"></td>
</tr>
</tbody>

View File

@ -94,6 +94,7 @@
<thead>
<tr class="table-secondary">
<th>순번</th>
<th>직책</th>
<th>계급</th>
<th>성명</th>
<th></th>
@ -121,6 +122,7 @@
<input type="hidden" class="userSeq" th:value="${list.userSeq}">
</th:block>
<td th:text="${list.rownum}"></td>
<td></td>
<td th:text="${list.titleCd}"></td>
<td th:text="${list.userNm}"></td>
<td th:text="${list.organNm}"></td>

View File

@ -66,6 +66,8 @@
</form>
</div>
<div class="modal-footer bg-light">
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
</div>

View File

@ -65,22 +65,25 @@
<table class="table table-sm table-hover table-bordered">
<thead>
<tr class="table-color">
<th></th>
<th>순번</th>
<th>제목</th>
<th>첨부파일</th>
<th>댓글</th>
<th>관서</th>
<th>부서</th>
<th>계급</th>
<th>작성자</th>
<th>작성일시</th>
<th>첨부파일</th>
<th>댓글</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr class="planTr" th:each="board:${boardList}">
<tr class="planTr" th:each="board,cnt:${boardList}">
<input type="hidden" class="planKey" th:value="${board.publicKey}">
<td><input type="checkbox" class="trChkBox"></td>
<!--<td><input type="checkbox" class="trChkBox"></td>-->
<td th:text="${cnt.count}"></td>
<td align="left" th:text="${board.title}"></td>
<td th:text="${board.fileCnt eq null?'파일 없음':#strings.concat(board.fileCnt,' 건')}"></td>
<td th:text="${board.commentCnt eq null?'0':board.commentCnt}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${board.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block>
@ -92,8 +95,6 @@
</th:block>
<td th:text="${board.wrtUserNm}"></td>
<td th:text="${#temporals.format(board.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
<td th:text="${board.fileCnt eq null?'파일 없음':#strings.concat(board.fileCnt,' 건')}"></td>
<td th:text="${board.commentCnt eq null?'0':board.commentCnt}"></td>
</tr>
</tbody>
</table>

View File

@ -165,5 +165,7 @@
<th:block th:if="${userSeq eq info.wrtUserSeq}"><!--작성자일 경우 수정 허용-->
<button type="button" class="btn btn-warning" id="editBtn">수정</button>
</th:block>
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
</div>

View File

@ -67,6 +67,8 @@
</form>
</div>
<div class="modal-footer bg-light">
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
</div>

View File

@ -68,22 +68,27 @@
<table class="table table-sm table-hover table-bordered">
<thead>
<tr class="table-color">
<th></th>
<th>순번</th>
<th>제목</th>
<th>첨부파일</th>
<th>댓글</th>
<th>관서</th>
<th>부서</th>
<th>계급</th>
<th>작성자</th>
<th>작성일시</th>
<th>첨부파일</th>
<th>댓글</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr class="noticeTr" th:each="notice:${noticeList}">
<tr class="noticeTr" th:each="notice,cnt:${noticeList}">
<input type="hidden" class="publicKey" th:value="${notice.publicKey}">
<!--
<td><input type="checkbox" class="trChkBox"></td>
-->
<td th:text="${cnt.count}"></td>
<td align="left" th:text="${notice.title}"></td>
<td th:text="${notice.fileCnt eq null?'파일 없음':#strings.concat(notice.fileCnt,' 건')}"></td>
<td th:text="${notice.commentCnt eq null?'0':notice.commentCnt}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${notice.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block>
@ -95,8 +100,6 @@
</th:block>
<td th:text="${notice.wrtUserNm}"></td>
<td th:text="${#temporals.format(notice.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
<td th:text="${notice.fileCnt eq null?'파일 없음':#strings.concat(notice.fileCnt,' 건')}"></td>
<td th:text="${notice.commentCnt eq null?'0':notice.commentCnt}"></td>
</tr>
</tbody>
</table>

View File

@ -165,5 +165,7 @@
<th:block th:if="${userSeq eq info.wrtUserSeq}"><!--작성자일 경우 수정 허용-->
<button type="button" class="btn btn-warning" id="editBtn">수정</button>
</th:block>
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
</div>

View File

@ -66,22 +66,25 @@
<table class="table table-sm table-hover table-bordered">
<thead>
<tr class="table-color">
<th></th>
<th>순번</th>
<th>제목</th>
<th>첨부파일</th>
<th>댓글</th>
<th>관서</th>
<th>부서</th>
<th>계급</th>
<th>작성자</th>
<th>작성일시</th>
<th>첨부파일</th>
<th>댓글</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr class="planTr" th:each="qna:${qnaList}">
<tr class="planTr" th:each="qna,cnt:${qnaList}">
<input type="hidden" class="planKey" th:value="${qna.publicKey}">
<td><input type="checkbox" class="trChkBox"></td>
<!--<td><input type="checkbox" class="trChkBox"></td>-->
<td th:text="${cnt.count}"></td>
<td align="left" th:text="${qna.title}"></td>
<td th:text="${qna.fileCnt eq null?'파일 없음':#strings.concat(qna.fileCnt,' 건')}"></td>
<td th:text="${qna.commentCnt eq null?'0':qna.commentCnt}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${qna.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>
</th:block>
@ -93,8 +96,6 @@
</th:block>
<td th:text="${qna.wrtUserNm}"></td>
<td th:text="${#temporals.format(qna.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
<td th:text="${qna.fileCnt eq null?'파일 없음':#strings.concat(qna.fileCnt,' 건')}"></td>
<td th:text="${qna.commentCnt eq null?'0':qna.commentCnt}"></td>
</tr>
</tbody>
</table>

View File

@ -85,6 +85,8 @@
</form>
</div>
<div class="modal-footer bg-light">
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
</div>

View File

@ -71,21 +71,24 @@
<table class="table table-sm table-hover table-bordered">
<thead>
<tr class="table-color">
<th></th>
<th>순번</th>
<th>제목</th>
<th>첨부파일</th>
<th>댓글</th>
<th>관서</th>
<th>부서</th>
<th>계급</th>
<th>작성자</th>
<th>작성일시</th>
<th>첨부파일</th>
<th>댓글</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr class="planTr" th:each="reference:${referenceList}">
<tr class="planTr" th:each="reference,cnt:${referenceList}">
<input type="hidden" class="planKey" th:value="${reference.publicKey}">
<!--
<td><input type="checkbox" class="trChkBox"></td>
-->
<td th:text="${cnt.count}"></td>
<td align="left" th:text="${reference.title}"></td>
<th:block th:each="commonCode:${session.commonCode.get('OG')}">
<td th:if="${reference.wrtOrgan eq commonCode.itemCd}" th:text="${commonCode.itemValue}"></td>

View File

@ -171,5 +171,7 @@
<th:block th:if="${userSeq eq info.wrtUserSeq}"><!--작성자일 경우 수정 허용-->
<button type="button" class="btn btn-warning" id="editBtn">수정</button>
</th:block>
<!--
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
-->
</div>