arcgis QueryTask 查询时,按字段排序

var TDSYQSSJ="TDSYQSSJ > date'"+star+"'”;
var queryTask = new esri.tasks.QueryTask(url);
var query = new esri.tasks.Query();
query.returnGeometry = true;
query.outFields = ["*"];
query.orderByFields = ["TDSYQSSJ DESC"];
query.where = TDSYQSSJ;
queryTask.execute(query, function(results) {
console.log(results);
},
query.orderByFields = ["TDSYQSSJ DESC"];不起作用
已邀请:

要回复问题请先登录注册