Explorar el Código

fix: 预测指标日期格式

hsun hace 5 meses
padre
commit
1a4c95a77e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      models/edb_info.go

+ 1 - 0
models/edb_info.go

@@ -910,6 +910,7 @@ func UnifiedModifyPredictEdbInfoMaxAndMinInfo(edbInfo *EdbInfo, latestDateStr st
 	maxAndMinItem.EndValue = maxAndMinItem.LatestValue
 
 	if maxAndMinItem != nil {
+		latestDateStr = utils.GormDateStrToDateStr(latestDateStr)
 		maxAndMinItem.LatestDate = latestDateStr
 		maxAndMinItem.LatestValue = latestValue
 		err = ModifyPredictEdbInfoMaxAndMinInfo(edbInfo.EdbInfoId, maxAndMinItem)