|
@@ -811,7 +811,7 @@ func GetChartPredictEdbInfoDataListByRuleSeason(edbInfoId int, yearsList []int,
|
|
|
var isFindHistoryCurrent, isFindHistoryLast bool
|
|
|
|
|
|
|
|
|
- tmpHistoryCurrentDate := currentDate.AddDate(year-currentDate.Year(), 0, moveDay)
|
|
|
+ tmpHistoryCurrentDate := currentDate.AddDate(year-currentDate.Year(), 0, -moveDay)
|
|
|
for i := 0; i <= 35; i++ {
|
|
|
tmpDate := tmpHistoryCurrentDate.AddDate(0, 0, i)
|
|
|
if val, ok := existMap[tmpDate.Format(utils.FormatDate)]; ok {
|