|
@@ -5,6 +5,7 @@ import (
|
|
"eta/eta_index_lib/logic"
|
|
"eta/eta_index_lib/logic"
|
|
"eta/eta_index_lib/models"
|
|
"eta/eta_index_lib/models"
|
|
"eta/eta_index_lib/utils"
|
|
"eta/eta_index_lib/utils"
|
|
|
|
+ "fmt"
|
|
"strconv"
|
|
"strconv"
|
|
"time"
|
|
"time"
|
|
)
|
|
)
|
|
@@ -115,8 +116,8 @@ func (this *SciHqController) Refresh() {
|
|
}
|
|
}
|
|
|
|
|
|
// HandleExcelData
|
|
// HandleExcelData
|
|
-// @Title 处理卓创(红桃3)指标的接口
|
|
|
|
-// @Description 处理卓创(红桃3)指标的接口
|
|
|
|
|
|
+// @Title 处理卓创红期指标的接口
|
|
|
|
+// @Description 处理卓创红期指标的接口
|
|
// @Success 200 {object} models.HandleMysteelIndexResp
|
|
// @Success 200 {object} models.HandleMysteelIndexResp
|
|
// @router /handle/excel_data [post]
|
|
// @router /handle/excel_data [post]
|
|
func (this *SciHqController) HandleExcelData() {
|
|
func (this *SciHqController) HandleExcelData() {
|
|
@@ -235,6 +236,15 @@ func (this *SciHqController) HandleExcelData() {
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ //修改最大最小日期
|
|
|
|
+ sciHqIndexMaxItem, err := models.GetSciHqIndexInfoMaxAndMinInfo(indexInfo.IndexCode)
|
|
|
|
+ if err == nil && sciHqIndexMaxItem != nil {
|
|
|
|
+ e := models.ModifySciHqIndexMaxAndMinInfo(indexInfo.IndexCode, sciHqIndexMaxItem)
|
|
|
|
+ if e != nil {
|
|
|
|
+ fmt.Println("ModifySciHqIndexMaxAndMinInfo Err:" + e.Error())
|
|
|
|
+ }
|
|
|
|
+ }
|
|
// 同步刷新ETA图库卓创红期的指标
|
|
// 同步刷新ETA图库卓创红期的指标
|
|
{
|
|
{
|
|
// 获取指标详情
|
|
// 获取指标详情
|