浏览代码

stl文件修改

317699326@qq.com 5 天之前
父节点
当前提交
fb8dbc160f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/edb_data_calculate_stl.go

+ 1 - 1
services/edb_data_calculate_stl.go

@@ -160,7 +160,7 @@ func RefreshStlData(edbInfoId int) (msg string, err error) {
 		msg = "保存数据到Excel失败"
 		return
 	}
-	defer os.Remove(loadFilePath)
+	//defer os.Remove(loadFilePath)
 	saveFilePath := exPath + "/" + strconv.Itoa(fromEdbInfo.SysUserId) + "_" + time.Now().Format(utils.FormatDateTimeUnSpace) + "_res" + ".xlsx"
 	err = execStlPythonCode(loadFilePath, saveFilePath, stlConfig.Period, stlConfig.Seasonal, stlConfig.Trend, stlConfig.TrendDeg, stlConfig.SeasonalDeg, stlConfig.LowPassDeg, stlConfig.Fraction, stlConfig.Robust)
 	if err != nil {