jiangping
2024-03-04 d495e97e5f55c02486d8bb205e23aea5760c359f
server/dmvisit_service/src/main/java/com/doumee/core/erp/ErpTool.java
@@ -116,14 +116,14 @@
                if(StringUtils.isNotBlank(result)){
                    TypeReference typeReference =
                            new TypeReference<ERPApiResponse<PageData<ErpUserListResponse>>>(){};
                    ERPApiResponse<PageData <ErpUserListResponse>> response = JSONObject.parseObject(result, typeReference.getType());
                   ERPApiResponse<PageData <ErpUserListResponse>> response = JSONObject.parseObject(result, typeReference.getType());
                    if(response!=null && response.getData()!=null && response.getData().getRecords()!=null){
                        list.addAll(response.getData().getRecords());
                        if(pageSize*page < response.getData().getTotal() ){
                            hasLast =false;//还有下一页
                            hasLast =true;//还有下一页
                        }
                        page++;
                    }
                    page++;
                }
            }
        }catch (Exception e){