diff --git a/src/main/java/cokr/xit/fims/crdn/service/bean/CrdnStngBean.java b/src/main/java/cokr/xit/fims/crdn/service/bean/CrdnStngBean.java index 6f0f9dea..76dc11bc 100644 --- a/src/main/java/cokr/xit/fims/crdn/service/bean/CrdnStngBean.java +++ b/src/main/java/cokr/xit/fims/crdn/service/bean/CrdnStngBean.java @@ -153,6 +153,9 @@ public class CrdnStngBean extends AbstractComponent { } else if(taskSeCd.equals("ECA")) { + query.setAmtDcsnCdGroupId("FIM061"); + query.setAmtDcsnCd(crdn.getVltnCd()); + int ffnlgCrdnAmt = Integer.parseInt(ifEmpty(globalStngMapper.selectBasicAmt(query), () -> "0")); amt[0] = ffnlgCrdnAmt; amt[1] = (int)(ffnlgCrdnAmt * 0.8); diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java index 13629820..63f785e9 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java @@ -101,7 +101,8 @@ public class Crdn05Controller extends ApplicationController { switch(urlTaskSeCd) { case "PVS" -> { vltnByTask = "WEB002"; } case "BPV" -> { vltnByTask = "FIM005"; } - case "DPV","ECA" -> { vltnByTask = "FIM006"; } + case "DPV" -> { vltnByTask = "FIM006"; } + case "ECA" -> { vltnByTask = "FIM061"; } } Map> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask); mav.addObject("FIM011List", commonCodes.get("FIM011")); diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java index 29ed9096..a835945b 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java @@ -148,7 +148,8 @@ public class Cvlc01Controller extends ApplicationController { switch(urlTaskSeCd) { case "PVS" -> { vltnByTask = "WEB002"; } case "BPV" -> { vltnByTask = "FIM005"; } - case "DPV","ECA" -> { vltnByTask = "FIM006"; } + case "DPV" -> { vltnByTask = "FIM006"; } + case "ECA" -> { vltnByTask = "FIM061"; } } Map> commonCodes = getCodesOf("FIM011","FIM053","LVS005",vltnByTask); mav.addObject("FIM011List", commonCodes.get("FIM011"));