diff --git a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcCustomerReportServiceImpl.java b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcCustomerReportServiceImpl.java index 2d985ad0c7..59e2a836a7 100644 --- a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcCustomerReportServiceImpl.java +++ b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcCustomerReportServiceImpl.java @@ -467,10 +467,13 @@ public class IcCustomerReportServiceImpl extends BaseServiceImpl ids = new ArrayList<>(); - // 这种可能是pageData的 if (data instanceof JSONObject) { + // 这种可能是pageData的 JSONObject jo = (JSONObject) data; array = jo.getJSONArray("list"); + } else { + // 可能是不分页的列表 + array = (JSONArray) data; } for (ListIterator it = array.listIterator(); it.hasNext(); ) {