xiziwen 3 月之前
父节点
当前提交
77f1db6004
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/census/income_list.go

+ 1 - 1
controller/census/income_list.go

@@ -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)