|
@@ -885,7 +885,7 @@ func getPaymentIncomeChartList(ch chan models.CensusIncomeChartResp, req fms.Inc
|
|
|
}
|
|
|
//dataList = append(dataList, results...)
|
|
|
var amountSum float64
|
|
|
- for _, resut := range results {
|
|
|
+ for _, result := range results {
|
|
|
incomeChart.DataList = append(incomeChart.DataList, result)
|
|
|
amountSum += result.Amount
|
|
|
fmt.Println("result.Amount:", result.Amount)
|