Ver código fonte

Merge branch 'hotfix/warehouse_1216'

hsun 1 semana atrás
pai
commit
16171038c9

+ 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()
 			}
 		}