diff --git a/calc/com/tenwa/reckon/bean/TabCalBean.java b/calc/com/tenwa/reckon/bean/TabCalBean.java index 98546fbbb..081e15232 100644 --- a/calc/com/tenwa/reckon/bean/TabCalBean.java +++ b/calc/com/tenwa/reckon/bean/TabCalBean.java @@ -325,9 +325,12 @@ public class TabCalBean { } } //收益核算 - Map> 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> 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> datemap=ProductParamUtil.getProductComponentType(this.getProductId(), "PRD0340");