국제범죄검거현황 담당경찰관 컬럼 추가.

목록 조회 양식 수정.
master
강석 최 2023-05-19 10:58:41 +09:00
parent 4f0ee09711
commit cf549d0917
5 changed files with 38 additions and 1 deletions

View File

@ -30,6 +30,8 @@ public class InternationalCrimeArrest extends BaseModel {
private String organ;
@Column(name = "department")
private String department;
@Column(name = "case_officer")
private String caseOfficer;
@Column(name = "crime_type")
private String crimeType;
@Column(name = "violation_type")

View File

@ -62,6 +62,7 @@
SELECT a.ica_key,
a.organ,
a.department,
a.case_officer,
a.crime_type,
a.violation_type,
a.crime_name,
@ -70,7 +71,12 @@
a.suspect_table,
a.crime_awareness_dt,
a.case_sent_dt,
a.case_num
a.case_num,
a.wrt_organ,
a.wrt_part,
a.wrt_user_grd,
a.wrt_user_nm,
a.wrt_dt
FROM international_crime_arrest a
<include refid="selectInternationalCrimeArrestListWhere"></include>
ORDER BY a.ica_key DESC

View File

@ -139,6 +139,7 @@
<th>순번</th>
<th>지방청</th>
<th>경찰서</th>
<th>담당경찰관</th>
<th>
<div>범죄테마</div>
<div>(대분류)</div>
@ -157,6 +158,8 @@
<th>피의자 인적사항</th>
<th>범죄인지</th>
<th>사건송치</th>
<th>작성자</th>
<th>작성일시</th>
</tr>
</thead>
<tbody class="table-group-divider text-center">
@ -173,6 +176,7 @@
<th:block th:if="${ica.department eq code.itemCd}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td th:text="${ica.caseOfficer}"></td>
<td>
<th:block th:each="code:${session.commonCode.get('CTH')}">
<th:block th:if="${ica.crimeType eq code.itemCd}" th:text="${code.itemValue}"></th:block>
@ -208,6 +212,19 @@
</td>
<td th:text="${#temporals.format(ica.crimeAwarenessDt, 'yyyy-MM-dd')}"></td>
<td th:text="${#temporals.format(ica.caseSentDt, 'yyyy-MM-dd')}"></td>
<td>
<th:block th:each="code:${session.commonCode.get('OG')}">
<th:block th:if="${ica.wrtOrgan eq code.itemCd}" th:text="${code.itemValue}"></th:block>
</th:block>
<th:block th:each="code:${session.commonCode.get(ica.wrtOrgan)}">
<th:block th:if="${ica.wrtPart eq code.itemCd}" th:text="${code.itemValue}"></th:block>
</th:block>
<th:block th:each="code:${session.commonCode.get('GRD')}">
<th:block th:if="${ica.wrtUserGrd eq code.itemCd}" th:text="${code.itemValue}"></th:block>
</th:block>
<th:block th:text="${ica.wrtUserNm}"></th:block>
</td>
<td th:text="${#temporals.format(ica.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
</tr>
</th:block>
</tbody>

View File

@ -39,6 +39,10 @@
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">담당경찰관</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm" name="caseOfficer">
</div>
</div>
<div class="row mb-1" id="spiParentDiv">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">범죄테마</label>

View File

@ -7,6 +7,12 @@
<div class="modal-body">
<input type="hidden" name="icaKey" id="viewModalKey" th:value="${ica.icaKey}">
<input type="hidden" name="icaKey" id="viewModalViolationType" th:value="${ica.violationType}">
<div class="row mb-1 justify-content-end">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성자</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${ica.caseOfficer}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일시</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(ica.wrtDt, 'yyyy-MM-dd HH:mm')}"></label>
</div>
<div class="row mb-1">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">지방청</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start">
@ -20,6 +26,8 @@
<th:block th:if="${code.itemCd eq ica.department}" th:text="${code.itemValue}"></th:block>
</th:block>
</label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">담당경찰관</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${ica.caseOfficer}"></label>
</div>
<div class="row mb-1">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">범죄테마</label>