|
@@ -195,7 +195,7 @@ func GetNewIndexAndDataFromJiaYue() (indexList []*response.IndexResp, err error)
|
|
|
|
|
|
// TODO:测试
|
|
|
endTime := time.Date(2023, 6, 8, 0, 0, 0, 0, time.Local).Format(utils.FormatDateTime)
|
|
|
- indexCond += fmt.Sprintf(`CREATE_TIME <= TO_DATE (:1, 'YYYY-MM-DD HH24:MI:SS')`)
|
|
|
+ indexCond += fmt.Sprintf(`CREATE_TIME <= TO_DATE (:1, 'yyyy-mm-dd hh:mi:ss')`)
|
|
|
indexPars = append(indexPars, endTime)
|
|
|
sourceArr := []string{"bloomberg", "bloomberg_tmp"}
|
|
|
if len(sourceArr) > 0 {
|