1.Excel文件字段顺序调整

2.测试排程时增加执行记录,编号与其他场景编号分开
This commit is contained in:
hugo committed 2026-05-20 18:50:53 +08:00
1 parent ddc461f548
commit ae6ced00b5
10 files changed
+194 -76

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
from datetime import datetime
from typing import Optional, List
from sqlalchemy import String, Text, Integer, ForeignKey, JSON, DateTime, Index, Boolean, UniqueConstraint
from sqlalchemy import String, Text, Integer, ForeignKey, JSON, DateTime, Index, Boolean, UniqueConstraint, LargeBinary
from sqlalchemy.orm import Mapped, mapped_column, relationship
from app import db
from werkzeug.security import generate_password_hash, check_password_hash
@@ -645,7 +645,7 @@ class ScheduleRun(Base):
response_summary_json: Mapped[Optional[dict]] = mapped_column(JSON)
step_logs: Mapped[Optional[list]] = mapped_column(JSON)
error_message: Mapped[Optional[str]] = mapped_column(Text)
excel_file_path: Mapped[Optional[str]] = mapped_column(Text)
excel_file_data: Mapped[Optional[bytes]] = mapped_column(LargeBinary)
excel_file_name: Mapped[Optional[str]] = mapped_column(String(255))
excel_file_size: Mapped[Optional[int]] = mapped_column(Integer)
mail_sent: Mapped[bool] = mapped_column(Boolean, default=False)