@@ -294,9 +294,9 @@ func GetHistoryTikDatas(goodsCode string, startTime, endTime *time.Time, count i
c := db.C(collection)
// 按时间排序
- sort := "-AT"
+ sort := "-_id"
if isAscForST {
- sort = "AT"
+ sort = "id"
}
// 查询数据