|
@@ -365,9 +365,9 @@ func GetEdbDataListAllByMongo(source, subSource int, findEdbDataListAllCond Find
|
|
|
|
|
|
sortList := make([]string, 0)
|
|
|
if order == 1 {
|
|
|
- sortList = append(sortList, "-data_time")
|
|
|
- } else {
|
|
|
sortList = append(sortList, "data_time")
|
|
|
+ } else {
|
|
|
+ sortList = append(sortList, "-data_time")
|
|
|
}
|
|
|
// 获取列表数据
|
|
|
tmpDataList, tmpErr := mogDataObj.GetAllDataList(queryConditions, sortList)
|