Commit e6d32c36 by guojuxing

jsonArr不能foreach

parent a9f34e3f
......@@ -31,7 +31,8 @@ public class StoreBackImpl implements ScreenBackStrategy {
if(response.isSuccess()){
List<JSONObject> list = ((Page)response.getResult()).getResult();
if(CollectionUtils.isNotEmpty(list)){
for(JSONObject jsonObject : list){
for (int i = 0,length = list.size(); i < length; i ++) {
JSONObject jsonObject = list.get(i);
stringBuilder.append("【").append(jsonObject.getString(StoreESFieldsEnum.STORENAME.getField())).append("】").append(" ");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment