我想按条件一次查询连个数据集的数据显示,哪位大神看一下这样为什么查询不出来东西?
function mapQueryForRegs(code) {
var queryParam=[], queryBySQLParams, queryBySQLService;
queryParam[0] = new SuperMap.REST.FilterParameter({
name: "市级区划@tbcs",
attributeFilter: "CODE=620100"
});
queryParam[1] = new SuperMap.REST.FilterParameter({
name: "县级区划@tbcs",
attributeFilter: "PAC=620102"
});
queryBySQLParams = new SuperMap.REST.QueryBySQLParameters({
queryParams: [queryParam]
});
queryBySQLService = new SuperMap.REST.QueryBySQLService($.Map.config.baseLayer, {
eventListeners: {"processCompleted": processCompleted, "processFailed": processFailed}
});
queryBySQLService.processAsync(queryBySQLParams);
}