|
@@ -128,6 +128,7 @@ func indexMergeV2(frequency, startDate, endDate, filePre string) (err error) {
|
|
|
if total <= 0 {
|
|
|
return
|
|
|
}
|
|
|
+ fmt.Println(frequency, "总共", total, "个指标")
|
|
|
|
|
|
fileName := filePre + ".xlsx" //保存的文件名称
|
|
|
//templatePath := global.CONFIG.Serve.IndexSaveDir + "index_template.xlsx"
|
|
@@ -192,7 +193,6 @@ func indexMergeV2(frequency, startDate, endDate, filePre string) (err error) {
|
|
|
|
|
|
//刷新数据
|
|
|
//MysteelChemicalRefresh(mergeIndexFilePath)
|
|
|
- //AddIndexRefreshToLpush(mergeIndexFilePath)
|
|
|
}
|
|
|
|
|
|
//sheetList := templateFile.GetSheetList()
|
|
@@ -209,6 +209,7 @@ func indexMergeV2(frequency, startDate, endDate, filePre string) (err error) {
|
|
|
}
|
|
|
defer templateFile.Close()
|
|
|
time.Sleep(1 * time.Second)
|
|
|
- MysteelChemicalRefresh(mergeIndexFilePath)
|
|
|
+ //MysteelChemicalRefresh(mergeIndexFilePath)
|
|
|
+ AddIndexRefreshToLpush(mergeIndexFilePath)
|
|
|
return
|
|
|
}
|