浏览代码

新增刷新基础指标

tuoling805 1 年之前
父节点
当前提交
2d2ba86bc2
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      services/init_base_index.go
  2. 1 1
      services/task.go

+ 1 - 1
services/init_base_index.go

@@ -214,7 +214,7 @@ func InitBaseIndexDataFromMysteel() {
 
 	dir := filepath.Dir(path)
 	fmt.Println("dir:" + dir)
-	dataPath := dir + "/docs/逸诺钢联数据录入.xlsx"
+	dataPath := dir + "/docs/逸诺新增钢联数据列表.xlsx"
 	fmt.Println("dataPath:" + dataPath)
 	f, err := excelize.OpenFile(dataPath)
 	if err != nil {

+ 1 - 1
services/task.go

@@ -26,7 +26,7 @@ func Task() {
 	time.Sleep(3 * time.Second)
 
 	fmt.Println("start InitCalculateIndex")
-	InitMysteelIndex()
+	InitBaseIndexDataFromMysteel()
 	fmt.Println("end InitCalculateIndex")
 
 	fmt.Println("task end")