국제범죄 검거현황

- 입국비자, 체류자격, 체류기간 입력 항목 위치 변경.
 - 검색 조건 요청사항 반영
master
강석 최 2023-08-03 17:49:59 +09:00
parent a16e916ab1
commit 2bf4b346ad
8 changed files with 224 additions and 211 deletions

View File

@ -34,6 +34,8 @@ public class BaseModel {
@Transient @Transient
private Integer contentCnt=0; private Integer contentCnt=0;
@Transient @Transient
private String searchKeyword;
@Transient
private String dateSelector; private String dateSelector;
@Transient @Transient
private String startDate; private String startDate;

View File

@ -23,13 +23,6 @@ public class IcaSubInfo extends BaseModel {
@Id @Id
@Column(name = "ica_key") @Column(name = "ica_key")
private Integer icaKey; private Integer icaKey;
@Column(name = "stay_qualification")
private String stayQualification;
@Column(name = "stay_period_expired_dt")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate stayPeriodExpiredDt;
@Column(name = "entry_visa")
private String entryVisa;
@Column(name = "sea_area") @Column(name = "sea_area")
private String seaArea; private String seaArea;
@Column(name = "arrest_area") @Column(name = "arrest_area")
@ -49,4 +42,5 @@ public class IcaSubInfo extends BaseModel {
@Column(name = "violation_amount") @Column(name = "violation_amount")
private String violationAmount; private String violationAmount;
} }

View File

@ -4,9 +4,11 @@ import com.dbnt.faisp.config.BaseModel;
import lombok.*; import lombok.*;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.*; import javax.persistence.*;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDate;
import java.util.List; import java.util.List;
@Getter @Getter
@ -34,6 +36,13 @@ public class IcaSuspectInfo extends BaseModel {
private String processResult; private String processResult;
@Column(name = "suspect_name") @Column(name = "suspect_name")
private String suspectName; private String suspectName;
@Column(name = "entry_visa")
private String entryVisa;
@Column(name = "stay_qualification")
private String stayQualification;
@Column(name = "stay_period_expired_dt")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate stayPeriodExpiredDt;
@Embeddable @Embeddable
@Data @Data

View File

@ -19,42 +19,54 @@
<if test='violationType != null and violationType != ""'> <if test='violationType != null and violationType != ""'>
AND violation_type = #{violationType} AND violation_type = #{violationType}
</if> </if>
<if test='caseNum != null and caseNum != ""'>
AND case_num = #{caseNum}
</if>
<if test='crimeName != null and crimeName != ""'> <if test='crimeName != null and crimeName != ""'>
AND crime_name LIKE CONCAT('%', #{crimeName}, '%') AND crime_name LIKE CONCAT('%', #{crimeName}, '%')
</if> </if>
<if test='occurTable != null and occurTable != ""'> <if test='searchKeyword != null and searchKeyword != ""'>
AND occur_table LIKE CONCAT('%', #{occurTable}, '%') and (suspect_table LIKE CONCAT('%', #{searchKeyword}, '%')
</if> or arrest_table LIKE CONCAT('%', #{searchKeyword}, '%')
<if test='arrestTable != null and arrestTable != ""'> or occur_table LIKE CONCAT('%', #{searchKeyword}, '%')
AND arrest_table LIKE CONCAT('%', #{arrestTable}, '%') or case_officer LIKE CONCAT('%', #{searchKeyword}, '%')
</if> or case_overview LIKE CONCAT('%', #{searchKeyword}, '%')
<if test='suspectTable != null and suspectTable != ""'> or ica_key in (select ica_key
AND suspect_table LIKE CONCAT('%', #{suspectTable}, '%') from ica_sub_info
</if> where arrest_area LIKE CONCAT('%', #{searchKeyword}, '%')
<if test='crimeAwarenessDt != null'> or destination LIKE CONCAT('%', #{searchKeyword}, '%')
And crime_awareness_dt = #{crimeAwarenessDt}::DATE or crackdown_area LIKE CONCAT('%', #{searchKeyword}, '%')
</if> )
<if test='caseSentDt != null'> or ica_key in (select ica_key
AND case_sent_dt = #{caseSentDt}::DATE from ica_suspect_info
</if> where stay_qualification LIKE CONCAT('%', #{searchKeyword}, '%')
<if test='processResult != null and processResult != ""'> or entry_visa LIKE CONCAT('%', #{searchKeyword}, '%')
AND ica_key in ( )
select ica_key
from ica_suspect_info
where process_result = #{processResult}
) )
</if> </if>
<if test='dateSelector == "wrtDt"'> <choose>
<if test='startDate != null and startDate != ""'> <when test='dateSelector == "wrtDt"'>
And wrt_dt >= #{startDate}::DATE <if test='startDate != null and startDate != ""'>
</if> And wrt_dt >= #{startDate}::DATE
<if test='endDate != null and endDate != ""'> </if>
AND wrt_dt &lt;= #{endDate}::DATE+1 <if test='endDate != null and endDate != ""'>
</if> AND wrt_dt &lt;= #{endDate}::DATE+1
</if> </if>
</when>
<when test='dateSelector == "awarenessDt"'>
<if test='startDate != null and startDate != ""'>
And crime_awareness_dt >= #{startDate}::DATE
</if>
<if test='endDate != null and endDate != ""'>
AND crime_awareness_dt &lt;= #{endDate}::DATE+1
</if>
</when>
<when test='dateSelector == "caseSentDt"'>
<if test='startDate != null and startDate != ""'>
And case_sent_dt >= #{startDate}::DATE
</if>
<if test='endDate != null and endDate != ""'>
AND case_sent_dt &lt;= #{endDate}::DATE+1
</if>
</when>
</choose>
</where> </where>
</sql> </sql>

View File

@ -109,8 +109,16 @@ $(document).on('change', '.etcSelfInput', function (){
this.name = temp; this.name = temp;
selfInput.hide(); selfInput.hide();
} }
}) })
$(document).on('change', '.country', function (){
const visaInfoDiv = $(this).parents(".spi-list").find(".visaInfoDiv")
if(this.value === "NNY001"){
visaInfoDiv.hide();
}else{
visaInfoDiv.show();
}
})
function spiRemoveBtnControl(){ function spiRemoveBtnControl(){
if($(".spi-list").length>2){ if($(".spi-list").length>2){
$(".spiRemoveBtn").show(); $(".spiRemoveBtn").show();
@ -177,7 +185,6 @@ function getIcaEditModal(icaKey){
autoclose: true autoclose: true
}); });
setEditor('editor', '400'); setEditor('editor', '400');
spiRemoveBtnControl();
inputControl($("#violationType").val()); inputControl($("#violationType").val());
}, },
error:function(e){ error:function(e){
@ -200,9 +207,12 @@ function saveInternationalCrimeArrest(status){
formData.append("suspectInfoList["+idx+"].age", spi.find('.age').val()); formData.append("suspectInfoList["+idx+"].age", spi.find('.age').val());
formData.append("suspectInfoList["+idx+"].country", spi.find('.country').val()); formData.append("suspectInfoList["+idx+"].country", spi.find('.country').val());
formData.append("suspectInfoList["+idx+"].processResult", spi.find('.processResult').val()); formData.append("suspectInfoList["+idx+"].processResult", spi.find('.processResult').val());
formData.append("suspectInfoList["+idx+"].entryVisa", spi.find('.entryVisa').val());
formData.append("suspectInfoList["+idx+"].stayQualification", spi.find('.stayQualification').val());
formData.append("suspectInfoList["+idx+"].stayPeriodExpiredDt", spi.find('.stayPeriodExpiredDt').val());
}); });
formData.append("caseOverview", CrossEditor.GetBodyValue()); formData.append("caseOverview", CrossEditor.GetBodyValue());
debugger
$.ajax({ $.ajax({
type : 'POST', type : 'POST',
data : formData, data : formData,

View File

@ -73,14 +73,6 @@
<!--위반유형별 양식 시작--> <!--위반유형별 양식 시작-->
<!--직접밀입국, 제주무사증 도외이탈, 밀출국 공통양식 시작--> <!--직접밀입국, 제주무사증 도외이탈, 밀출국 공통양식 시작-->
<div class="row mb-1 extInputDiv extCommonInputDiv" style="display: none"> <div class="row mb-1 extInputDiv extCommonInputDiv" style="display: none">
<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="subInfo.stayQualification" th:value="${ica.subInfo.stayQualification}">
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm dateSelector" name="subInfo.stayPeriodExpiredDt" th:value="${ica.subInfo.stayPeriodExpiredDt}" autocomplete="off">
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fs-10">밀입국 시도 해역</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center fs-10">밀입국 시도 해역</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm" name="subInfo.seaArea"> <select class="form-select form-select-sm" name="subInfo.seaArea">
@ -296,22 +288,6 @@
</div> </div>
</div> </div>
<!--밀항 끝--> <!--밀항 끝-->
<!--불법체류 및 취업 시작-->
<div class="row mb-1 extInputDiv CTH105Div" style="display: none">
<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="subInfo.entryVisa" th:value="${ica.subInfo.entryVisa}">
</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="subInfo.stayQualification" th:value="${ica.subInfo.stayQualification}">
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm" name="subInfo.stayPeriodExpiredDt" th:value="${ica.subInfo.stayPeriodExpiredDt}">
</div>
</div>
<!--불법체류 및 취업 끝-->
<!--밀수입출 시작--> <!--밀수입출 시작-->
<div class="row mb-1 extInputDiv smugglingInputDiv" style="display: none"> <div class="row mb-1 extInputDiv smugglingInputDiv" style="display: none">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">밀수입출 품목</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">밀수입출 품목</label>
@ -388,60 +364,17 @@
<div class="col-sm-11"> <div class="col-sm-11">
<div class="border p-1" id="spiDiv"> <div class="border p-1" id="spiDiv">
<th:block th:if="${#lists.isEmpty(ica.suspectInfoList)}"> <th:block th:if="${#lists.isEmpty(ica.suspectInfoList)}">
<div class="row spi-list m-0"> <div class="spi-list">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label> <div class="row m-0">
<div class="col-sm-1">
<input type="text" class="form-control form-control-sm suspectName">
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">성별</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm sex">
<th:block th:each="code:${session.commonCode.get('SEX')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">나이</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm age">
<th:block th:each="code:${session.commonCode.get('AGE')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm country">
<th:block th:each="code:${session.commonCode.get('NNY')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">신병처리</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm processResult">
<th:block th:each="code:${session.commonCode.get('PCR')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<button type="button" class="btn btn-sm col-sm-auto btn-danger mb-1 spiRemoveBtn" style="display: none">
<i class="bi bi-dash"></i>
</button>
</div>
</th:block>
<th:block th:unless="${#lists.isEmpty(ica.suspectInfoList)}">
<th:block th:each="suspectInfo:${ica.suspectInfoList}">
<div class="row spi-list m-0">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
<div class="col-sm-1"> <div class="col-sm-1">
<input type="text" class="form-control form-control-sm suspectName" th:value="${suspectInfo.suspectName}"> <input type="text" class="form-control form-control-sm suspectName">
</div> </div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">성별</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">성별</label>
<div class="col-sm-auto"> <div class="col-sm-auto">
<select class="form-select form-select-sm sex"> <select class="form-select form-select-sm sex">
<th:block th:each="code:${session.commonCode.get('SEX')}"> <th:block th:each="code:${session.commonCode.get('SEX')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.sex}"></option> <option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block> </th:block>
</select> </select>
</div> </div>
@ -449,7 +382,7 @@
<div class="col-sm-auto"> <div class="col-sm-auto">
<select class="form-select form-select-sm age"> <select class="form-select form-select-sm age">
<th:block th:each="code:${session.commonCode.get('AGE')}"> <th:block th:each="code:${session.commonCode.get('AGE')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.age}"></option> <option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block> </th:block>
</select> </select>
</div> </div>
@ -457,7 +390,7 @@
<div class="col-sm-auto"> <div class="col-sm-auto">
<select class="form-select form-select-sm country"> <select class="form-select form-select-sm country">
<th:block th:each="code:${session.commonCode.get('NNY')}"> <th:block th:each="code:${session.commonCode.get('NNY')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.country}"></option> <option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block> </th:block>
</select> </select>
</div> </div>
@ -465,7 +398,7 @@
<div class="col-sm-auto"> <div class="col-sm-auto">
<select class="form-select form-select-sm processResult"> <select class="form-select form-select-sm processResult">
<th:block th:each="code:${session.commonCode.get('PCR')}"> <th:block th:each="code:${session.commonCode.get('PCR')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.processResult}"></option> <option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block> </th:block>
</select> </select>
</div> </div>
@ -473,6 +406,83 @@
<i class="bi bi-dash"></i> <i class="bi bi-dash"></i>
</button> </button>
</div> </div>
<div class="row m-0 visaInfoDiv" style="display: none;">
<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 entryVisa">
</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 stayQualification">
</div>
<label class="col-sm-auto col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm dateSelector stayPeriodExpiredDt" readonly>
</div>
</div>
<hr class="my-1">
</div>
</th:block>
<th:block th:unless="${#lists.isEmpty(ica.suspectInfoList)}">
<th:block th:each="suspectInfo:${ica.suspectInfoList}">
<div class="spi-list">
<div class="row m-0">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
<div class="col-sm-1">
<input type="text" class="form-control form-control-sm suspectName" th:value="${suspectInfo.suspectName}">
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">성별</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm sex">
<th:block th:each="code:${session.commonCode.get('SEX')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.sex}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">나이</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm age">
<th:block th:each="code:${session.commonCode.get('AGE')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.age}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm country">
<th:block th:each="code:${session.commonCode.get('NNY')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.country}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">신병처리</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm processResult">
<th:block th:each="code:${session.commonCode.get('PCR')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq suspectInfo.processResult}"></option>
</th:block>
</select>
</div>
<button type="button" class="btn btn-sm col-sm-auto btn-danger mb-1 spiRemoveBtn" th:style="${#lists.size(ica.suspectInfoList)>1?'display: none':''}">
<i class="bi bi-dash"></i>
</button>
</div>
<div class="row m-0 visaInfoDiv" th:style="${suspectInfo.country eq 'NNY001'?'display: none':''}">
<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 entryVisa" th:value="${suspectInfo.entryVisa}">
</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 stayQualification" th:value="${suspectInfo.stayQualification}">
</div>
<label class="col-sm-auto col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm stayPeriodExpiredDt" th:value="${suspectInfo.stayPeriodExpiredDt}">
</div>
</div>
<hr class="my-1">
</div>
</th:block> </th:block>
</th:block> </th:block>
</div> </div>
@ -501,46 +511,63 @@
</div> </div>
</form> </form>
<div class="d-none" id="spiInputDiv"> <div class="d-none" id="spiInputDiv">
<div class="row spi-list m-0"> <div class="spi-list">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label> <div class="row m-0">
<div class="col-sm-1"> <label class="col-sm-1 col-form-label col-form-label-sm text-center">이름</label>
<input type="text" class="form-control form-control-sm suspectName"> <div class="col-sm-1">
<input type="text" class="form-control form-control-sm suspectName">
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">성별</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm sex">
<th:block th:each="code:${session.commonCode.get('SEX')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">나이</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm age">
<th:block th:each="code:${session.commonCode.get('AGE')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm country">
<th:block th:each="code:${session.commonCode.get('NNY')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">신병처리</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm processResult">
<th:block th:each="code:${session.commonCode.get('PCR')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<button type="button" class="btn btn-sm col-sm-auto btn-danger mb-1 spiRemoveBtn">
<i class="bi bi-dash"></i>
</button>
</div> </div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">성별</label> <div class="row m-0 visaInfoDiv" style="display: none;">
<div class="col-sm-auto"> <label class="col-sm-1 col-form-label col-form-label-sm text-center">입국 비자</label>
<select class="form-select form-select-sm sex"> <div class="col-sm-2">
<th:block th:each="code:${session.commonCode.get('SEX')}"> <input type="text" class="form-control form-control-sm entryVisa">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option> </div>
</th:block> <label class="col-sm-1 col-form-label col-form-label-sm text-center">체류 자격</label>
</select> <div class="col-sm-2">
<input type="text" class="form-control form-control-sm stayQualification">
</div>
<label class="col-sm-auto col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm stayPeriodExpiredDt">
</div>
</div> </div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">나이</label> <hr class="my-1">
<div class="col-sm-auto">
<select class="form-select form-select-sm age">
<th:block th:each="code:${session.commonCode.get('AGE')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm country country">
<th:block th:each="code:${session.commonCode.get('NNY')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">신병처리</label>
<div class="col-sm-auto">
<select class="form-select form-select-sm processResult">
<th:block th:each="code:${session.commonCode.get('PCR')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
</th:block>
</select>
</div>
<button type="button" class="btn btn-sm col-sm-auto btn-danger mb-1 spiRemoveBtn">
<i class="bi bi-dash"></i>
</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -38,7 +38,6 @@
<div class="tab-content bg-white border border-top-0 p-2"> <div class="tab-content bg-white border border-top-0 p-2">
<form method="get" th:action="@{/faStatistics/icaList}" id="icaSearchForm"> <form method="get" th:action="@{/faStatistics/icaList}" id="icaSearchForm">
<input type="hidden" name="pageIndex" id="pageIndex" th:value="${searchParams.pageIndex}"> <input type="hidden" name="pageIndex" id="pageIndex" th:value="${searchParams.pageIndex}">
<input type="hidden" name="dateSelector" value="wrtDt">
<div class="row justify-content-between py-1"> <div class="row justify-content-between py-1">
<div class="col-auto"> <div class="col-auto">
<div class="row"> <div class="row">
@ -55,9 +54,6 @@
<div class="row"> <div class="row">
<div class="col-11"> <div class="col-11">
<div class="row justify-content-end"> <div class="row justify-content-end">
<!-- <div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="사건번호" name="caseNum" th:value="${searchParams.caseNum}">
</div>-->
<div class="col-2"> <div class="col-2">
<select class="form-select form-select-sm" name="organ"> <select class="form-select form-select-sm" name="organ">
<option value="">지방청 선택</option> <option value="">지방청 선택</option>
@ -97,54 +93,22 @@
</select> </select>
</div> </div>
</div> </div>
<!--<div class="row justify-content-end">
<div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="죄명" name="crimeName" th:value="${searchParams.crimeName}">
</div>
<div class="col-2">
<input type="text" class="form-control form-control-sm" name="" placeholder="개발중">
</div>
<div class="col-4">
<div class="input-group w-auto input-daterange" id="dateSelectorDiv">
<input type="text" class="form-control form-control-sm" id="startDate" name="startDate" placeholder="시작일" autocomplete="off" readonly th:value="${searchParams.startDate}">
<input type="text" class="form-control form-control-sm" id="endDate" name="endDate" placeholder="종료일" autocomplete="off" readonly th:value="${searchParams.endDate}">
</div>
</div>
</div>-->
<div class="row justify-content-end"> <div class="row justify-content-end">
<div class="col-2"> <div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="죄명" name="crimeName" th:value="${searchParams.crimeName}"> <input type="text" class="form-control form-control-sm" placeholder="죄명" name="crimeName" th:value="${searchParams.crimeName}">
</div> </div>
<div class="col-2"> <div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="발생원표" name="occurTable" th:value="${searchParams.occurTable}"> <input type="text" class="form-control form-control-sm" name="searchKeyword" placeholder="통합검색" th:value="${searchParams.searchKeyword}">
</div>
<div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="검거원표" name="arrestTable" th:value="${searchParams.arrestTable}">
</div>
<div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="피의자원표" name="suspectTable" th:value="${searchParams.suspectTable}">
</div>
</div>
<div class="row justify-content-end">
<div class="col-2">
<input type="text" class="form-control form-control-sm dateSelector" placeholder="범죄인지" name="crimeAwarenessDt" id="crimeAwarenessDt" th:value="${#temporals.format(searchParams.crimeAwarenessDt, 'yyyy-MM-dd')}" autocomplete="off">
</div>
<div class="col-2">
<input type="text" class="form-control form-control-sm dateSelector" placeholder="사건송치" name="caseSentDt" id="caseSentDt" th:value="${#temporals.format(searchParams.caseSentDt, 'yyyy-MM-dd')}" autocomplete="off">
</div>
<div class="col-2">
<select class="form-select form-select-sm" name="processResult" id="processResult">
<option value="">신병처리 선택</option>
<th:block th:each="code:${session.commonCode.get('PCR')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}"
th:selected="${code.itemCd eq searchParams.processResult}"></option>
</th:block>
</select>
</div> </div>
<div class="col-4"> <div class="col-4">
<div class="input-group w-auto input-daterange" id="dateSelectorDiv"> <div class="input-group w-auto input-daterange" id="dateSelectorDiv">
<input type="text" class="form-control form-control-sm" id="startDate" name="startDate" placeholder="시작일" autocomplete="off" readonly th:value="${searchParams.startDate}"> <select class="form-select form-select-sm w-30" name="dateSelector">
<input type="text" class="form-control form-control-sm" id="endDate" name="endDate" placeholder="종료일" autocomplete="off" readonly th:value="${searchParams.endDate}"> <option value="wrtDt" th:selected="${searchParams.dateSelector eq 'wrtDt'}">작성일</option>
<option value="awarenessDt" th:selected="${searchParams.dateSelector eq 'awarenessDt'}">범죄인지</option>
<option value="caseSentDt" th:selected="${searchParams.dateSelector eq 'caseSentDt'}">사건송치</option>
</select>
<input type="text" class="form-control form-control-sm w-35" id="startDate" name="startDate" placeholder="시작일" autocomplete="off" readonly th:value="${searchParams.startDate}">
<input type="text" class="form-control form-control-sm w-35" id="endDate" name="endDate" placeholder="종료일" autocomplete="off" readonly th:value="${searchParams.endDate}">
</div> </div>
</div> </div>
</div> </div>

View File

@ -51,10 +51,6 @@
<!--위반유형별 양식 시작--> <!--위반유형별 양식 시작-->
<!--직접밀입국, 제주무사증 도외이탈, 밀출국 공통양식 시작--> <!--직접밀입국, 제주무사증 도외이탈, 밀출국 공통양식 시작-->
<div class="row mb-1 extInputDiv extCommonInputDiv" style="display: none"> <div class="row mb-1 extInputDiv extCommonInputDiv" style="display: none">
<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.subInfo.stayQualification}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${ica.subInfo.stayPeriodExpiredDt}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fs-10">밀입국 시도 해역</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center fs-10">밀입국 시도 해역</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start"> <label class="col-sm-2 col-form-label col-form-label-sm text-start">
<th:block th:if="${ica.subInfo.seaArea ne null}"> <th:block th:if="${ica.subInfo.seaArea ne null}">
@ -194,16 +190,6 @@
</label> </label>
</div> </div>
<!--밀항 끝--> <!--밀항 끝-->
<!--불법체류 및 취업 시작-->
<div class="row mb-1 extInputDiv CTH105Div" style="display: none">
<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.subInfo.entryVisa}"></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.subInfo.stayQualification}"></label>
<label class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${ica.subInfo.stayPeriodExpiredDt}"></label>
</div>
<!--불법체류 및 취업 끝-->
<!--밀수입출 시작--> <!--밀수입출 시작-->
<div class="row mb-1 extInputDiv smugglingInputDiv" style="display: none"> <div class="row mb-1 extInputDiv smugglingInputDiv" style="display: none">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">밀수입출 품목</label> <label class="col-sm-1 col-form-label col-form-label-sm text-center">밀수입출 품목</label>
@ -279,6 +265,15 @@
</th:block> </th:block>
</label> </label>
</div> </div>
<div class="row m-0" th:if="${suspect.country ne 'NNY001'}">
<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="${suspect.entryVisa}"></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="${suspect.stayQualification}"></label>
<label class="col-sm-auto col-form-label col-form-label-sm text-center fs-11">체류기간 만료일</label>
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${suspect.stayPeriodExpiredDt}"></label>
</div>
<hr class="my-1">
</th:block> </th:block>
</div> </div>
</div> </div>