1.修改已办事宜商务条件“其它”和“利率类型”错误问题。
This commit is contained in:
parent
49638ba8b5
commit
b44538d6ec
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user