|
@@ -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)
|