|
@@ -201,10 +201,8 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
|
List<String> numList = list.parallelStream().map(SceneCooperation::getSceneNum).collect(Collectors.toList());
|
|
|
if(numList.size() <=0){
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- PageInfo<Object> pageinfo = new PageInfo<>();
|
|
|
- pageinfo.setList(new ArrayList<>());
|
|
|
- jsonObject.put("pageInfo", pageinfo);
|
|
|
- jsonObject.put("sceneNum",0);
|
|
|
+ jsonObject.put("list", new ArrayList<>());
|
|
|
+ jsonObject.put("total",0);
|
|
|
return jsonObject;
|
|
|
}
|
|
|
param.setNumList(numList);
|