个人意外险和贴息

This commit is contained in:
zhangbeibei 2021-03-22 13:41:56 +08:00
parent b044a87089
commit 720041afbf
8 changed files with 91 additions and 9 deletions

View File

@ -1078,6 +1078,8 @@
<attribute name="STRATEGIC_COEFFICIENT" label="战略系数" type="DOUBLE" length="22" scale="6"/>
<attribute name="STRATEGY_ROA" label="战略ROA" type="DOUBLE" length="22" scale="6"/>
<attribute name="SPLIT_TYPE" label="是否灵活分润" type="STRING"/>
<attribute name="PERSONAL_INSURANCE" label="个人意外险" type="DOUBLE" length="22" scale="2"/>
<attribute name="DISCOUNT_INTEREST" label="贴息" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>
@ -1419,6 +1421,8 @@
<attribute name="STRATEGIC_COEFFICIENT" label="战略系数" type="DOUBLE" length="22" scale="6"/>
<attribute name="STRATEGY_ROA" label="战略ROA" type="DOUBLE" length="22" scale="6"/>
<attribute name="SPLIT_TYPE" label="是否灵活分润" type="STRING"/>
<attribute name="PERSONAL_INSURANCE" label="个人意外险" type="DOUBLE" length="22" scale="2"/>
<attribute name="DISCOUNT_INTEREST" label="贴息" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>
@ -2777,6 +2781,8 @@
<attribute name="STRATEGIC_COEFFICIENT" label="战略系数" type="DOUBLE" length="22" scale="6"/>
<attribute name="STRATEGY_ROA" label="战略ROA" type="DOUBLE" length="22" scale="6"/>
<attribute name="SPLIT_TYPE" label="是否灵活分润" type="STRING"/>
<attribute name="PERSONAL_INSURANCE" label="个人意外险" type="DOUBLE" length="22" scale="2"/>
<attribute name="DISCOUNT_INTEREST" label="贴息" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>
@ -3360,6 +3366,8 @@
<attribute name="STRATEGIC_COEFFICIENT" label="战略系数" type="DOUBLE" length="22" scale="6"/>
<attribute name="STRATEGY_ROA" label="战略ROA" type="DOUBLE" length="22" scale="6"/>
<attribute name="SPLIT_TYPE" label="是否灵活分润" type="STRING"/>
<attribute name="PERSONAL_INSURANCE" label="个人意外险" type="DOUBLE" length="22" scale="2"/>
<attribute name="DISCOUNT_INTEREST" label="贴息" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>

View File

@ -609,4 +609,12 @@ public interface LC_CALC_CONDITION{
* 是否灵活分润<br>
*/
public static final String SPLIT_TYPE = "SPLIT_TYPE";
/**
* 个人意外险<br>
*/
public static final String PERSONAL_INSURANCE = "PERSONAL_INSURANCE";
/**
* 贴息<br>
*/
public static final String DISCOUNT_INTEREST = "DISCOUNT_INTEREST";
}

View File

@ -609,4 +609,12 @@ public interface LC_CALC_CONDITION_HIS{
* 是否灵活分润<br>
*/
public static final String SPLIT_TYPE = "SPLIT_TYPE";
/**
* 个人意外险<br>
*/
public static final String PERSONAL_INSURANCE = "PERSONAL_INSURANCE";
/**
* 贴息<br>
*/
public static final String DISCOUNT_INTEREST = "DISCOUNT_INTEREST";
}

View File

@ -609,4 +609,12 @@ public interface LC_CALC_CONDITION_TEMP{
* 是否灵活分润<br>
*/
public static final String SPLIT_TYPE = "SPLIT_TYPE";
/**
* 个人意外险<br>
*/
public static final String PERSONAL_INSURANCE = "PERSONAL_INSURANCE";
/**
* 贴息<br>
*/
public static final String DISCOUNT_INTEREST = "DISCOUNT_INTEREST";
}

View File

@ -613,4 +613,12 @@ public interface LC_CONTRACT_CONDITION{
* 是否灵活分润<br>
*/
public static final String SPLIT_TYPE = "SPLIT_TYPE";
/**
* 个人意外险<br>
*/
public static final String PERSONAL_INSURANCE = "PERSONAL_INSURANCE";
/**
* 贴息<br>
*/
public static final String DISCOUNT_INTEREST = "DISCOUNT_INTEREST";
}

View File

@ -613,4 +613,12 @@ public interface LC_PROJ_CONDITION{
* 是否灵活分润<br>
*/
public static final String SPLIT_TYPE = "SPLIT_TYPE";
/**
* 个人意外险<br>
*/
public static final String PERSONAL_INSURANCE = "PERSONAL_INSURANCE";
/**
* 贴息<br>
*/
public static final String DISCOUNT_INTEREST = "DISCOUNT_INTEREST";
}

