From 783a776b391da02e2704721d8d26a405f9895192 Mon Sep 17 00:00:00 2001 From: wangling <1127159486@qq.com> Date: Sun, 5 Sep 2021 16:42:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=B4=B4=E6=81=AF=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=B8=BADISCOUNT=5FINTEREST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp | 1 + calc/com/tenwa/reckon/executor/FundFundPlanExecutor.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 09253a440..db72d1d38 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -198,6 +198,7 @@ if(CurUser.hasRole("401")){ doTemp.setVisible("CAUTION_MONEY_METHOD",false); doTemp.setVisible("DISCOUNT", false); + doTemp.setVisible("DISCOUNT_INTEREST", false); // doTemp.setColumnAttribute("DISCOUNT","colvisible","0"); } if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){ diff --git a/calc/com/tenwa/reckon/executor/FundFundPlanExecutor.java b/calc/com/tenwa/reckon/executor/FundFundPlanExecutor.java index e93d27bc3..a108b0e47 100644 --- a/calc/com/tenwa/reckon/executor/FundFundPlanExecutor.java +++ b/calc/com/tenwa/reckon/executor/FundFundPlanExecutor.java @@ -49,7 +49,7 @@ public class FundFundPlanExecutor { BizObjectManager bom = JBOFactory.getBizObjectManager( "jbo.app.tenwa.calc.LC_CALC_SUBSECTION_INFO_TEMP", tx ); List bos = bom.createQuery( "flowunid = :flowunid" ).setParameter( "flowunid", tcb.getDocId() ).getResultList( false ); for ( BizObject bo : bos ) { - String discount = bo.getAttribute( "DISCOUNT" ).getString(); + String discount = bo.getAttribute( "DISCOUNT_INTEREST" ).getString(); String subsectionNumber = bo.getAttribute( "SUBSECTION_NUMBER" ).getString(); String isBalanceLending = bo.getAttribute( "IS_BALANCE_LENDING" ).getString(); String discountCollectionPeriod = bo.getAttribute( "DISCOUNT_COLLECTION_PERIOD" ).getString();