국제범죄 검거현황 저장 오류 수정.

master
최강석 2023-09-12 15:46:12 +09:00
parent 5f7f72cf45
commit fd2368956a
3 changed files with 8 additions and 3 deletions

View File

@ -70,7 +70,7 @@ public class InternationalCrimeArrestService extends BaseService {
icaSuspectInfoRepository.saveAll(ica.getSuspectInfoList());
switch (ica.getViolationType()) {
case "CTH101": case "CTH102": case "CTH103": case "CTH104": case "CTH105":
case "CTH101": case "CTH102": case "CTH103": case "CTH104": //case "CTH105":
case "CTH201": case "CTH202": case "CTH203": case "CTH204": case "CTH401":
ica.getSubInfo().setIcaKey(icaKey);
break;

View File

@ -83,6 +83,11 @@ $(document).on('change', '#crimeForm', function (){
$(document).on('click', '#spiAddBtn', function (){
$("#spiDiv").append($("#spiInputDiv").children().clone());
$(".stayPeriodExpiredDt").datepicker({
format: "yyyy-mm-dd",
language: "ko",
autoclose: true
});
spiRemoveBtnControl()
})
$(document).on('click', '.spiRemoveBtn', function (){
@ -135,7 +140,7 @@ function inputControl(violationType){
case "CTH103":
$(".extCommonInputDiv").show().find('input,select').removeAttr("disabled");
case "CTH104":
case "CTH105":
//case "CTH105":
$("."+violationType+"Div").show().find('input,select').removeAttr("disabled");
break;
case "CTH201":

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="modal-header bg-dark">
<h5 class="modal-title text-white" id="icaEditModalLabel" th:text="${ica.icaKey eq null ? '국제범죄검거 현황 수정' : '국제범죄검거 현황 등록'}">></h5>
<h5 class="modal-title text-white" id="icaEditModalLabel" th:text="${ica.icaKey eq null ? '국제범죄검거 현황 등록' : '국제범죄검거 현황 수정'}">></h5>
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="icaEditBody">