feat: 단속현황 - 위반정보 항목 진행

main
minuk926 2 years ago
parent aa90c4d52a
commit 409686923f

@ -278,3 +278,26 @@ let gridInfo = ${gridInfo};
keyColumn="extrlRegltCntcId,regltId" keyProperty="extrlRegltCntcId,regltId"
-->
```
## 상속 구조의 lombok builder 사용 -> @SuperBuilder 사용해야 한다
```java
@Data
@NoArgsConstructor
@AllArgsConstructor // 반드시 필요
@SuperBuilder
public static class Parents {
private String regltId;
private String vhcleNo;
}
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public static class Child extends Parents {
private String regltId;
private String vhcleNo;
}
```

Binary file not shown.

@ -135,6 +135,19 @@ public class FimsConst {
private final String desc;
}
/**
* : FIM026
*/
@Getter
@AllArgsConstructor
public enum RegistSeCode {
AUTO_REGIST("10", "자동등록"),
MANUAL_REGIST("20", "수기등록"),
;
private final String code;
private final String desc;
}
}

@ -5,35 +5,34 @@ import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
public class FimsCrackdownDTO {
@EqualsAndHashCode(callSuper = false)
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public static class Request extends RtDTO.Request {
// private String regltId;
// private String vhcleNo;
//
// /**
// * 단속일
// */
// private String regltDe;
//
// /**
// * 등록일시
// */
// private String registDt;
//
// /**
// * 단속구분코드 :
// */
// private String regltSeCode;
// /**
// * 파일업무구분코드
// */
// private String jobSeCode;
// CCTV 연계 key
private String extrlRegltCntcId;
// 민원심사 마스터 / 상세 key
private String interfaceSeqN;
// 민원심사 상세 key
private String ctznSttemntDetailSn;
}
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public static class TotalInfo extends RtDTO.Reglt {
// CCTV 연계 key
private String extrlRegltCntcId;

@ -197,6 +197,7 @@ public class CctvCrackdownDTO {
private String regltSeCode;
private String inputSeCode;
private String registSeCode;
/**
*

@ -317,6 +317,7 @@ public class EcCctvCrackdownService implements IEcCctvCrackdownService {
.regltSeCode(extrDTO.getRegltSeCode())
.inputSeCode(extrDTO.getInputSeCode())
.jobSeCode(FimsBizUtils.getFileJobSeCode(extrDTO.getRegltSeCode()))
.registSeCode(FimsConst.RegistSeCode.AUTO_REGIST.getCode())
.regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN.getCode())
.register(getUserInfo().getUniqId())
.build();

@ -140,6 +140,7 @@ public class EcNatlNewspaperService implements IEcNatlNewspaperService {
.ctznSttemntDetailSn(dtl.getCtznSttemntDetailSn())
.regltId(dtl.getRegltId())
.regltProcessSttusCode(FimsConst.RegltProcessSttusCode.CRACKDOWN.getCode())
.regltSeCode(FimsConst.RegistSeCode.AUTO_REGIST.getCode())
.register(getUserInfo().getUniqId())
.build();

@ -6,6 +6,7 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
public class RtDTO {
/**
@ -14,7 +15,7 @@ public class RtDTO {
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@SuperBuilder
public static class Reglt {
private static final long serialVersionUID = 1L;
@ -158,6 +159,10 @@ public class RtDTO {
*
*/
private String regltProcessSttusCode;
/**
*
*/
private String registSeCode;
/**
*
*/
@ -355,6 +360,10 @@ public class RtDTO {
*
*/
private String payerRegistSeCode;
/**
* : FIM026 - 10:, 20:
*/
private String registSeCode;
/**
*
*/
@ -461,7 +470,7 @@ public class RtDTO {
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@SuperBuilder
public static class Request{
private String regltId;
private String vhcleNo;

@ -228,6 +228,7 @@
, image_nmrs
, vhcle_no
, reglt_process_sttus_code
, regist_se_code
, regist_dt
, register
) SELECT ecsd.reglt_id
@ -257,6 +258,7 @@
AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수 FIXME: 매핑테이블 정의후 반영 (위반 내역 코드)
, ecsd.vhcle_no
, #{regltProcessSttusCode} -- 단속:10, 서손:11
, #{registSeCode}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, #{register}
FROM tb_ec_ctzn_sttemnt_detail ecsd

@ -160,6 +160,7 @@
, image_nmrs
, vhcle_no
, reglt_process_sttus_code
, regist_se_code
, regist_dt
, register
) SELECT #{regltId}
@ -189,6 +190,7 @@
AND tcfm.file_mastr_id = tcfd.file_mastr_id) -- 이미지 매수 FIXME: 매핑테이블 정의후 반영 (위반 내역 코드)
, vhcle_no
, #{regltProcessSttusCode} -- 단속:10, 서손:11
, #{registSeCode}
, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, #{register}
FROM tb_ec_extrl_reglt_cntc

@ -41,6 +41,7 @@
, trr.reglt_specl_zone_se_code -- 단속특별구역코드
, trr.reglt_process_sttus_code
, trr.regist_dt
, trr.regist_se_code
FROM tb_rt_reglt trr
-- LEFT OUTER JOIN tb_rt_erpp tre
-- ON trr.reglt_id = tre.reglt_id
@ -71,6 +72,9 @@
</if>
<if test='regltSeCode != null and regltSeCode != ""'>
AND trr.reglt_se_code = #{regltSeCode}
</if>
<if test='registSeCode != null and registSeCode != ""'>
AND trr.regist_se_code = #{registSeCode}
</if>
<if test='cnfmYn != null and cnfmYn != ""'>
<if test='cnfmYn eq "Y"'>

@ -38,125 +38,56 @@ Date Author Description
<div id="tabs_0">
<div class="w_fix01 gridGroup">
<p class="title deco_01">위반정보</p>
<%--
<table class="basics_F mTB_01">
<table class="tbl03">
<caption>위반정보 상세</caption>
<colgroup>
<col style="width: 5%;"/>
<col style="width: 12%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
</colgroup>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>등록구분</td>
<td><input type="text" id="regltId" name="regltId" value="<c:out value="${regltDTO.regltId }"/>">
</td>
<td>자료출처</td>
<td><input type="text" name="" value=""></td>
<td colspan="0"><label><input type="checkbox" value="의견진술">의견진술</label></td>
</tr>
<tr>
<td>단속일</td>
<td>
<fmt:parseDate value="${regltDTO.regltDe}" var="regltDe" pattern="yyyyMMdd"/>
<input type="text" name="regltDe" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly>
</td>
<td>차량번호</td>
<td colspan="2"><input type="text" id="vhcleNo" name="vhcleNo" value="${regltDTO.vhcleNo }"></td>
</tr>
<tr>
<td>단속구분</td>
<td>
<code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${regltDTO.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드" />
</td>
<td>위반내역</td>
<td colspan="2">
<code:select id="violtDtlsCode" name="violtDtlsCode" codeId="FIM004" defaultSelect="${regltDTO.violtDtlsCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/>
</td>
</tr>
<tr>
<td>단속장소</td>
<td colspan="4"><input type="text" id="regltPlace" name="regltPlace" value="${regltDTO.regltPlace}"></td>
</tr>
<tr>
<td>등록일시</td>
<td>
<fmt:parseDate value="${regltDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>
<input type="text" name="registDt" value='<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
</tr>
</table>
<table class="basics_F mTB_01">
<colgroup>
<col style="width: 5%;"/>
<col style="width: 22%;"/>
<col style="width: 12%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
<col style="width: 3%;"/>
<col style="width: 15%;"/>
<col style="width: 21%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
</colgroup>
<tbody>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>위반횟수</td>
<td>
<input type="text" id="violtCo" name="violtCo" value='<fmt:formatNumber type="number" value="${regltDTO.violtCo}" pattern="#,###"/>' style="text-align: right">
</td>
<td>시군구</td>
<td>
<input type="text" name="" value="">
</td>
<td>법정동</td>
<th>등록구분</th>
<td><code:select id="registSeCode" name="registSeCode" codeId="FIM026" defaultSelect="${regltDTO.registSeCode}" title="단속자료등록구분" cls="selectBoxTotal" alt="단속자료등록구분" disabled="true"/></td>
<th>자료출처</th>
<td><code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${regltDTO.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드"/></td>
<th>단속일시</th>
<td>
<input type="text" name="" value="">
<fmt:parseDate value="${regltDTO.regltDe}${regltDTO.regltBeginTime}" var="regltDeDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="regltDeDt" value='<fmt:formatDate value="${regltDeDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
</tr>
<tr>
<td>사전통지금액</td>
<th>차량번호</th>
<td>
<input type="text" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAftAmount}" pattern="#,###"/>' style="text-align: right">
<input type="text" id="vhcleNo" name="vhcleNo" value="${regltDTO.vhcleNo}">
</td>
<td>부과금액</td>
<td colspan="3">
<input type="text" name="" value='<fmt:formatNumber type="number" value="1111111" pattern="#,###"/>' style="text-align: right">
<th>단속자</th>
<td>
<fmt:parseDate value="${regltDTO.regltDe}" var="regltDe" pattern="yyyyMMdd"/>
<input type="text" data-fmt-type="day" name="regltDe" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly>
</td>
<th>위반장소</th>
<td><input type="text" name="regltPlace" value="${regltDTO.regltPlace }"></td>
</tr>
<tr>
<td>감액금액</td>
<td>
<input type="text" name="redutionAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAmount}" pattern="#,###"/>' style="text-align: right">
</td>
<td>총수납액</td>
<th>발행번호</th>
<td>
<input type="text" name="rcivAmount" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>' style="text-align: right">
<input type="text" name="stickrNo" value='${regltDTO.stickrNo}' readonly>
</td>
<td>잔액</td>
<th>견인지시</th>
<td>
<input type="text" name="" value='<fmt:formatNumber type="number" value="22222222222" pattern="#,###"/>' style="text-align: right">
</td>
</tr>
<tr>
<td>특이사항</td>
<td colspan="4">
<input type="text" id="spcmntMatter" name="spcmntMatter" value="${regltDTO.spcmntMatter}">
</td>
</tr>
<tr>
<td>처리상태</td>
<td colspan="4">
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${regltDTO.regltProcessSttusCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/>
<input type="text" name="towngAtCode" value='${regltDTO.towngAtCode}' readonly>
</td>
</tr>
</tbody>
</table>
--%>
<table class="tbl03">
<caption><c:out value="${bizName}"/> 상세</caption>
<caption>위반정보 상세2</caption>
<colgroup>
<col style="width: 12%;"/>
<col style="width: 22%;"/>
@ -167,116 +98,64 @@ Date Author Description
</colgroup>
<tbody>
<tr>
<th>기관코드</th>
<td><code:select id="insttCode" name="insttCode" codeId="XIT025" defaultSelect="${regltDTO.insttCode}" title="기관코드" cls="selectBoxTotal" alt="기관코드"/></td>
<th>과태료코드</th>
<td><code:select id="sysCode" name="sysCode" codeId="FIM001" defaultSelect="${regltDTO.sysCode}" title="과태료코드" cls="selectBoxTotal" alt="과태료코드"/></td>
<th>단속구분</th>
<td><code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${regltDTO.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드"/></td>
</tr>
<tr>
<th>차량번호</th>
<th>차종</th>
<td>
<input type="text" id="vhcleNo" name="vhcleNo" value="${regltDTO.vhcleNo}">
<input type="text" name="vhctyAsortCode" value='${regltDTO.vhctyAsortCode}' readonly>
</td>
<th>단속일</th>
<th>시군구</th>
<td>
<fmt:parseDate value="${regltDTO.regltDe}" var="regltDe" pattern="yyyyMMdd"/>
<input type="text" data-fmt-type="day" name="regltDe" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly>
<input type="text" name="violtLegaldongCode" value="${regltDTO.violtLegaldongCode}" readonly>
</td>
<th>위반횟수</th>
<th>법정동</th>
<td>
<input type="text" data-fmt-type="number" name="violtCo" value='<fmt:formatNumber type="number" value="${regltDTO.violtCo}" pattern="#,###"/>'>
<input type="text" name="violtLegaldongCode" value="${regltDTO.violtLegaldongCode}" readonly>
</td>
</tr>
<tr>
<th>단속장소</th>
<td><input type="text" id="regltPlace" name="regltPlace" value="${regltDTO.regltPlace }"></td>
<th>단속시작시간</th>
<td>
<fmt:parseDate value="${regltDTO.regltBeginTime}" var="regltBeginTime" pattern="HHmmss"/>
<input type="text" data-fmt-type="time" name="regltBeginTime" value='<fmt:formatDate value="${regltBeginTime}" pattern="HH:mm:ss"/>' readonly>
</td>
<th>단속종료시간</th>
<th>사전통지금액</th>
<td>
<fmt:parseDate value="${regltDTO.regltEndTime}" var="regltEndTime" pattern="HHmmss"/>
<input type="text" data-fmt-type="time" name="regltEndTime" value='<fmt:formatDate value="${regltEndTime}" pattern="HH:mm:ss"/>' readonly>
<input type="text" data-fmt-type="number" name="" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAmount}" pattern="#,###"/>'>
</td>
</tr>
<tr>
<th>위반법규</th>
<td><code:select id="violtLrgCode" name="violtLrgCode" codeId="WEB002" defaultSelect="${regltDTO.violtLrgCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/></td>
<th>위반내역</th>
<td><code:select id="violtDtlsCode" name="violtDtlsCode" codeId="FIM004" defaultSelect="${regltDTO.violtDtlsCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/></td>
<th>처리상태</th>
<th>부과금액</th>
<td>
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${regltDTO.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태"/>
<input type="text" data-fmt-type="number" name="" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>'>
</td>
</tr>
<tr>
<th>감경금액</th>
<td>
<input type="text" data-fmt-type="number" name="redutionAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAmount}" pattern="#,###"/>'>
</td>
<th>감경후 금액</th>
<td>
<input type="text" data-fmt-type="number" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAftAmount}" pattern="#,###"/>'>
</td>
<th>수납금액</th>
<td>
<input type="text" data-fmt-type="number" name="rcivAmount" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>'>
</td>
</tr>
<tr>
<th>감액</th>
<td>
<input type="text" data-fmt-type="number" name="rdcamt" value='<fmt:formatNumber type="number" value="${regltDTO.rdcamt}" pattern="#,###"/>'>
</td>
<th>가산금</th>
<th>총수납액</th>
<td>
<input type="text" data-fmt-type="number" name="adamt" value='<fmt:formatNumber type="number" value="${regltDTO.adamt}" pattern="#,###"/>'>
<input type="text" data-fmt-type="number" name="rcivAmount" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>'>
</td>
<th>입력구분</th>
<th>잔액</th>
<td>
<code:select id="inputSeCode" name="inputSeCode" codeId="FIM003" defaultSelect="${regltDTO.inputSeCode}" title="입력구분" cls="selectBoxTotal" alt="입력구분"/>
<input type="text" data-fmt-type="number" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAftAmount}" pattern="#,###"/>'>
</td>
</tr>
<tr>
<th>특이사항</th>
<td colspan="5"><textarea id="spcmntMatter" name="spcmntMatter" value="${regltDTO.spcmntMatter}"></textarea></td>
</tr>
<tr>
<th>차량명</th>
<td>
<input type="text" name="vhcleNm" value="${regltDTO.vhcleNm}" readonly>
</td>
<th>차종분류코드</th>
<th>특기사항</th>
<td>
<input type="text" name="vhctyClCode" value="${regltDTO.vhctyClCode}" readonly>
<input type="text" name="spcmntMatter" value="${regltDTO.spcmntMatter}" readonly>
</td>
<th>차종종별코드</th>
<th>처리상태</th>
<td>
<input type="text" name="vhctyAsortCode" value="${regltDTO.vhctyAsortCode}" readonly>
<fmt:parseDate value="${regltDTO.lastProcessDt}" var="lastProcessDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="lastProcessDt" value='<fmt:formatDate value="${lastProcessDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${regltDTO.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태"/>
</td>
</tr>
<tr>
<th>등록일시</th>
<td>
<fmt:parseDate value="${regltDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="registDt" value='<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
<th>최종처리일시</th>
<th>특별단속구역</th>
<td>
<fmt:parseDate value="${regltDTO.lastProcessDt}" var="lastProcessDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="lastProcessDt" value='<fmt:formatDate value="${lastProcessDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
<code:select id="regltSpeclZoneSeCode" name="regltSpeclZoneSeCode" codeId="FIM010" defaultSelect="${regltDTO.regltSpeclZoneSeCode}" title="특별단속구역" cls="selectBoxTotal" alt="단속처리상태"/>
</td>
<th>최종처리자</th>
<th>위반내용</th>
<td>
<input type="text" id="lastOpetr" name="lastOpetr" value="${regltDTO.lastOpetr}" readonly>
<input type="text" name="violtDtlsEtcCn" value="${regltDTO.violtDtlsEtcCn}" readonly>
</td>
<%-- <th>등록자</th>--%>
<%-- <td><input type="text" id="register" name="register" value="${regltDTO.register}"></td>--%>
</tr>
</tbody>
</table>

@ -38,132 +38,15 @@ Date Author Description
<div id="tabs_0">
<div class="w_fix01 gridGroup">
<p class="title deco_01">위반정보</p>
<%--
<table class="basics_F mTB_01">
<colgroup>
<col style="width: 5%;"/>
<col style="width: 12%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
</colgroup>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>등록구분</td>
<td><input type="text" id="regltId" name="regltId" value="<c:out value="${regltDTO.regltId }"/>">
</td>
<td>자료출처</td>
<td><input type="text" name="" value=""></td>
<td colspan="0"><label><input type="checkbox" value="의견진술">의견진술</label></td>
</tr>
<tr>
<td>단속일</td>
<td>
<fmt:parseDate value="${regltDTO.regltDe}" var="regltDe" pattern="yyyyMMdd"/>
<input type="text" name="regltDe" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly>
</td>
<td>차량번호</td>
<td colspan="2"><input type="text" id="vhcleNo" name="vhcleNo" value="${regltDTO.vhcleNo }"></td>
</tr>
<tr>
<td>단속구분</td>
<td>
<code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${regltDTO.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드" />
</td>
<td>위반내역</td>
<td colspan="2">
<code:select id="violtDtlsCode" name="violtDtlsCode" codeId="FIM004" defaultSelect="${regltDTO.violtDtlsCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/>
</td>
</tr>
<tr>
<td>단속장소</td>
<td colspan="4"><input type="text" id="regltPlace" name="regltPlace" value="${regltDTO.regltPlace}"></td>
</tr>
<tr>
<td>등록일시</td>
<td>
<fmt:parseDate value="${regltDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>
<input type="text" name="registDt" value='<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
</tr>
</table>
<table class="basics_F mTB_01">
<colgroup>
<col style="width: 5%;"/>
<col style="width: 12%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
<col style="width: 3%;"/>
<col style="width: 15%;"/>
</colgroup>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>위반횟수</td>
<td>
<input type="text" id="violtCo" name="violtCo" value='<fmt:formatNumber type="number" value="${regltDTO.violtCo}" pattern="#,###"/>' style="text-align: right">
</td>
<td>시군구</td>
<td>
<input type="text" name="" value="">
</td>
<td>법정동</td>
<td>
<input type="text" name="" value="">
</td>
</tr>
<tr>
<td>사전통지금액</td>
<td>
<input type="text" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAftAmount}" pattern="#,###"/>' style="text-align: right">
</td>
<td>부과금액</td>
<td colspan="3">
<input type="text" name="" value='<fmt:formatNumber type="number" value="1111111" pattern="#,###"/>' style="text-align: right">
</td>
</tr>
<tr>
<td>감액금액</td>
<td>
<input type="text" name="redutionAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAmount}" pattern="#,###"/>' style="text-align: right">
</td>
<td>총수납액</td>
<td>
<input type="text" name="rcivAmount" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>' style="text-align: right">
</td>
<td>잔액</td>
<td>
<input type="text" name="" value='<fmt:formatNumber type="number" value="22222222222" pattern="#,###"/>' style="text-align: right">
</td>
</tr>
<tr>
<td>특이사항</td>
<td colspan="4">
<input type="text" id="spcmntMatter" name="spcmntMatter" value="${regltDTO.spcmntMatter}">
</td>
</tr>
<tr>
<td>처리상태</td>
<td colspan="4">
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${regltDTO.regltProcessSttusCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/>
</td>
</tr>
</table>
--%>
<table class="tbl03">
<caption><c:out value="${bizName}"/> 상세</caption>
<colgroup>
<col style="width: 13%;"/>
<col style="width: 20%;"/>
<col style="width: 13%;"/>
<col style="width: 20%;"/>
<col style="width: 13%;"/>
<col style="width: 20%;"/>
<col style="width: 12%;"/>
<col style="width: 22%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
</colgroup>
<tbody>
<tr>
@ -182,25 +65,25 @@ Date Author Description
<th>단속일</th>
<td>
<fmt:parseDate value="${regltDTO.regltDe}" var="regltDe" pattern="yyyyMMdd"/>
<input type="text" name="regltDe" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly>
<input type="text" data-fmt-type="day" name="regltDe" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly>
</td>
<th>위반횟수</th>
<td>
<input type="text" data-fmt-type="number" name="violtCo" value='<fmt:formatNumber type="number" value="${regltDTO.violtCo}" pattern="#,###"/>'>
</td>
<th>입력구분</th>
<td><code:select id="inputSeCode" name="inputSeCode" codeId="FIM003" defaultSelect="${regltDTO.inputSeCode}" title="입력구분" cls="selectBoxTotal" alt="입력구분"/></td>
</tr>
<tr>
<th>단속장소</th>
<td colspan=""><input type="text" id="regltPlace" name="regltPlace" value="${regltDTO.regltPlace }"></td>
<td><input type="text" id="regltPlace" name="regltPlace" value="${regltDTO.regltPlace }"></td>
<th>단속시작시간</th>
<td>
<%-- <input type="text" id="regltBeginTime" name="regltBeginTime" value="${regltDTO.regltBeginTime }">--%>
<%-- <fmt:formatDate type="time" value="${regltDTO.regltBeginTime}" var="regltBeginTime" pattern="hhmmss"/>--%>
<fmt:parseDate value="${regltDTO.regltBeginTime}" var="regltBeginTime" pattern="HHmmss"/>
<input type="text" name="regltBeginTime" value='<fmt:formatDate value="${regltBeginTime}" pattern="HH:mm:ss"/>' readonly>
<input type="text" data-fmt-type="time" name="regltBeginTime" value='<fmt:formatDate value="${regltBeginTime}" pattern="HH:mm:ss"/>' readonly>
</td>
<th>단속종료시간</th>
<td>
<fmt:parseDate value="${regltDTO.regltEndTime}" var="regltEndTime" pattern="HHmmss"/>
<input type="text" name="regltEndTime" value='<fmt:formatDate value="${regltEndTime}" pattern="HH:mm:ss"/>' readonly>
<input type="text" data-fmt-type="time" name="regltEndTime" value='<fmt:formatDate value="${regltEndTime}" pattern="HH:mm:ss"/>' readonly>
</td>
</tr>
<tr>
@ -208,59 +91,75 @@ Date Author Description
<td><code:select id="violtLrgCode" name="violtLrgCode" codeId="WEB002" defaultSelect="${regltDTO.violtLrgCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/></td>
<th>위반내역</th>
<td><code:select id="violtDtlsCode" name="violtDtlsCode" codeId="FIM004" defaultSelect="${regltDTO.violtDtlsCode}" title="위반내역코드" cls="selectBoxTotal" alt="위반내역코드"/></td>
<th>위반횟수</th>
<td colspan="">
<input type="text" id="violtCo" name="violtCo" value='<fmt:formatNumber type="number" value="${regltDTO.violtCo}" pattern="#,###"/>' style="text-align: right">
<th>처리상태</th>
<td>
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${regltDTO.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태"/>
</td>
</tr>
<tr>
<th>감경금액</th>
<td>
<input type="text" name="redutionAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAmount}" pattern="#,###"/>' style="text-align: right">
<input type="text" data-fmt-type="number" name="redutionAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAmount}" pattern="#,###"/>'>
</td>
<th>감경후 금액</th>
<td>
<input type="text" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAftAmount}" pattern="#,###"/>' style="text-align: right">
<input type="text" data-fmt-type="number" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${regltDTO.redutionAftAmount}" pattern="#,###"/>'>
</td>
<th>수납금액</th>
<td>
<input type="text" name="rcivAmount" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>' style="text-align: right">
<input type="text" data-fmt-type="number" name="rcivAmount" value='<fmt:formatNumber type="number" value="${regltDTO.rcivAmount}" pattern="#,###"/>'>
</td>
</tr>
<tr>
<th>감액</th>
<td>
<input type="text" name="rdcamt" value='<fmt:formatNumber type="number" value="${regltDTO.rdcamt}" pattern="#,###"/>' style="text-align: right">
<input type="text" data-fmt-type="number" name="rdcamt" value='<fmt:formatNumber type="number" value="${regltDTO.rdcamt}" pattern="#,###"/>'>
</td>
<th>가산금</th>
<td>
<input type="text" name="adamt" value='<fmt:formatNumber type="number" value="${regltDTO.adamt}" pattern="#,###"/>' style="text-align: right">
<input type="text" data-fmt-type="number" name="adamt" value='<fmt:formatNumber type="number" value="${regltDTO.adamt}" pattern="#,###"/>'>
</td>
<th>입력구분</th>
<td>
<code:select id="inputSeCode" name="inputSeCode" codeId="FIM003" defaultSelect="${regltDTO.inputSeCode}" title="입력구분" cls="selectBoxTotal" alt="입력구분"/>
</td>
<td colspan="2"></td>
</tr>
<tr>
<th>특이사항</th>
<td colspan="5"><textarea id="spcmntMatter" name="spcmntMatter" value="${regltDTO.spcmntMatter}"></textarea></td>
</tr>
<tr>
<th>처리상태</th>
<td><code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${regltDTO.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태"/></td>
<th>등록일시</th>
<th>차량명</th>
<td>
<fmt:parseDate value="${regltDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>
<input type="text" name="registDt" value='<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
<input type="text" name="vhcleNm" value="${regltDTO.vhcleNm}" readonly>
</td>
<th>차종분류코드</th>
<td>
<input type="text" name="vhctyClCode" value="${regltDTO.vhctyClCode}" readonly>
</td>
<th>차종종별코드</th>
<td>
<input type="text" name="vhctyAsortCode" value="${regltDTO.vhctyAsortCode}" readonly>
</td>
<th>등록자</th>
<td><input type="text" id="register" name="register" value="${regltDTO.register}"></td>
</tr>
<tr>
<th>등록일시</th>
<td>
<fmt:parseDate value="${regltDTO.registDt}" var="registDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="registDt" value='<fmt:formatDate value="${registDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
<th>최종처리일시</th>
<td>
<fmt:parseDate value="${regltDTO.lastProcessDt}" var="lastProcessDt" pattern="yyyyMMddHHmmss"/>
<input type="text" name="lastProcessDt" value='<fmt:formatDate value="${lastProcessDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
<input type="text" data-fmt-type="dt" name="lastProcessDt" value='<fmt:formatDate value="${lastProcessDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly>
</td>
<th>최종처리자</th>
<td colspan="3"><input type="text" id="lastOpetr" name="lastOpetr" value="${regltDTO.lastOpetr}"></td>
<td>
<input type="text" id="lastOpetr" name="lastOpetr" value="${regltDTO.lastOpetr}" readonly>
</td>
<%-- <th>등록자</th>--%>
<%-- <td><input type="text" id="register" name="register" value="${regltDTO.register}"></td>--%>
</tr>
</tbody>
</table>
@ -547,7 +446,11 @@ Date Author Description
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/framework/js/cmm/cmmDownloadImg.js"></script>
<script type="text/javaScript">
//전역변수선언
/**************************************************************************
* Global Variable
**************************************************************************/
var imageEditorPopup = (flag, params) => fnBiz.pagePopup(flag, params);
var callbackReloadImage = () => fnBiz.downloadImg();
let orgData;
const ARR_INSTANCE = [null,null,null];
let CUR_TAB_SEQ = 0;
@ -564,7 +467,7 @@ Date Author Description
,url: fimsApiUrl.FIND_RT_REGLT_INFO_AND_ATTCH_FILES
,data: params
,success: (res) => {
cmmImgDownload('#imgList', res.attchFiles, true);
cmmImgDownload('#imgList', res.attchFiles, true, '60px');
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))
setFormData(document.querySelector('form'), res.dto);
}
@ -576,11 +479,36 @@ Date Author Description
,url: fimsApiUrl.FIND_RT_REGLT_ATTCH_FILES
,data: downloadImgParam
,success: (res) => {
cmmImgDownload('#imgList', res.data?.contents, true);
cmmImgDownload('#imgList', res.data?.contents, true, '60px');
}
})
},
add: () => {
}
,pagePopup: function(flag, params) {
let url;
let popTitle;
let popOption;
switch (flag) {
//FIXME: 이미지에디터 팝업 width, height는 952, 800으로 fix
// paintweb config의 imageWidth, imageHeight, viewportWidth, viewPortHeight 와 같이 연관
case "imageEditor":
<%--url = '<c:url value="/framework/biz/cmm/file/cmmPaintwebImageEditorPopup.do"/>'; --%>
url = frwkApiUrl.POPUP_PAINTWEB_IMG_EDITOR;
popOption = {width: 952, height: 800, resizable:false,scrollbars:'no'};
popTitle = "이미지 에디터";
break;
case "imageView":
<%--url = '<c:url value="/framework/biz/cmm/file/cmmImageViewPopup.do"/>';--%>
url = frwkApiUrl.POPUP_IMG_VIEW;
popOption = {width: 950, height: 750, resizable:false,scrollbars:'no'};
popTitle = "이미지 보기";
break;
default:
break;
}
window.opener.popup = CmmPopup.open(url, params, popOption, popTitle);
//var w = window.open("/imageEditor.do", "", "width=800,height=650,top=0px,left=200px,status=,resizable=false,scrollbars=no");
}
,add: () => {
if (!fnBiz.validate()) return;
cmmBizAjax('add', {
@ -822,6 +750,7 @@ Date Author Description
orgData = $('form').serialize();
downloadImgParam = {regltId: '${regltDTO.regltId}', regltSeCode: '${regltDTO.regltSeCode}'};
//fnBiz.search(downloadImgParam);
fnBiz.downloadImg();
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))

@ -6,94 +6,25 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
<div class="w_fix01 gridGroup">
<p class="title deco_01">위반정보</p>
<table class="basics_F mTB_01">
<colgroup>
<col style="width: 5%;"/>
<col style="width: 12%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
</colgroup>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>등록구분</td>
<td><input type="text" id="regltId" name="regltId" value="<c:out value="${regltDTO.regltId }"/>">
</td>
<td>자료출처</td>
<td><input type="text" id="" name="" value=""></td>
<td colspan="0"><label><input type="checkbox" value="의견진술">의견진술</label></td>
</tr>
<tr>
<td>단속일자</td>
<td><input type="text" id="regltDe" name="regltDe" value="${regltDTO.regltDe }"></td>
<td>차량번호</td>
<td colspan="2"><input type="text" id="vhcleNo" name="vhcleNo" value="${regltDTO.vhcleNo }"></td>
</tr>
<tr>
<td>단속구분</td>
<td colspan=""><input type="text" id="regltSeCode" name="regltSeCode" value="${regltDTO.regltSeCode}"></td>
<td>위반내역</td>
<td colspan="2"><input type="text" id="violtDtlsCode" name="violtDtlsCode" value="${regltDTO.violtDtlsCode}"></td>
<table class="tbl03">
</tr>
<tr>
<td>단속장소</td>
<td colspan="4"><input type="text" id="regltPlace" name="regltPlace" value="${regltDTO.regltPlace}"></td>
</tr>
<tr>
<td>등록일시</td>
<td><input type="text" id="registDt" name="registDt" value="${regltDTO.registDt}"></td>
</tr>
</table>
<table class="basics_F mTB_01">
<colgroup>
<col style="width: 5%;"/>
<col style="width: 12%;"/>
<col style="width: 4%;"/>
<col style="width: 13%;"/>
<col style="width: 3%;"/>
<col style="width: 15%;"/>
<col style="width: 22%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
</colgroup>
<tr>
<td colspan="6"></td>
</tr>
<tr>
<td>위반횟수</td>
<td><input type="text" id="violtCo" name="violtCo" value="${regltDTO.violtCo}"></td>
<td>시군구</td>
<td><input type="text" id="" name="" value="<%--${regltDTO.signgu_code}--%>"></td>
<td>법정동</td>
<td><input type="text" id="" name="" value=""></td>
</tr>
<tr>
<td>사전통지금액</td>
<td><input type="text" id="" name="" value="${regltDTO.redutionAftAmount}"></td>
<td>부과금액</td>
<td colspan="3"><input type="text" id="" name="" value=""></td>
</tr>
<tr>
<td>감액금액</td>
<td><input type="text" id="" name="" value="${regltDTO.redutionAmount}"></td>
<td>총수납액</td>
<td><input type="text" id="" name="" value="${regltDTO.rcivAmount}"></td>
<td>잔액</td>
<td><input type="text" id="" name="" value=""></td>
</tr>
<tr>
<td>특이사항</td>
<td colspan="4"><input type="text" id="spcmntMatter" name="spcmntMatter" value="${regltDTO.spcmntMatter}"></td>
</tr>
<tr>
<td>처리상태</td>
<td colspan="4">${regltDTO.regltProcessSttusCode}</td>
</tr>
<tbody>
</tbody>
</table>
<%--<p class="title deco_01 mT_02">소유주 정보</p>
<table class="basics_F mTB_01 mT_02">
<colgroup>
@ -136,10 +67,13 @@
</tr>
</table>--%>
</div>
<div class="topBtnArea-a" style="/*width: 900px;*/ min-width: 420px; width:75%;">
<ul class="btnList" <%--style="margin-top: -24px;"--%>>
<li>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp" %>
</li>
</ul>
<div class="w_fix01 gridGroup" style="width:0px; min-width:300px!important;">
<p class="title deco_01">위반사진</p>
<div id="imgList"></div>
<div>
<img id="uploadImage"/>
</div>
</div>

Loading…
Cancel
Save