Browse Source

Merge branch 'service_types'

zwxi 1 year ago
parent
commit
91b03f5e27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/census/invoice_payment.go

+ 1 - 1
controller/census/invoice_payment.go

@@ -1108,7 +1108,7 @@ func getCensusIncomeListV2(ch chan models.CensusIncomeChartResp, req fms.IncomeL
 			req.StartDate = "2023-04"
 			req.StartDate = "2023-04"
 			req.EndDate = "3023-04"
 			req.EndDate = "3023-04"
 		} else {
 		} else {
-			startDateTime,_ := time.Parse(utils.FormatDate, req.StartDate)
+			startDateTime,_ := time.Parse(utils.FormatMonth, req.StartDate)
 			if startDateTime.Before(historyTime) {
 			if startDateTime.Before(historyTime) {
 				req.StartDate = "2023-04"
 				req.StartDate = "2023-04"
 			}
 			}