View File

@ -0,0 +1,25 @@
INSERT INTO apzl.awe_do_library (dono, colindex, sortno, isinuse, coltablename, colactualname, colname, coltype, coldefaultvalue, colheader, colunit, colcolumntype, coleditstyle, colcheckformat, colalign, coleditsourcetype, coleditsource, colhtmlstyle, collimit, colvisible, colreadonly, colrequired, colsortable, isfilter, colspan, isautocomplete, groupid, colfilterrefid, inputuser, inputtime, updateuser, updatetime, isaudit, colfilterattrs, isupdate, parentcolindex, tips, colinnerbtevent, colfilteroptions) VALUES ('LoanSimulationBasicFlexibleInfo', '0170', '0170', '1', 'O', 'PERSONAL_INSURANCE', 'PERSONAL_INSURANCE', 'Number', '0', '个人意外险', '', '1', 'Text', '2', '1', '', '', '', null, '1', '0', '0', '1', '0', 0, '', 'credit_conditon', '', 'SYS_Designer', '2021/01/02 09:16:37', 'SYS_Designer', '2021/01/02 09:16:37', '0', '', '1', '', '', '', '');
INSERT INTO apzl.awe_do_library (dono, colindex, sortno, isinuse, coltablename, colactualname, colname, coltype, coldefaultvalue, colheader, colunit, colcolumntype, coleditstyle, colcheckformat, colalign, coleditsourcetype, coleditsource, colhtmlstyle, collimit, colvisible, colreadonly, colrequired, colsortable, isfilter, colspan, isautocomplete, groupid, colfilterrefid, inputuser, inputtime, updateuser, updatetime, isaudit, colfilterattrs, isupdate, parentcolindex, tips, colinnerbtevent, colfilteroptions) VALUES ('LoanSimulationBasicFlexibleInfo', '0175', '0175', '1', 'O', 'DISCOUNT_INTEREST', 'DISCOUNT_INTEREST', 'Number', '0', '贴息', '', '1', 'Text', '2', '1', '', '', '', null, '1', '0', '0', '1', '0', 0, '', 'credit_conditon', '', 'SYS_Designer', '2021/01/02 09:16:37', 'SYS_Designer', '2021/01/02 09:16:37', '0', '', '1', '', '', '', '');
alter table lc_calc_condition_temp
add PERSONAL_INSURANCE decimal(22,2) comment '个人意外险';
alter table lc_calc_condition_temp
add DISCOUNT_INTEREST decimal(22,2) comment '贴息2021年需求增加';
alter table lc_calc_condition
add PERSONAL_INSURANCE decimal(22,2) comment '个人意外险';
alter table lc_calc_condition
add DISCOUNT_INTEREST decimal(22,2) comment '贴息2021年需求增加';
alter table lc_proj_condition
add PERSONAL_INSURANCE decimal(22,2) comment '个人意外险';
alter table lc_proj_condition
add DISCOUNT_INTEREST decimal(22,2) comment '贴息2021年需求增加';
alter table lc_calc_condition_his
add PERSONAL_INSURANCE decimal(22,2) comment '个人意外险';
alter table lc_calc_condition_his
add DISCOUNT_INTEREST decimal(22,2) comment '贴息2021年需求增加';
alter table lc_contract_condition
add PERSONAL_INSURANCE decimal(22,2) comment '个人意外险';
alter table lc_contract_condition
add DISCOUNT_INTEREST decimal(22,2) comment '贴息2021年需求增加';

View File

@ -1,14 +1,5 @@
package com.tenwa.handler;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP;
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP;
import com.amarsoft.app.util.ProductParamUtil;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.JBOFactory;
@ -16,6 +7,14 @@ import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.awe.dw.handler.impl.CommonHandler;
import com.amarsoft.dict.als.cache.CodeCache;
import com.amarsoft.dict.als.object.Item;
import jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP;
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
public class LCFundPaymentTempInfoHandler extends CommonHandler {
@Override
@ -104,6 +103,16 @@ public class LCFundPaymentTempInfoHandler extends CommonHandler {
bo.setAttributeValue("FIRST_PAYMENT", factMoney);
this.asDataObject.setVisible("FIRST_PAYMENT", true);
break;
case "feetype32":
cleanLeaseMoney = cleanLeaseMoney.add(factMoney);
bo.setAttributeValue("PERSONAL_INSURANCE", factMoney);
this.asDataObject.setVisible("PERSONAL_INSURANCE", true);
break;
case "feetype33":
cleanLeaseMoney = cleanLeaseMoney.add(factMoney);
bo.setAttributeValue("DISCOUNT_INTEREST", factMoney);
this.asDataObject.setVisible("DISCOUNT_INTEREST", true);
break;
}
}