From d2336d26ab241c7f7c6054d3012f5df7034108c7 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 24 Aug 2023 14:18:15 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EA=B8=B0=EC=B0=A8=20=EC=9C=84?= =?UTF-8?q?=EB=B0=98=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/fims/crdn/service/bean/CrdnStngBean.java | 3 +++ src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java | 3 ++- src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) 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"));