|
@@ -24,7 +24,8 @@ public class GetVenderBySpecProcessor implements Processor {
|
|
|
if(json.getString("Result").equalsIgnoreCase("failure")){
|
|
|
throw new InvalidPostException("查询数据平台资产出错");
|
|
|
}
|
|
|
- List<PropertyObj> propertyObjList = JSON.parseObject(json.getJSONArray("Content").toString(),List.class);
|
|
|
+// List<PropertyObj> propertyObjList = JSON.parseObject(json.getJSONArray("Content").toString(),List.class);
|
|
|
+ List<PropertyObj> propertyObjList = JSONObject.parseArray(json.getJSONArray("Content").toString(),PropertyObj.class);
|
|
|
List<String> specIdList = new ArrayList<>();
|
|
|
for(PropertyObj p : propertyObjList){
|
|
|
Map<String,Object> infos = p.getInfos();
|