使用产品:iserver 11.2 win11 x64 SuperMap iClient JavaScript 11i(2024) SP1
数据类型:文件型
问题:startRecord不管是几都只会返回前20条数据,我看F12中对应的请求里startRecord传了
returnContent: true
_method: POST
requestEntity: {'queryMode':'SqlQuery','queryParameters':{'customParams':null,'expectCount':20,'networkType':"LINE",'queryOption':"ATTRIBUTEANDGEOMETRY",'queryParams':[{'name':"调查户院@wszl",'attributeFilter':"",'joinItems':null,'linkItems':null,'ids':null,'orderBy':null,'groupBy':null,'fields':null}],'startRecord':80,'prjCoordSys':null,'holdTime':10,'returnCustomResult':false}}
callback: SuperMap.Util.RequestJSONP.supermap_callbacks[76557981585309400]
sectionCount: 1
sectionIndex: 0
jsonpUserID: 1735263190816
let queryParam, queryBySQLParams, queryBySQLService;
queryParam = new SuperMap.REST.FilterParameter({
name: DATASET_NAME + '@' + DATASOURCE
});
queryBySQLParams = new SuperMap.REST.QueryBySQLParameters({
queryParams: [queryParam],
startRecord: startRecord,
expectCount: 20
});
queryBySQLService = new SuperMap.REST.QueryBySQLService(`${ISERVER_MAP_URL}/rest/maps/${DATASET_NAME}@${DATASOURCE}`, {
eventListeners: {
"processCompleted": function (queryEventArgs) {
},
"processFailed": function (e) {
}
}
});
queryBySQLService.processAsync(queryBySQLParams);