diff --git a/src_tenwa/com/tenwa/lease/flow/flowarchive/calcarchive/CalcCondtionInfoArachiveShow.java b/src_tenwa/com/tenwa/lease/flow/flowarchive/calcarchive/CalcCondtionInfoArachiveShow.java index 6ccc53cb7..6f4c2ed66 100644 --- a/src_tenwa/com/tenwa/lease/flow/flowarchive/calcarchive/CalcCondtionInfoArachiveShow.java +++ b/src_tenwa/com/tenwa/lease/flow/flowarchive/calcarchive/CalcCondtionInfoArachiveShow.java @@ -25,6 +25,7 @@ public class CalcCondtionInfoArachiveShow extends BaseDataInfoHistory { if(!phaseInfo.equals("[]")){ JSONObject phaseData=JSONDecoder.decode(phaseInfo); JSONObject listInfo=(JSONObject)phaseData.get("ListInfo").getValue(); + JSONObject listInfolist=(JSONObject)phaseData.get("List").getValue(); for (int i = 0; i < listInfo.size(); i++) { JSONObject jsonItems = (JSONObject) listInfo.get(i).getValue();//遍历peList1获取每一条的json数据jsonItems if(jsonItems.get("plannumber").getValue().equals(plannumber)){ @@ -32,6 +33,14 @@ public class CalcCondtionInfoArachiveShow extends BaseDataInfoHistory { this.phaseData=(JSONObject)flowData.get("condtion").getValue(); } } + for (int j = 0; j < listInfolist.size(); j++) { + JSONObject jsonItemss = (JSONObject) listInfolist.get(j).getValue();//遍历peList1获取每一条的json数据jsonItems + String otherMoney=(jsonItemss.get("OTHER_MONEY")==null?"0":jsonItemss.get("OTHER_MONEY").getValue())+""; + String otherIncome= (jsonItemss.get("RATE_TYPE")==null?"":jsonItemss.get("RATE_TYPE").getValue())+""; + if(Double.parseDouble(otherMoney)>0)this.phaseData.appendElement("OTHER_MONEY", otherMoney); + if(!"null".equals(otherIncome))this.phaseData.appendElement("RATE_TYPE", otherIncome); + } + }else{ this.phaseData=null; }