feat: 支持合同模板上传与对比记录持久化
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from fastapi_modules.fastapi_leaudit.domian.vo.documentVo import (
|
||||
ContractTemplateUploadVO,
|
||||
DocumentDetailVO,
|
||||
DocumentListPageVO,
|
||||
DocumentStatusItemVO,
|
||||
@@ -118,6 +119,19 @@ class IDocumentService(ABC):
|
||||
"""为现有文档追加附件,并执行数据隔离校验。"""
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
async def UploadContractTemplate(
|
||||
self,
|
||||
CurrentUserId: int,
|
||||
DocumentId: int,
|
||||
FileName: str,
|
||||
FileContent: bytes,
|
||||
ContentType: str | None,
|
||||
ComparisonId: int | None = None,
|
||||
) -> ContractTemplateUploadVO:
|
||||
"""为现有合同文档上传结构对比模板,并持久化记录。"""
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
async def ListDocumentTypes(self, Ids: list[int] | None = None, EntryModuleId: int | None = None) -> list[DocumentTypeItemVO]:
|
||||
"""获取文档类型列表。"""
|
||||
|
||||
Reference in New Issue
Block a user