From 1258bba9deaea3dc9eb66e7c20b28f20d072cb8b Mon Sep 17 00:00:00 2001 From: tangfutang <3218982385@qq.com> Date: Wed, 4 Aug 2021 13:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=AE=B5=E8=9E=8D=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=9C=9F=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LCCalcSubsectionInfoTempList.jsp | 14 ++++++++++++++ .../WEB-INF/etc/app/component/component-config.xml | 2 +- .../app/component/component-parameter-config.xml | 2 +- WebContent/WEB-INF/etc/jbo/jbo_calc.xml | 3 +++ .../com/tenwa/reckon/product/ProductCondition.java | 11 ++++++++++- 5 files changed, 29 insertions(+), 3 deletions(-) diff --git a/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp b/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp index fb85aa3a6..be4600759 100644 --- a/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp +++ b/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp @@ -143,5 +143,19 @@ function viewAndEdit(){ AsDialog.PopView("/Accounting/LoanSimulation/LCSubsectionRentPlanTempList.jsp","flowunid=<%=flowunid%>","resizable=yes;dialogWidth=1250px;dialogHeight=800px;center:yes;status:no;statusbar:no",function(){reloadSelf();},"详细信息"); } + + function afterSearch(){ + for(var i=0;i <%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index 630aa8b74..81d56c0c8 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -1107,4 +1107,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml b/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml index 25ee0562e..cc07f108b 100644 --- a/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml @@ -196,4 +196,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml index 084841b69..fa37fd1f8 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml @@ -4668,6 +4668,7 @@ + @@ -4702,6 +4703,7 @@ + @@ -4737,6 +4739,7 @@ + diff --git a/calc/com/tenwa/reckon/product/ProductCondition.java b/calc/com/tenwa/reckon/product/ProductCondition.java index 8beef300f..cda163cac 100644 --- a/calc/com/tenwa/reckon/product/ProductCondition.java +++ b/calc/com/tenwa/reckon/product/ProductCondition.java @@ -764,7 +764,7 @@ public class ProductCondition { List bos = bom.createQuery( "flowunid = :flowunid" ).setParameter( "flowunid", flowunid ).getResultList( false ); if ( bos.size() == 0 ) { Map>> configs = ProductParamUtil.getProductComponentDecisionTable( productId, "PRD0301", - "Rate", "Discount", "DiscountRate", "DiscountCalcMethod", "IsBalanceLending", "DiscountCollectionPeriod", "MaximumDiscount" ); + "Rate", "Discount", "DiscountRate", "DiscountCalcMethod", "IsBalanceLending", "DiscountCollectionPeriod", "MaximumDiscount" ,"incomeNumber"); List> sf = configs.get( "segmented_financing" ); int i = 1; String discountCalcMethod = null ; @@ -792,6 +792,15 @@ public class ProductCondition { } bo.setAttributeValue( "MAXIMUM_DISCOUNT", f.get( "MaximumDiscount" ) ); bo.setAttributeValue( "FLOWUNID", flowunid ); + //根据产品配置期次,如果配置赋值给对应的值 + String incomeNumber = f.get( "incomeNumber" ); + if(incomeNumber == null || incomeNumber.isEmpty() ){ + bo.setAttributeValue( "IS_ONLYREAD_INCOME_NUMBER", "N" ); + }else{ + bo.setAttributeValue( "IS_ONLYREAD_INCOME_NUMBER", "Y" ); + bo.setAttributeValue( "INCOME_NUMBER", incomeNumber ); + } + bom.saveObject( bo ); i ++; }