1.付款申请商务条件页面报错问题
This commit is contained in:
parent
fd5d0d8b8e
commit
09e4a823bf
@ -698,18 +698,23 @@ public class ProductParamUtil {
|
||||
BusinessObject b = BusinessObject.createBusinessObject("Component");
|
||||
b.setAttributes(jo);
|
||||
BusinessObject[] bos = new BusinessObject[ja.size()];
|
||||
for(int i=0;i<ja.size();i++){
|
||||
if(ja.get(i) instanceof JSONNull){
|
||||
continue;
|
||||
|
||||
for(int i=0;i<ja.size();i++){
|
||||
if(ja.get(i) instanceof JSONNull){
|
||||
continue;
|
||||
}
|
||||
if(jo.get("Parameter")==null){
|
||||
continue;
|
||||
}
|
||||
JSONObject value = ja.getJSONObject(i).getJSONObject("jbo.sample.Parameter");
|
||||
Map<String,Object> valMap = new HashMap<String,Object>();
|
||||
Set<Entry> vSet = value.entrySet();
|
||||
for(Entry v:vSet){
|
||||
valMap.put(v.getKey().toString(), v.getValue());
|
||||
}
|
||||
bos[i] = BusinessObject.createBusinessObject("jbo.sample.Parameter",valMap);
|
||||
}
|
||||
JSONObject value = ja.getJSONObject(i).getJSONObject("jbo.sample.Parameter");
|
||||
Map<String,Object> valMap = new HashMap<String,Object>();
|
||||
Set<Entry> vSet = value.entrySet();
|
||||
for(Entry v:vSet){
|
||||
valMap.put(v.getKey().toString(), v.getValue());
|
||||
}
|
||||
bos[i] = BusinessObject.createBusinessObject("jbo.sample.Parameter",valMap);
|
||||
}
|
||||
|
||||
b.setAttributeValue("Parameter", bos);
|
||||
exists.add(b);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user