국제범죄검거현황 통계모달 양식 수정.
parent
44d9418961
commit
a5f3f9e1b8
|
|
@ -10,7 +10,9 @@ import lombok.Setter;
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public class IcaStatistics {
|
public class IcaStatistics {
|
||||||
private String crimeType;
|
private String crimeType;
|
||||||
|
private String crimeTypeCd;
|
||||||
private String violationType;
|
private String violationType;
|
||||||
|
private String violationTypeCd;
|
||||||
private Integer caseCnt = 0;
|
private Integer caseCnt = 0;
|
||||||
private Integer suspectCnt = 0;
|
private Integer suspectCnt = 0;
|
||||||
private Integer arrestCnt = 0;
|
private Integer arrestCnt = 0;
|
||||||
|
|
|
||||||
|
|
@ -106,8 +106,10 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectIcaStatistics" resultType="IcaStatistics" parameterType="IcaStatistics">
|
<select id="selectIcaStatistics" resultType="IcaStatistics" parameterType="IcaStatistics">
|
||||||
select a.item_value as crime_type ,
|
select a.item_value as crimeType ,
|
||||||
b.item_value as violation_type,
|
a.item_cd as crimeTypeCd,
|
||||||
|
b.item_value as violationType,
|
||||||
|
b.item_cd as violationTypeCd,
|
||||||
coalesce(c.caseCnt, 0) as caseCnt,
|
coalesce(c.caseCnt, 0) as caseCnt,
|
||||||
coalesce(c.suspectCnt, 0) as suspectCnt,
|
coalesce(c.suspectCnt, 0) as suspectCnt,
|
||||||
coalesce(c.arrestCnt, 0) as arrestCnt,
|
coalesce(c.arrestCnt, 0) as arrestCnt,
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="row justify-content-end mb-1">
|
<div class="row justify-content-end mb-1">
|
||||||
<div class="col-2">
|
<div class="col-1">
|
||||||
<select class="form-select form-select-sm" id="organ">
|
<select class="form-select form-select-sm" id="organ">
|
||||||
<th:block th:each="code:${session.commonCode.get('OG')}">
|
<th:block th:each="code:${session.commonCode.get('OG')}">
|
||||||
<th:block th:if="${code.useChk eq 'T' and #lists.contains(mgtOrganList, code.itemCd)}">
|
<th:block th:if="${code.useChk eq 'T' and #lists.contains(mgtOrganList, code.itemCd)}">
|
||||||
|
|
@ -15,17 +15,17 @@
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-1">
|
||||||
<select class="form-select form-select-sm" id="year">
|
<select class="form-select form-select-sm" id="year">
|
||||||
<th:block th:each="year:${yearOptionList}">
|
<th:block th:each="year:${yearOptionList}">
|
||||||
<option th:value="${year}" th:text="${year}" th:selected="${year eq searchParams.year}"></option>
|
<option th:value="${year}" th:text="|${year}년|" th:selected="${year eq searchParams.year}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-1">
|
||||||
<select class="form-select form-select-sm" id="month">
|
<select class="form-select form-select-sm" id="month">
|
||||||
<th:block th:each="num : ${#numbers.sequence(1,12)}">
|
<th:block th:each="num : ${#numbers.sequence(1,12)}">
|
||||||
<option th:value="${num}" th:text="${num}" th:selected="${num eq searchParams.month}"></option>
|
<option th:value="${num}" th:text="|${num}월|" th:selected="${num eq searchParams.month}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -78,7 +78,9 @@
|
||||||
</tr>
|
</tr>
|
||||||
<th:block th:each="statistics:${icaStatisticsList}">
|
<th:block th:each="statistics:${icaStatisticsList}">
|
||||||
<tr>
|
<tr>
|
||||||
<td th:text="${statistics.crimeType}"></td>
|
<th:block th:if="${session.commonCode.get(statistics.crimeTypeCd).get(0).itemCd eq statistics.violationTypeCd}">
|
||||||
|
<td th:rowspan="${session.commonCode.get(statistics.crimeTypeCd).size()}" th:text="${statistics.crimeType}"></td>
|
||||||
|
</th:block>
|
||||||
<td th:text="${statistics.violationType}"></td>
|
<td th:text="${statistics.violationType}"></td>
|
||||||
<th th:text="${statistics.caseCnt}"></th>
|
<th th:text="${statistics.caseCnt}"></th>
|
||||||
<th th:text="${statistics.suspectCnt}"></th>
|
<th th:text="${statistics.suspectCnt}"></th>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue