Commit f6b10bd3 by 周立明

阿维塔结果表名称修改

1 parent 3a4e23b4
...@@ -978,7 +978,7 @@ class AvitaSpecialProcessor: ...@@ -978,7 +978,7 @@ class AvitaSpecialProcessor:
# ---- 保存 + 上传 OSS ---- # ---- 保存 + 上传 OSS ----
tmp = tempfile.mktemp(suffix='.xlsx') tmp = tempfile.mktemp(suffix='.xlsx')
wb.save(tmp) wb.save(tmp)
object_key = f"data-process/{datetime.now().strftime('%Y%m%d')}/avita_special_{month}_{task_id}.xlsx" object_key = f"data-process/{datetime.now().strftime('%Y%m%d')}/阿维塔专项_{month}_{task_id}.xlsx"
url = upload_file(tmp, object_key) url = upload_file(tmp, object_key)
try: try:
os.remove(tmp) os.remove(tmp)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!