修改内部收益率计算方式

This commit is contained in:
zhulianghua 2018-09-18 11:57:27 +08:00
parent 1ea20b704d
commit ea61ad57fe

View File

@ -325,9 +325,12 @@ public class TabCalBean {
}
}
//收益核算
Map<String,Map<String,String>> IRRmap=ProductParamUtil.getProductComponentType(this.getProductId(), "PRD0309");
if(IRRmap.containsKey("SYHS")&&IRRmap.get("SYHS")!=null&&IRRmap.get("SYHS").get("SYHS")!=null&&!IRRmap.get("SYHS").get("SYHS").equals("")){
cb.setIrrType(IRRmap.get("SYHS").get("SYHS"));
//Map<String,Map<String,String>> IRRmap=ProductParamUtil.getProductComponentType(this.getProductId(), "PRD0309");
String irrType = ProductParamUtil.getProductParameterValue(productId, "PRD0350", "SYHS", "SYHS");
if("".equals(irrType) || irrType == null) {
cb.setIrrType("STAGE_IRR");
} else {
cb.setIrrType(irrType);
}
//日期处理
Map<String,Map<String,String>> datemap=ProductParamUtil.getProductComponentType(this.getProductId(), "PRD0340");