feat(invoice-check): 销货单目录命名改为“销货放行申请单”

This commit is contained in:
sophie committed 2026-09-28 10:56:56 +08:00
1 parent ac3fc99883
commit d4cb8c5def
19 files changed
+39 -39

No files matched your search

@@ -1,7 +1,7 @@
"""
backend/app/services/voucher_check/adapters/oa_sales_release.py
用途:从 E10 下载销货放行单 PDF 并写入「销货单」类型目录的 Adapter。
用途:从 E10 下载销货放行单 PDF 并写入「销货放行申请单」类型目录的 Adapter。
依赖:adapters.base、oa_e10_client、oa_e10_repository、oa_sales_release_publish。
逻辑:fetch_rows / download_pdf / upload_given 由独立排程 accounting-voucher-oa-sales-release(周二 05:30)调用。
fetch() 仍占位,检核 runner(周二 06:00)不调用。
@@ -81,7 +81,7 @@ class OaSalesReleaseAdapter:
period_month: date,
) -> SalesReleasePublishResult:
"""
把已下载 PDF 上传到销售开票附件/{年}/{月}/销货单/。
把已下载 PDF 上传到销售开票附件/{年}/{月}/销货放行申请单/。
【AI 触发时机】已拿到 PDF 字节、需要写入文档库类型目录时。同名跳过;不要在周检核 runner 中调用。
"""
from app.services.voucher_check.oa_sales_release_publish import publish_sales_release_pdf