feat(freight-rpa): 增加出站报表配置与回调支持,重构相关服务

- 将 RPA 管理 API 扩展至出站报表配置,新增出站相关的回调接口。
- 重构 freight_rpa_report_config_service,支持入站与出站报表配置的管理。
- 更新 ORM 模型,增加出站报表相关的持久化模型。
- 统一命名规范,确保在手、入站与出站的概念一致性。
This commit is contained in:
hugo committed 2026-10-19 18:45:16 +08:00
1 parent 39fe3c05f2
commit 911afa0f73
152 files changed
+9861 -2984

No files matched your search

+9 -3
View File
@@ -4,7 +4,7 @@ backend/app/models/__init__.py
用途:按业务域拆分的 ORM 模型包入口;聚合导出以保持 `from app.models import User` 兼容。
依赖:models/* 子模块(含 voucher_check、equipment_acceptance、freight_rpa_*)、app.extensions.db(经 base.Base)。
逻辑:Alembic / Flask-Migrate 通过本模块 import 注册全部表元数据;业务代码继续从此处导入模型类。
在手/入站模型导出 FreightRpa*。
在手/入站/出站模型导出 FreightRpa*。
"""
from app.models.agent import Agent, AgentDirectoryMember, AgentGuide, PermissionRequest
@@ -154,11 +154,15 @@ from app.models.freight_rpa_config import (
FreightRpaProfile,
)
from app.models.freight_rpa_inbound_report import (
FreightRpaInboundNotificationDelivery,
FreightRpaInboundReportConfig,
FreightRpaInboundReportFile,
FreightRpaInboundUnitRun,
)
from app.models.freight_rpa_outbound_report import (
FreightRpaOutboundReportConfig,
FreightRpaOutboundReportFile,
FreightRpaOutboundUnitRun,
)
from app.models.shipping_temporary_onhand import ShippingTemporaryOnhandSession
from app.models.shipping_customer import (
ShippingBusinessSequence,
@@ -378,7 +382,9 @@ __all__ = [
'FreightRpaInboundReportConfig',
'FreightRpaInboundUnitRun',
'FreightRpaInboundReportFile',
'FreightRpaInboundNotificationDelivery',
'FreightRpaOutboundReportConfig',
'FreightRpaOutboundUnitRun',
'FreightRpaOutboundReportFile',
'FreightRpaOnhandField',
'FreightRpaOnhandStructureAnalysis',
'FreightRpaOnhandRoutingRule',