|
@@ -1611,10 +1611,10 @@ func getCensusIncomeList(ch chan base.BaseData, req fms.IncomeListReq) (baseData
|
|
|
resultList = append(resultList, results...)
|
|
|
}
|
|
|
|
|
|
- if req.SortType == "desc" {
|
|
|
- sort.Sort(sort.Reverse(resultList))
|
|
|
- } else {
|
|
|
+ if req.SortType == "asc" {
|
|
|
sort.Sort(resultList)
|
|
|
+ } else {
|
|
|
+ sort.Sort(sort.Reverse(resultList))
|
|
|
}
|
|
|
|
|
|
// 货币列表
|