전기차 위반코드 추가

main
이범준 1 year ago
parent 2f51a2dfb5
commit d2336d26ab

@ -153,6 +153,9 @@ public class CrdnStngBean extends AbstractComponent {
} else if(taskSeCd.equals("ECA")) { } else if(taskSeCd.equals("ECA")) {
query.setAmtDcsnCdGroupId("FIM061");
query.setAmtDcsnCd(crdn.getVltnCd());
int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0"));
amt[0] = ffnlgCrdnAmt; amt[0] = ffnlgCrdnAmt;
amt[1] = (int)(ffnlgCrdnAmt * 0.8); amt[1] = (int)(ffnlgCrdnAmt * 0.8);

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

@ -148,7 +148,8 @@ public class Cvlc01Controller extends ApplicationController {
switch(urlTaskSeCd) { switch(urlTaskSeCd) {
case "PVS" -> { vltnByTask = "WEB002"; } case "PVS" -> { vltnByTask = "WEB002"; }
case "BPV" -> { vltnByTask = "FIM005"; } case "BPV" -> { vltnByTask = "FIM005"; }
case "DPV","ECA" -> { vltnByTask = "FIM006"; } case "DPV" -> { vltnByTask = "FIM006"; }
case "ECA" -> { vltnByTask = "FIM061"; }
} }
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask); Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask);
mav.addObject("FIM011List", commonCodes.get("FIM011")); mav.addObject("FIM011List", commonCodes.get("FIM011"));

Loading…
Cancel
Save