2 Commits 24c0242d9e ... 16171038c9

Author SHA1 Message Date
  hsun 16171038c9 Merge branch 'hotfix/warehouse_1216' 6 days ago
  hsun 77884f479b fix: 建仓过程无数据 1 week ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/data/trade_analysis/trade_analysis_data.go

+ 1 - 1
services/data/trade_analysis/trade_analysis_data.go

@@ -67,7 +67,7 @@ func FormatCompanyTradeData2EdbMappings(companyTradeData []*tradeAnalysisModel.C
 				endTime, _ = time.ParseInLocation(utils.FormatDate, ed, time.Local)
 			}
 			if endTime.IsZero() {
-				endTime = v.EndDate
+				endTime = time.Now().Local()
 			}
 		}