535d97a70c
17-table PostgreSQL schema with full Chinese column comments, FastAPI project structure (admin/common/modules), DSL rule files, and schema migration scripts.
25 lines
603 B
Python
25 lines
603 B
Python
"""评查服务接口。"""
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
from fastapi_modules.fastapi_leaudit.domian.vo.auditVo import AuditRunVO, AuditResultVO
|
|
|
|
|
|
class IAuditService(ABC):
|
|
"""评查服务接口。"""
|
|
|
|
@abstractmethod
|
|
async def Run(self, DocumentId: int) -> AuditRunVO:
|
|
"""触发文档评查。"""
|
|
...
|
|
|
|
@abstractmethod
|
|
async def GetRunStatus(self, RunId: int) -> AuditRunVO:
|
|
"""查询评查运行状态。"""
|
|
...
|
|
|
|
@abstractmethod
|
|
async def GetResult(self, RunId: int) -> AuditResultVO:
|
|
"""获取评查结果。"""
|
|
...
|