밤샘주차 코드 변경

main
이범준 9 months ago
parent b9886d1971
commit c0063e311e

@ -92,7 +92,7 @@ public class CodeConverter {
case "ECA" :
codeGroup = "FIM061";
break;
case "TPV" :
case "PES" :
codeGroup = "FIM064";
break;
default :

@ -74,7 +74,7 @@ public class StngServiceBean extends AbstractServiceBean implements StngService
case "BPV" -> { vltnByTask = "FIM005"; }
case "DPV" -> { vltnByTask = "FIM006"; }
case "ECA" -> { vltnByTask = "FIM061"; }
case "TPV" -> { vltnByTask = "FIM064"; }
case "PES" -> { vltnByTask = "FIM064"; }
}
if(!vltnByTask.equals("")) {
cq = new CodeQuery();

@ -179,13 +179,14 @@ public class StngController extends ApplicationController {
ModelAndView mav = new ModelAndView("fims/stng01020-main");
mav.addObject("pageName", "stng01020");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM047","FIM078","FIM080");
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM047","FIM078","FIM080","EIF001");
mav.addObject("FIM047List", commonCodes.get("FIM047"));
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM078List", commonCodes.get("FIM078"));
mav.addObject("FIM080List", commonCodes.get("FIM080"));
mav.addObject("TmplatList", commonCodes.get("EIF001"));
addCodes(commonCodes, mav, "FIM047", "FIM054", "FIM078","FIM080");
return mav;

@ -275,7 +275,7 @@ abstract public class LayoutParser {
case "BPV" -> { vltnGroup = "FIM005"; }
case "DPV" -> { vltnGroup = "FIM006"; }
case "ECA" -> { vltnGroup = "FIM061"; }
case "TPV" -> { vltnGroup = "FIM064"; }
case "PES" -> { vltnGroup = "FIM064"; }
}
if(!vltnGroup.equals("")) {
codeConverter.fillIfEmpty(dataObject, vltnGroup, "VLTN_CD", "VLTN_NM");

@ -88,7 +88,7 @@ public class CrdnStngBean extends AbstractComponent {
query.setAplcnYmd(crdn.getCrdnYmd());
String ffnlgCarmdlCd = crdn.getFfnlgCarmdlCd();
if(taskSeCd.equals("PVS") || taskSeCd.equals("BPV") || taskSeCd.equals("TPV")) {
if(taskSeCd.equals("PVS") || taskSeCd.equals("BPV") || taskSeCd.equals("PES")) {
if(ifEmpty(ffnlgCarmdlCd, () -> "").equals("")) {
return amt;
}
@ -165,7 +165,7 @@ public class CrdnStngBean extends AbstractComponent {
amt[0] = ffnlgCrdnAmt;
amt[1] = (int)(ffnlgCrdnAmt * 0.8);
} else if(taskSeCd.equals("TPV")) {
} else if(taskSeCd.equals("PES")) {
query.setAmtDcsnCdGroupId("FIM057");

@ -409,7 +409,7 @@ public class Crdn05Controller extends ApplicationController {
case "BPV" -> { vltnByTask = "FIM005"; }
case "DPV" -> { vltnByTask = "FIM006"; }
case "ECA" -> { vltnByTask = "FIM061"; }
case "TPV" -> { vltnByTask = "FIM064"; }
case "PES" -> { vltnByTask = "FIM064"; }
}
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask);
mav.addObject("FIM011List", commonCodes.get("FIM011"));

@ -280,7 +280,7 @@ public class Crdn06Controller extends ApplicationController {
case "BPV" -> { vltnByTask = "FIM005"; }
case "DPV" -> { vltnByTask = "FIM006"; }
case "ECA" -> { vltnByTask = "FIM061"; }
case "TPV" -> { vltnByTask = "FIM064"; }
case "PES" -> { vltnByTask = "FIM064"; }
}
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask);
@ -312,7 +312,7 @@ public class Crdn06Controller extends ApplicationController {
mav.addObject("FIM034List", commonCodes.get("FIM034"));
}
case "ECA" -> { }
case "TPV" -> { }
case "PES" -> { }
}
return mav

@ -313,7 +313,7 @@ public class CrdnCvlcptMainBean extends AbstractComponent {
case "BPV" -> codeGroupId = "FIM005";
case "DPV" -> codeGroupId = "FIM006";
case "ECA" -> codeGroupId = "FIM061";
case "TPV" -> codeGroupId = "FIM064";
case "PES" -> codeGroupId = "FIM064";
}
code = crdnCvlcpt.getAnsRsnCd().substring(1);
}

@ -292,7 +292,7 @@ public class Cvlc01Controller extends ApplicationController {
case "BPV" -> { vltnByTask = "FIM005"; }
case "DPV" -> { vltnByTask = "FIM006"; }
case "ECA" -> { vltnByTask = "FIM061"; }
case "TPV" -> { vltnByTask = "FIM064"; }
case "PES" -> { vltnByTask = "FIM064"; }
}
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask);
mav.addObject("FIM011List", commonCodes.get("FIM011"));
@ -317,7 +317,7 @@ public class Cvlc01Controller extends ApplicationController {
mav.addObject("FIM034List", commonCodes.get("FIM034"));
}
case "ECA" -> { }
case "TPV" -> { }
case "PES" -> { }
}
return mav;

@ -67,7 +67,7 @@
<if test="taskSeCd == 'DPV'">
, PARKNG_PSBLTY_RSLT_CD = #{parkngPsbltyRsltCd}<!-- 주차 가능 결과 코드 -->
</if>
<if test="taskSeCd == 'TPV'">
<if test="taskSeCd == 'PES'">
, VLTN_NMTM = #{vltnNmtm} <!-- 위반 횟수 -->
</if>
<if test="taskSeCd == 'PVS' or taskSeCd == 'BPV'">

@ -24,7 +24,7 @@ SELECT CASE WHEN VLTN LIKE CONCAT('%', '전용차로', '%') THEN 'BPV'
AND VLTN NOT LIKE CONCAT('%', '장애인보호구역', '%') THEN 'DPV'
WHEN VLTN LIKE CONCAT('%', '전기차', '%')
OR VLTN LIKE CONCAT('%', '친환경차', '%') THEN 'ECA'
WHEN VLTN LIKE CONCAT('%', '밤샘', '%') THEN 'TPV'
WHEN VLTN LIKE CONCAT('%', '밤샘', '%') THEN 'PES'
ELSE 'PVS'
END TASK_CD <!-- 업무구분(FIM054) -->
, CASE WHEN VLTN LIKE CONCAT('%', '방해', '%') THEN '03'

@ -626,7 +626,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */
<if test="taskSeCd == 'DPV'">
, PARKNG_PSBLTY_RSLT_CD = #{crdn.parkngBsbltyRsltCd}<!-- 주차 가능 결과 코드 -->
</if>
<if test="taskSeCd == 'TPV'">
<if test="taskSeCd == 'PES'">
, VLTN_NMTM = #{crdn.vltnNmtm} <!-- 위반 횟수 -->
</if>
<if test="taskSeCd == 'PVS' or taskSeCd == 'BPV'">

@ -179,7 +179,7 @@ $(document).ready(function(){
case "DVS" :
$("#btnInsertByFile--${pageName}").show();
break;
case "TPV" :
case "PES" :
default :
$("#btnInsertByFile--${pageName}").hide();
break;

@ -244,7 +244,7 @@
단속 정보를 찾지 못했습니다.
</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="9" class="dataTables_empty text-center">
단속 정보를 찾지 못했습니다.
</td>

@ -264,7 +264,7 @@
<tr class="pvs">
<td valign="top" colspan="29" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="29" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -313,7 +313,7 @@
<tr class="pvs">
<td valign="top" colspan="39" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="39" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -234,7 +234,7 @@
<tr class="pvs">
<td valign="top" colspan="22" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="22" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -274,7 +274,7 @@
<tr class="pvs">
<td valign="top" colspan="27" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="27" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
@ -739,7 +739,7 @@
vltnCd = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnCd = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
} else if (taskSeCd == "PES") { // 밤샘 주차 위반
vltnCd = FIM064.list();
} else {
return;

@ -326,7 +326,7 @@
<tr class="pvs">
<td valign="top" colspan="54" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="54" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -224,7 +224,7 @@
<tr class="pvs">
<td valign="top" colspan="24" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="24" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -288,7 +288,7 @@
<tr class="pvs">
<td valign="top" colspan="45" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="45" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -277,7 +277,7 @@
<tr class="pvs">
<td valign="top" colspan="29" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="29" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -267,7 +267,7 @@
<tr class="pvs">
<td valign="top" colspan="29" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="29" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
@ -785,7 +785,7 @@
vltnIdCode = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnIdCode = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
} else if (taskSeCd == "PES") { // 밤샘 주차 위반
vltnIdCode = FIM064.list();
} else {
return;

@ -196,7 +196,7 @@
<tr class="pvs">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -251,7 +251,7 @@
<tr class="pvs">
<td valign="top" colspan="27" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="27" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
@ -730,7 +730,7 @@
vltnCode = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnCode = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
} else if (taskSeCd == "PES") { // 밤샘 주차 위반
vltnCode = FIM064.list();
} else {
return;

@ -197,7 +197,7 @@
<tr class="pvs">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -200,7 +200,7 @@
<tr class="pvs">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>

@ -235,7 +235,7 @@
vltnIdCode = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnIdCode = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
} else if (taskSeCd == "PES") { // 밤샘 주차 위반
vltnIdCode = FIM064.list();
} else {
return;

@ -285,7 +285,7 @@
<tr class="pvs">
<td valign="top" colspan="30" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
<tr class="tpv">
<tr class="pes">
<td valign="top" colspan="30" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
@ -779,7 +779,7 @@
vltnCode = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnCode = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
} else if (taskSeCd == "PES") { // 밤샘 주차 위반
vltnCode = FIM064.list();
} else {
return;

@ -168,7 +168,7 @@ $(document).ready(function() {
vltnIdCode = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnIdCode = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
} else if (taskSeCd == "PES") { // 밤샘 주차 위반
vltnIdCode = FIM064.list();
}

@ -974,7 +974,7 @@
$("#divTowngYnNm--${pageName}").show(); // 견인 여부
$("#divFfnlgCarmdlNm--${pageName}").show(); // 과태료 차종
$("#divOvtimeYnNm--${pageName}").show(); // 시간외 여부
} else if (pageObject["${pageNameMain}"].mainControl.dataset.getValue("TASK_SE_CD") == "TPV") { // 밤샘주차위반
} else if (pageObject["${pageNameMain}"].mainControl.dataset.getValue("TASK_SE_CD") == "PES") { // 밤샘주차위반
$("#divBlank2--${pageName}").show(); // 빈칸
$("#divCrdnBgngTm--${pageName}").show(); // 단속 시작 시각 ~ 단속 종료 시각
}

@ -18,8 +18,11 @@
</select>
템플릿
<select class="form-select" name="tmplatId">
<option value="JU001">사전통지서</option>
<option value="JU002">본고지(수시분)</option>
<c:forEach items="${TmplatList}" var="item">
<option value="${item.code}">${item.value}</option>
</c:forEach>
<!-- <option value="JU001">사전통지서</option>
<option value="JU002">본고지(수시분)</option> -->
</select>
<button type="button" id="btnLoad--${pageName}" class="btn btn-primary">불러오기</button>

Loading…
Cancel
Save