Explorar el Código

Merge branch 'feature/jiayue' into debug

hsun hace 1 año
padre
commit
7a71617785
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      services/index_data/jiayue_platform.go

+ 3 - 3
services/index_data/jiayue_platform.go

@@ -194,9 +194,9 @@ func GetNewIndexAndDataFromJiaYue() (indexList []*response.IndexResp, err error)
 	//indexPars = append(indexPars, timeBefore.Format(utils.FormatDateTime))
 
 	// TODO:测试
-	indexCond += ` UPDATE_TIME <= :1 `
-	indexPars = append(indexPars, time.Date(2023, 11, 3, 17, 0, 0, 0, time.Local).Format(utils.FormatDateTime))
-	sourceArr := []string{"webisite", "website", "website_gf"}
+	indexCond += ` CREATE_TIME <= :1 `
+	indexPars = append(indexPars, time.Date(2023, 6, 8, 0, 0, 0, 0, time.Local).Format(utils.FormatDateTime))
+	sourceArr := []string{"bloomberg", "bloomberg_tmp"}
 	if len(sourceArr) > 0 {
 		indexCond += ` AND SOURCE_TYPE IN (:1)`
 		indexPars = append(indexPars, sourceArr)