|
@@ -128,13 +128,15 @@ public class SceneService implements ISceneService {
|
|
|
}
|
|
|
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(fdkkResponse.getData()));
|
|
|
JSONArray list = null;
|
|
|
- if(param.getNumList() == null || param.getNumList().size()<=0){
|
|
|
- list = jsonObject.getJSONObject("pageInfo").getJSONArray("list");
|
|
|
- total = jsonObject.getJSONObject("pageInfo").getLong("total");
|
|
|
- }else {
|
|
|
- list = jsonObject.getJSONArray("list");
|
|
|
- total =jsonObject.getLong("total");
|
|
|
- }
|
|
|
+// if(param.getNumList() == null || param.getNumList().size()<=0){
|
|
|
+// list = jsonObject.getJSONObject("pageInfo").getJSONArray("list");
|
|
|
+// total = jsonObject.getJSONObject("pageInfo").getLong("total");
|
|
|
+// }else {
|
|
|
+// list = jsonObject.getJSONArray("list");
|
|
|
+// total =jsonObject.getLong("total");
|
|
|
+// }
|
|
|
+ list = jsonObject.getJSONArray("list");
|
|
|
+ total =jsonObject.getLong("total");
|
|
|
for (Object o : list) {
|
|
|
String res = JSONObject.toJSONString(o);
|
|
|
SceneVo vo = JSONObject.parseObject(res,SceneVo.class);
|