ziwen 2 years ago
parent
commit
c7ff05d992
2 changed files with 2 additions and 0 deletions
  1. 1 0
      models/base_from_trade_zhengzhou.go
  2. 1 0
      services/commodity_coal_firm.go

+ 1 - 0
models/base_from_trade_zhengzhou.go

@@ -53,3 +53,4 @@ func ModifyBaseFromTradeZhengzhouIndex(dealValue, buyValue, soldValue int, dataI
 	_, err = o.Raw(sql, dealValue, buyValue, soldValue, dataId).Exec()
 	return
 }
+

+ 1 - 0
services/commodity_coal_firm.go

@@ -30,6 +30,7 @@ func FileCoalFirm() {
 	smonth = strconv.Itoa(dateMonth)
 	path := "/home/code/python/coal_mail/emailFile/全国分企业煤炭产量旬度数据(%s年%s月).xlsx"
 	path = fmt.Sprintf(path,nyear,smonth)
+	path = "/home/code/python/coal_mail/emailFile/全国分企业煤炭产量旬度数据(2022年10月上旬).xlsx"
 	exist,err := PathExists(path)
 	if err != nil {
 		fmt.Println(err)