@@ -743,7 +743,7 @@ func getPaymentIncomeChartList(ch chan models.CensusIncomeChartResp, req fms.Inc
}
} else {
yearNum = latestTime.Year() - earliestTime.Year()
- monthNum = int(latestTime.Month() - earliestTime.Month())
+ monthNum = int(latestTime.Month() - 1)
numMonth := yearNum*12 + monthNum //共存在多少个月