소스정리

main
이범준 1 week ago
parent 5b2b8f24a6
commit f54249f3cd

@ -654,17 +654,15 @@ scwin.btn_button04_onclick = function() {
if (documentNo == '' || penaltyManageYear == '' || penaltySeqNo == '') {
com.alert("관리번호가 없습니다. 다시 선택해 주세요.");
return false;
}else if (motionId == "91") {
}
if (motionId == "91") {
com.alert("수납완료된 정보입니다. 수정작업 할 수 없습니다.");
return false;
}
var jsonData = {
"documentNo" : documentNo
, "penaltyManageYear" : penaltyManageYear
"penaltyManageYear" : penaltyManageYear
, "penaltySeqNo" : penaltySeqNo
, "carNo2" : carNo
, "seqNo" : seqNo
};
var data = {
data : jsonData, callbackFn : "scwin.btn_search_onclick"

@ -10,85 +10,88 @@
<data xmlns="" />
</xf:instance>
<w2:dataCollection baseNode="map">
<w2:dataMap baseNode="map" id="statMap">
<w2:dataMap baseNode="map" id="searchMap">
<w2:keyInfo>
<w2:key id="documentNo" name="관리번호" dataType="text"></w2:key>
<w2:key id="penaltyManageYear" name="과태료 관리년도" dataType="text"></w2:key>
<w2:key id="penaltySeqNo" name="과태료 일련번호" dataType="text"></w2:key>
<w2:key id="carNo2" name="수정용 차량번호" dataType="text"></w2:key>
<w2:key id="seqNo" name="수정번호" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="statList1">
<w2:keyInfo>
<w2:key id="fareOfficeId" name="요금소" dataType="text"></w2:key>
<w2:key id="fareOfficeName" name="요금소명" dataType="text"></w2:key>
<w2:key id="boothId" name="차로" dataType="text"></w2:key>
<w2:key id="boothName" name="차로명" dataType="text"></w2:key>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="passDay" name="통과일" dataType="text"></w2:key>
<w2:key id="passTimes" name="통과시간" dataType="text"></w2:key>
<w2:key id="workerId" name="징수원ID" dataType="text"></w2:key>
<w2:key id="workerName" name="징수원명" dataType="text"></w2:key>
<w2:key id="carTypeName" name="차적조회" dataType="text"></w2:key>
<w2:key id="carTypeName1" name="판독결과" dataType="text"></w2:key>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="fareOfficeName" name="요금소명" dataType="text"></w2:key>
<w2:key id="boothName" name="차로명" dataType="text"></w2:key>
<w2:key id="rentCompany" name="렌트회사명" dataType="text"></w2:key>
<w2:key id="motionId" name="상태" dataType="text"></w2:key>
<w2:key id="owner" name="소유자명" dataType="text"></w2:key>
<w2:key id="residentNo" name="주민번호" dataType="text"></w2:key>
<w2:key id="no1" name="주민번호1" dataType="text"></w2:key>
<w2:key id="no2" name="주민번호2" dataType="text"></w2:key>
<w2:key id="no3" name="사업자번호1" dataType="text"></w2:key>
<w2:key id="no4" name="사업자번호2" dataType="text"></w2:key>
<w2:key id="no5" name="사업자번호3" dataType="text"></w2:key>
<w2:key id="postNo" name="우편번호" dataType="text"></w2:key>
<w2:key id="addressName" name="주소" dataType="text"></w2:key>
<w2:key id="addressNumber" name="상세주소" dataType="text"></w2:key>
<w2:key id="ownerTypeId" name="소유형태" dataType="text"></w2:key>
<w2:key id="maxCarryCapacity" name="최대적제량" dataType="text"></w2:key>
<w2:key id="residentDate" name="수납일" dataType="text"></w2:key>
<w2:key id="miniCarKbn" name="경차구분" dataType="text"></w2:key>
<w2:key id="rentPeriod1" name="렌트시작일" dataType="text"></w2:key>
<w2:key id="rentPeriod2" name="렌트종료일" dataType="text"></w2:key>
<w2:key id="rentContact" name="렌트 연락처" dataType="text"></w2:key>
<w2:key id="documentKbn" name="문서분류" dataType="text"></w2:key>
<w2:key id="documentNumber" name="문서관리번호" dataType="text"></w2:key>
<!---->
<w2:key id="workerId" name="징수원ID" dataType="text"></w2:key>
<w2:key id="fareOfficeId" name="요금소" dataType="text"></w2:key>
<w2:key id="boothId" name="차로" dataType="text"></w2:key>
<w2:key id="year" name="년도" dataType="text"></w2:key>
<w2:key id="month" name="월" dataType="text"></w2:key>
<w2:key id="day" name="일" dataType="text"></w2:key>
<w2:key id="motionId" name="상태" dataType="text"></w2:key>
<w2:key id="workTimes" name="통행시간" dataType="text"></w2:key>
<w2:key id="seqNo" name="일련번호" dataType="text"></w2:key>
<w2:key id="penaltyManageYear" name="과태료 관리년도" dataType="text"></w2:key>
<w2:key id="penaltySeqNo" name="과태료 일련번호" dataType="text"></w2:key>
<w2:key id="carTypeName1" name="판독결과" dataType="text"></w2:key>
<w2:key id="maxCarryCapacity" name="최대적재량" dataType="text"></w2:key>
<w2:key id="miniCarKbn" name="경차구분" dataType="text"></w2:key>
<w2:key id="rentKbn" name="렌트 유무" dataType="text"></w2:key>
<w2:key id="lastReader" name="검증원" dataType="text"></w2:key>
<w2:key id="reader" name="판독자" dataType="text"></w2:key>
<w2:key id="rentCompany" name="렌트회사명" dataType="text"></w2:key>
<w2:key id="rentPeriod1" name="렌트시작일" dataType="text"></w2:key>
<w2:key id="rentPeriod2" name="렌트종료일" dataType="text"></w2:key>
<w2:key id="rentPerson" name="담당자" dataType="text"></w2:key>
<w2:key id="rentContact" name="렌트 연락처" dataType="text"></w2:key>
<w2:key id="rentPerson" name="렌트담당자" dataType="text"></w2:key>
<w2:key id="rentCompanyAddress" name="렌트회사주소" dataType="text"></w2:key>
<w2:key id="documentNumber" name="문서관리변호" dataType="text"></w2:key>
<w2:key id="documentKbn" name="문서분류" dataType="text"></w2:key>
<w2:key id="collectId" name="징수유형코드" dataType="text"></w2:key>
<w2:key id="carNo2" name="수정용 차량번호" dataType="text"></w2:key>
<w2:key id="residentNo2" name="수정용 주민번호" dataType="text"></w2:key>
<w2:key id="documentNo" name="수정용 관리번호" dataType="text"></w2:key>
<w2:key id="seqNo" name="수정번호" dataType="text"></w2:key>
<w2:key id="penaltyManageYear" name="과태료 관리년도" dataType="text"></w2:key>
<w2:key id="penaltySeqNo" name="과태료 일련번호" dataType="text"></w2:key>
<w2:key id="miniCarKbn2" name="수정용 경차구분" dataType="text"></w2:key>
<!-- submit X -->
<w2:key id="ownerTypeId" name="소유형태" dataType="text"></w2:key>
<w2:key id="workerName" name="징수원명" dataType="text"></w2:key>
<w2:key id="carTypeName" name="차적조회" dataType="text"></w2:key>
<w2:key id="reader" name="판독자" dataType="text"></w2:key>
<w2:key id="lastReader" name="검증원" dataType="text"></w2:key>
<w2:key id="count" name="변경전 동일차량건수" dataType="text"></w2:key>
<w2:key id="miniCarKbn2" name="수정용경차구분" dataType="text"></w2:key>
<w2:key id="collectId" name="징수유형코드" dataType="text"></w2:key>
<w2:key id="workTimes" name="통행시간" dataType="text"></w2:key>
<w2:key id="no1" name="주민번호1" dataType="text"></w2:key>
<w2:key id="no2" name="주민번호2" dataType="text"></w2:key>
<w2:key id="no3" name="사업자번호1" dataType="text"></w2:key>
<w2:key id="no4" name="사업자번호2" dataType="text"></w2:key>
<w2:key id="no5" name="사업자번호3" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="checkMap">
<w2:keyInfo>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="owner" name="소유자명" dataType="text"></w2:key>
<w2:key id="residentNo" name="주민번호" dataType="text"></w2:key>
<w2:key id="no1" name="주민번호1" dataType="text"></w2:key>
<w2:key id="no2" name="주민번호2" dataType="text"></w2:key>
<w2:key id="no3" name="사업자번호1" dataType="text"></w2:key>
<w2:key id="no4" name="사업자번호2" dataType="text"></w2:key>
<w2:key id="no5" name="사업자번호3" dataType="text"></w2:key>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="residentNo" name="주민번호" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
</w2:dataCollection>
<w2:workflowCollection></w2:workflowCollection>
<xf:submission id="sub_search"
ref='data:json,{"id":"statMap","key":"param"}'
ref='data:json,{"id":"searchMap","key":"param"}'
target='data:json,{"id":"statList1","key":"statList1"}'
action="/cfs/fine/findPaymentOfPenaltySecondaryChange.do"
method="post" mediatype="application/json" encoding="UTF-8"
@ -111,26 +114,29 @@
//load
scwin.onpageload = function() {
scwin.param = com.getParameter();
statMap.setJSON( scwin.param.data );
searchMap.set("penaltyManageYear", scwin.param.data.penaltyManageYear );
searchMap.set("penaltySeqNo", scwin.param.data.penaltySeqNo );
scwin.closeCallbackFncName = scwin.param.callbackFn;
statList1.set( "carNo2" , statMap.get( "carNo2" ));
statList1.set( "seqNo" , statMap.get( "seqNo" ));
no2.setStyle('display' , 'none'); //주민번호2
addressName.setStyle('display' , 'none'); //주소
ibx_addressName.setStyle('display' , 'none'); //상세주소
com.executeSubmission(sub_search); //조회
};
//조회 후
scwin.sub_search_submitdone = function(e) {
checkMap.setJSON( statList1.getJSON() );
statList1.set("residentNo2", statList1.get( "residentNo" ));
statList1.set("documentNo", statMap.get( "documentNo" ));
statList1.set("miniCarKbn2", statList1.get( "miniCarKbn" ));
statList1.set("workTimes", statList1.get( "passTimes" ));
var residentNo = statList1.get("no1")+statList1.get("no2")+statList1.get("no3")+statList1.get("no4")+statList1.get("no5")
statList1.set("carNo2", statList1.get( "carNo" ));
statList1.set("miniCarKbn2", statList1.get( "miniCarKbn" ));
statList1.set("residentNo2", statList1.get( "residentNo" ));
var residentNo = statList1.get("no1")+statList1.get("no2")+statList1.get("no3")+statList1.get("no4")+statList1.get("no5")
statList1.set("residentNo", residentNo);
};
@ -352,7 +358,10 @@
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.fareOfficeName" style="background-color:#c1dbc1;text-align:center;" readOnly="true">
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.fareOfficeName"
style="background-color:#c1dbc1;text-align:center;"
readOnly="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th">
@ -363,7 +372,10 @@
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.boothId" style="background-color:#c1dbc1;text-align:center;" readOnly="true">
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.boothId"
style="background-color:#c1dbc1;text-align:center;"
readOnly="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th">
@ -372,8 +384,10 @@
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" id="passDay" ref="data:statList1.passDay" style="background-color:#c1dbc1;text-align:center;" readOnly="true"
dataType="date" displayFormat="yyyy/MM/dd">
<xf:input adjustMaxLength="false" id="passDay"
ref="data:statList1.passDay"
style="background-color:#c1dbc1;text-align:center;"
readOnly="true" dataType="date" displayFormat="yyyy/MM/dd">
</xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th">
@ -382,8 +396,10 @@
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" id="passTimes" ref="data:statList1.passTimes" style="background-color:#c1dbc1;text-align:center;" readOnly="true"
dataType="time" displayFormat="HH:mm:ss">
<xf:input adjustMaxLength="false" id="passTimes"
ref="data:statList1.passTimes"
style="background-color:#c1dbc1;text-align:center;"
readOnly="true" dataType="time" displayFormat="HH:mm:ss">
</xf:input>
</xf:group>
</xf:group>
@ -394,7 +410,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.workerName" style="background-color:#c1dbc1;text-align:center;" readOnly="true">
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.workerName"
style="background-color:#c1dbc1;text-align:center;" readOnly="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th">
@ -406,7 +424,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.reader" style="background-color:#c1dbc1;text-align:center;" readOnly="true"></xf:input>
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.reader"
style="background-color:#c1dbc1;text-align:center;" readOnly="true"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
@ -421,7 +441,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.carTypeName" style="background-color:#c1dbc1; width:350px;" readOnly="true">
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.carTypeName"
style="background-color:#c1dbc1; width:350px;" readOnly="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th">
@ -433,7 +455,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="carTypeName1" ref="data:statList1.carTypeName1" style=" width:350px;" ignoreChar="! ">
<xf:input adjustMaxLength="false" id="carTypeName1"
ref="data:statList1.carTypeName1"
style=" width:350px;" ignoreChar="! ">
</xf:input>
</xf:group>
</xf:group>
@ -463,7 +487,10 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="ibx_carNo" ref="data:statList1.carNo" style="width:150px;background-color:#FFFFA2;text-align:center;" allowChar="" maxlength="12" ignoreChar="! "></xf:input>
<xf:input adjustMaxLength="false" id="ibx_carNo"
ref="data:statList1.carNo"
style="width:150px;background-color:#FFFFA2;text-align:center;"
allowChar="" maxlength="12" ignoreChar="! "></xf:input>
</xf:group>
<xf:group class="w2tb_th" style="" tagname="th">경차구분</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
@ -495,7 +522,10 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="ibx_owner" ref="data:statList1.owner" style="width:350px;" ev:onfocus="scwin.ibx_owner_onfocus" ignoreChar="" maxlength="40"></xf:input>
<xf:input adjustMaxLength="false" id="ibx_owner"
ref="data:statList1.owner"
style="width:350px;"
ev:onfocus="scwin.ibx_owner_onfocus" ignoreChar="" maxlength="40"></xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th" style="color:#FF0000;">*주민등록(법인번호)<w2:attributes>
<w2:scope>row</w2:scope>
@ -505,9 +535,15 @@
<w2:colspan>2</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="no1" ref="data:statList1.no1" style="width:100px;text-align:center;" maxlength="6" ev:onviewchange="scwin.no1_onviewchange" ev:onchange="" dataType="number"></xf:input>
<xf:input adjustMaxLength="false" id="no1"
ref="data:statList1.no1"
style="width:100px;text-align:center;"
maxlength="6" ev:onviewchange="scwin.no1_onviewchange" ev:onchange="" dataType="number"></xf:input>
<w2:span id="spa_span1" label="-" style=""></w2:span>
<xf:input adjustMaxLength="false" id="no2" ref="data:statList1.no2" style="width:100px;text-align:center;" maxlength="7" ev:onviewchange="scwin.no2_onviewchange" ev:onchange="" dataType="number"></xf:input>
<xf:input adjustMaxLength="false" id="no2"
ref="data:statList1.no2"
style="width:100px;text-align:center;"
maxlength="7" ev:onviewchange="scwin.no2_onviewchange" ev:onchange="" dataType="number"></xf:input>
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
@ -534,7 +570,10 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="ibx_postNo" ref="data:statList1.postNo" style="width:150px;text-align:center;" ignoreChar="! " allowChar="0-9" maxlength="6" readOnly=""></xf:input>
<xf:input adjustMaxLength="false" id="ibx_postNo"
ref="data:statList1.postNo"
style="width:150px;text-align:center;"
ignoreChar="! " allowChar="0-9" maxlength="6" readOnly=""></xf:input>
<xf:trigger class="btn_cm" disabled="false" ev:onclick="scwin.btn_address_onclick" id="btn_address" style=""
type="button">
<xf:label><![CDATA[주소찾기]]></xf:label>
@ -551,11 +590,17 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="no3" ref="data:statList1.no3" style="width:50px;text-align:center;" ev:onchange="" ev:onviewchange="scwin.no3_onviewchange" maxlength="3" dataType="number"></xf:input>
<xf:input adjustMaxLength="false" id="no3"
ref="data:statList1.no3" style="width:50px;text-align:center;"
ev:onchange="" ev:onviewchange="scwin.no3_onviewchange" maxlength="3" dataType="number"></xf:input>
<w2:span id="spa_span2" label="-" style=""></w2:span>
<xf:input adjustMaxLength="false" id="no4" ref="data:statList1.no4" style="width:30px;text-align:center;" ev:onchange="" ev:onviewchange="scwin.no4_onviewchange" maxlength="2" dataType="number"></xf:input>
<xf:input adjustMaxLength="false" id="no4"
ref="data:statList1.no4" style="width:30px;text-align:center;"
ev:onchange="" ev:onviewchange="scwin.no4_onviewchange" maxlength="2" dataType="number"></xf:input>
<w2:span id="spa_span3" label="-" style=""></w2:span>
<xf:input adjustMaxLength="false" id="no5" ref="data:statList1.no5" style="width:100px;text-align:center;" ev:onchange="" ev:onviewchange="scwin.no5_onviewchange" maxlength="5" dataType="number"></xf:input>
<xf:input adjustMaxLength="false" id="no5"
ref="data:statList1.no5" style="width:100px;text-align:center;"
ev:onchange="" ev:onviewchange="scwin.no5_onviewchange" maxlength="5" dataType="number"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
@ -591,7 +636,8 @@
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:select1 allOption="false" appearance="minimal" chooseOption="" direction="auto" disabled="false"
disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_fareOfficeId" ref="data:statList1.ownerTypeId"
disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_fareOfficeId"
ref="data:statList1.ownerTypeId"
style="width: 150px;" submenuSize="auto">
<xf:choices>
<xf:item>
@ -624,7 +670,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" style="width:150px;text-align:center;" ref="data:statList1.maxCarryCapacity" maxlength="3"></xf:input>
<xf:input adjustMaxLength="false" id=""
style="width:150px;text-align:center;"
ref="data:statList1.maxCarryCapacity" maxlength="3"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
@ -639,7 +687,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" style="width:150px;text-align:center;" ref="data:statList1.lastReader" maxlength="13" ignoreChar="! "></xf:input>
<xf:input adjustMaxLength="false" id=""
style="width:150px;text-align:center;"
ref="data:statList1.lastReader" maxlength="13" ignoreChar="! "></xf:input>
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes>
@ -673,7 +723,8 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.rentCompany" style="width:350px;" ignoreChar="" maxlength="20"></xf:input>
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.rentCompany" style="width:350px;" ignoreChar="" maxlength="20"></xf:input>
</xf:group>
<xf:group class="w2tb_th" style="" tagname="th">문서종류</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
@ -708,12 +759,15 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false" footerDiv="false" id="ica_dateFrom" mandatory="true" ref="data:statList1.rentPeriod1" renderDiv="true" renderType="component" style="width: 110px;" validCheck="true" weekStartsOn="0">
<w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false" footerDiv="false"
id="ica_dateFrom" mandatory="true" ref="data:statList1.rentPeriod1"
renderDiv="true" renderType="component" style="width: 110px;" validCheck="true" weekStartsOn="0">
</w2:inputCalendar>
<w2:span id="spa_span4" label="-" style="margin-left:3px;"></w2:span>
<w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false"
footerDiv="false" id="ica_dateTo" mandatory="true" ref="data:statList1.rentPeriod2" renderDiv="true" renderType="component"
footerDiv="false" id="ica_dateTo" mandatory="true"
ref="data:statList1.rentPeriod2" renderDiv="true" renderType="component"
style="width: 110px;" validCheck="true" weekStartsOn="0">
</w2:inputCalendar>
</xf:group>
@ -728,7 +782,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.documentNumber" style="width:350px;" ignoreChar="! " maxlength="20"></xf:input>
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.documentNumber" style="width:350px;"
ignoreChar="! " maxlength="20"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
@ -743,7 +799,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.rentPerson" style="width:350px;" ignoreChar="! " maxlength="13"></xf:input>
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.rentPerson" style="width:350px;"
ignoreChar="! " maxlength="13"></xf:input>
</xf:group>
<xf:group class="w2tb_td" style="color:#FF0000;" tagname="td">
*&amp;nbsp;소유주&amp;nbsp;변경고지할&amp;nbsp;차량이라면&amp;nbsp;꼭&amp;nbsp;체크해&amp;nbsp;주세요.
@ -766,7 +824,9 @@
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.rentContact" style="width:350px;" ignoreChar="! " dataType="number" maxlength="13"></xf:input>
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.rentContact" style="width:350px;"
ignoreChar="! " dataType="number" maxlength="13"></xf:input>
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes>
@ -774,7 +834,9 @@
<w2:colspan>4</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:select appearance="full" cols="" id="cbx_checkbox2" ref="data:statList1.rentKbn" rows="" selectedindex="0" style="height:21px;">
<xf:select appearance="full" cols="" id="cbx_checkbox2"
ref="data:statList1.rentKbn" rows="" selectedindex="0"
style="height:21px;">
<xf:choices>
<xf:item>
<xf:label><![CDATA[소유주 변경고지 예정 여부]]></xf:label>
@ -796,14 +858,17 @@
<w2:colspan>7</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="" ref="data:statList1.rentCompanyAddress" style="width:785px;" ignoreChar="" maxlength="60"></xf:input>
<xf:input adjustMaxLength="false" id=""
ref="data:statList1.rentCompanyAddress"
style="width:785px;" ignoreChar="" maxlength="60"></xf:input>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
<xf:group class="btn_fix" id="" style="">
<xf:group class="tac" id="" style="">
<xf:trigger class="btn_cm" id="btn_close" style="" type="button" ev:onclick="scwin.btn_close_onclick">
<xf:trigger class="btn_cm" id="btn_close"
style="" type="button" ev:onclick="scwin.btn_close_onclick">
<xf:label><![CDATA[닫기]]></xf:label>
</xf:trigger>
</xf:group>

@ -866,7 +866,6 @@
<result property="rentPerson" column="RENT_PERSON"/>
<result property="rentContact" column="RENT_CONTACT"/>
<result property="rentCompany" column="RENT_COMPANY_ADDRESS"/>
<result property="documentNumber" column="DOCUMENT_NUMBER"/>
<result property="year" column="YEAR"/>
<result property="month" column="MONTH"/>
<result property="day" column="DAY"/>
@ -875,7 +874,7 @@
<result property="rentKbn" column="RENT_KBN"/>
<result property="penaltyManageYear" column="PENALTY_MANAGE_YEAR"/>
<result property="penaltySeqNo" column="PENALTY_SEQNO"/>
<result property="lastReader" column="last_Reader"/>
<result property="lastReader" column="LAST_READER"/>
<result property="rentCompany" column="RENT_COMPANY"/>
<result property="rentPeriod1" column="RENT_PERIOD_1"/>
<result property="rentPeriod2" column="RENT_PERIOD_2"/>
@ -913,7 +912,7 @@
, D.CAR_NO AS CAR_NO
, D.OWNER AS OWNER
, DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO) AS RESIDENT_NO
,'검증원' AS last_Reader
,'검증원' AS LAST_READER
, DECODE(LENGTH(DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO)), '13', SUBSTR(DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO),1,6)) AS NO1
, DECODE(LENGTH(DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO)), '13', SUBSTR(DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO),7,7)) AS NO2
, DECODE(LENGTH(DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO)), '10', SUBSTR(DGUARD.DECRYPT('ENC','COL',D.ENC_RESIDENT_NO),1,3)) AS NO3
@ -1063,23 +1062,23 @@
, #{carNo}
, DGUARD.ENCRYPT('ENC','COL',#{residentNo})
, SYSDATE
, (select nvl(max(CHANAGE_SEQNO),0)+1 from PENALTY_ADDRESS_UPDATE_I_DAMO where penalty_manage_year = #{penaltyManageYear} and penalty_seqno = #{penaltySeqNo})
, (select owner from PENALTY_DETAIL_INFO_DAMO where penalty_manage_year = #{penaltyManageYear} and penalty_seqno = #{penaltySeqNo})
, (select resident_date from PENALTY_HEAD_INFO_DAMO where car_no = #{carNo2} and ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (select post_no1 from PENALTY_HEAD_INFO_DAMO where car_no = #{carNo2} and ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (select post_no2 from PENALTY_HEAD_INFO_DAMO where car_no = #{carNo2} and ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (select address_name from PENALTY_HEAD_INFO_DAMO where car_no = #{carNo2} and ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (select address_number from PENALTY_HEAD_INFO_DAMO where car_no = #{carNo2} and ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (select motion_id from PENALTY_DETAIL_INFO_DAMO where penalty_manage_year = #{penaltyManageYear} and penalty_seqno = #{penaltySeqNo})
, sysdate, #{sessionUserNm}, sysdate, #{sessionUserNm}
, (SELECT NVL(MAX(CHANAGE_SEQNO),0)+1 FROM PENALTY_ADDRESS_UPDATE_I_DAMO WHERE PENALTY_MANAGE_YEAR = #{penaltyManageYear} AND PENALTY_SEQNO = #{penaltySeqNo})
, (SELECT OWNER FROM PENALTY_DETAIL_INFO_DAMO WHERE PENALTY_MANAGE_YEAR = #{penaltyManageYear} AND PENALTY_SEQNO = #{penaltySeqNo})
, (SELECT RESIDENT_DATE FROM PENALTY_HEAD_INFO_DAMO WHERE CAR_NO = #{carNo2} AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (SELECT POST_NO1 FROM PENALTY_HEAD_INFO_DAMO WHERE CAR_NO = #{carNo2} AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (SELECT POST_NO2 FROM PENALTY_HEAD_INFO_DAMO WHERE CAR_NO = #{carNo2} AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (SELECT ADDRESS_NAME FROM PENALTY_HEAD_INFO_DAMO WHERE CAR_NO = #{carNo2} AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (SELECT ADDRESS_NUMBER FROM PENALTY_HEAD_INFO_DAMO WHERE CAR_NO = #{carNo2} AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo2}))
, (SELECT MOTION_ID FROM PENALTY_DETAIL_INFO_DAMO WHERE PENALTY_MANAGE_YEAR = #{penaltyManageYear} AND PENALTY_SEQNO = #{penaltySeqNo})
, SYSDATE, #{sessionUserNm}, SYSDATE, #{sessionUserNm}
)
</insert>
<resultMap id="findPhiForSecondaryChange-result" type="java.util.Map">
<result property="resultCnt" column="resultCnt"/>
<result property="resultCnt" column="RESULT_CNT"/>
</resultMap>
<select id="findPhiForSecondaryChange" parameterType="cfs.fine.vo.FinePenaltyDisableProcessingVO" resultMap="findPhiForSecondaryChange-result">
SELECT count(1) AS resultCnt
SELECT COUNT(1) AS RESULT_CNT
FROM PENALTY_HEAD_INFO_DAMO
WHERE CAR_NO = #{carNo}
AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo})
@ -1120,8 +1119,8 @@
, SUBSTR(#{postNo},4,2)
, #{addressName}
, #{addressNumber}
, nvl(#{rentKbn},'0')
, CREATE_DATE, CREATER, SYSDATE, #{sessionUserNm}
, NVL(#{rentKbn},'0')
, CREATE_DATE, #{sessionUserNm}, SYSDATE, #{sessionUserNm}
, RESIDENT_DATE
, OWNER_TYPE_ID
, DISUSE_DATE
@ -1208,32 +1207,32 @@
</update>
<resultMap id="findPrhiForSecondaryChange-result" type="java.util.Map">
<result property="carNo" column="CAR_NO"/>
<result property="carNo" column="CAR_NO"/>
<result property="residentNo" column="RESIDENT_NO"/>
</resultMap>
<select id="findPrhiForSecondaryChange" parameterType="cfs.fine.vo.FinePenaltyDisableProcessingVO" resultMap="findPrhiForSecondaryChange-result">
select car_no
, resident_no
from (
select rownum, car_no, DGUARD.DECRYPT('ENC','COL',ENC_RESIDENT_NO) AS RESIDENT_NO
from PENALTY_RENT_HEAD_INFO
where CAR_NO = #{carNo}
and ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo})
SELECT CAR_NO
, RESIDENT_NO
FROM (
SELECT ROWNUM, CAR_NO, DGUARD.DECRYPT('ENC','COL',ENC_RESIDENT_NO) AS RESIDENT_NO
FROM PENALTY_RENT_HEAD_INFO
WHERE CAR_NO = #{carNo}
AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo})
)
where rownum = '1'
WHERE ROWNUM = '1'
</select>
<resultMap id="findPrdiForSecondaryChange-result" type="java.util.Map">
<result property="penaltyManageYear" column="penalty_manage_year"/>
<result property="penaltySeqNo" column="penalty_seqno"/>
<result property="penaltyManageYear" column="PENALTY_MANAGE_YEAR"/>
<result property="penaltySeqNo" column="PENALTY_SEQNO"/>
</resultMap>
<select id="findPrdiForSecondaryChange" parameterType="cfs.fine.vo.FinePenaltyDisableProcessingVO" resultMap="findPrdiForSecondaryChange-result">
select penalty_manage_year
, penalty_seqno
from PENALTY_RENT_DETAIL_INFO
where penalty_manage_year = #{penaltyManageYear}
and penalty_seqNo = #{penaltySeqNo}
SELECT PENALTY_MANAGE_YEAR
, PENALTY_SEQNO
FROM PENALTY_RENT_DETAIL_INFO
WHERE PENALTY_MANAGE_YEAR = #{penaltyManageYear}
AND PENALTY_SEQNO = #{penaltySeqNo}
</select>
@ -1286,22 +1285,22 @@
, ''
, ''
FROM PENALTY_HEAD_INFO_DAMO
WHERE rownum = 1
WHERE ROWNUM = 1
AND CAR_NO = #{carNo}
AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo})
</insert>
<update id="updatePrhiForSecondaryChange" parameterType="cfs.fine.vo.FinePenaltyDisableProcessingVO" >
UPDATE PENALTY_RENT_HEAD_INFO
SET update_date = SYSDATE
, updater = #{sessionUserNm}
, owner = #{owner}
, car_type_name = #{carTypeName1}
, max_carry_capacity = #{maxCarryCapacity}
, post_no1 = SUBSTR(#{postNo},1,3)
, post_no2 = SUBSTR(#{postNo},4,2)
, address_name = #{addressName}
, address_number = #{addressNumber}
SET UPDATE_DATE = SYSDATE
, UPDATER = #{sessionUserNm}
, OWNER = #{owner}
, CAR_TYPE_NAME = #{carTypeName1}
, MAX_CARRY_CAPACITY = #{maxCarryCapacity}
, POST_NO1 = SUBSTR(#{postNo},1,3)
, POST_NO2 = SUBSTR(#{postNo},4,2)
, ADDRESS_NAME = #{addressName}
, ADDRESS_NUMBER = #{addressNumber}
WHERE CAR_NO = #{carNo}
AND ENC_RESIDENT_NO = DGUARD.ENCRYPT('ENC','COL',#{residentNo})
</update>
@ -1341,9 +1340,9 @@
<update id="updatePrdiForSecondaryChange" parameterType="cfs.fine.vo.FinePenaltyDisableProcessingVO" >
UPDATE PENALTY_RENT_DETAIL_INFO
SET update_date = sysdate
, updater = #{sessionUserNm}
, owner = #{owner}
SET UPDATE_DATE = SYSDATE
, UPDATER = #{sessionUserNm}
, OWNER = #{owner}
, RENT_COMPANY = #{rentCompany}
, RENT_PERIOD_1 = #{rentPeriod1}
, RENT_PERIOD_2 = #{rentPeriod2}

@ -317,7 +317,9 @@ public class FinePenaltyDisableProcessingController {
*
*/
@RequestMapping(value="/cfs/fine/findPaymentOfPenaltySecondaryChange.do", method=RequestMethod.POST)
public @ResponseBody Map<String, Object> findInfoForSecondaryChange(@RequestBody ParamBean<FinePenaltyDisableProcessingVO> param, HttpServletRequest request) throws Exception {
public @ResponseBody Map<String, Object> findInfoForSecondaryChange(
@RequestBody ParamBean<FinePenaltyDisableProcessingVO> param,
HttpServletRequest request) throws Exception {
FinePenaltyDisableProcessingVO finePenaltyDisableProcessingVO = param.getParam();

Loading…
Cancel
Save