feat(regulatory): 新增法规核查模型与工作流通用字段
This commit is contained in:
@@ -65,6 +65,9 @@ def generate_markdown_report(batch: FileSummaryBatch) -> tuple[ExportedSummaryFi
|
||||
path.write_text(content, encoding="utf-8")
|
||||
exported = ExportedSummaryFile.objects.create(
|
||||
batch=batch,
|
||||
workflow_type="file_summary",
|
||||
workflow_batch_id=batch.pk,
|
||||
export_category="summary",
|
||||
export_type=ExportedSummaryFile.ExportType.MARKDOWN,
|
||||
file_name=path.name,
|
||||
storage_path=str(path),
|
||||
|
||||
Reference in New Issue
Block a user