|
@@ -14,6 +14,7 @@ import (
|
|
"hongze/fms_api/services/alarm_msg"
|
|
"hongze/fms_api/services/alarm_msg"
|
|
"hongze/fms_api/utils"
|
|
"hongze/fms_api/utils"
|
|
"net/http"
|
|
"net/http"
|
|
|
|
+ "sort"
|
|
"strconv"
|
|
"strconv"
|
|
"strings"
|
|
"strings"
|
|
"time"
|
|
"time"
|
|
@@ -1568,7 +1569,7 @@ func getCensusIncomeList(ch chan base.BaseData, req fms.IncomeListReq) (baseData
|
|
baseData.SetList(respItems[start:end])
|
|
baseData.SetList(respItems[start:end])
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- resultList := make([]*fms.IncomeSummaryItem, 0)
|
|
+ resultList := make(fms.IncomeSummaryItemList, 0)
|
|
|
|
|
|
|
|
|
|
results, e := fms.GetIncomeHistory(histrtyCond, historyPars)
|
|
results, e := fms.GetIncomeHistory(histrtyCond, historyPars)
|
|
@@ -1609,6 +1610,7 @@ func getCensusIncomeList(ch chan base.BaseData, req fms.IncomeListReq) (baseData
|
|
}
|
|
}
|
|
resultList = append(resultList, results...)
|
|
resultList = append(resultList, results...)
|
|
}
|
|
}
|
|
|
|
+ sort.Sort(resultList)
|
|
|
|
|
|
|
|
|
|
currencyOB := new(fms.CurrencyUnit)
|
|
currencyOB := new(fms.CurrencyUnit)
|