@@ -79,6 +79,9 @@ func GetBalanceExcelChartDetail(chartInfo *models.ChartInfo, mappingListTmp []*e
}
+ if chartType == utils.CHART_TYPE_SEASON && dateType == utils.DateTypeNYears {
+ dateMax = time.Date(dateMax.Year()+1, 1, 1, 0, 0, 0, 0, time.Local)
+ }
startDate, endDate = utils.GetDateByDateTypeV2(dateType, startDate, endDate, startYear, dateMax)
if chartInfo.ChartType == 2 {