docs: update stale module-name references in comments and docstrings

Replace pre-rename references (main_router, db_store, server.py) in code comments and docstrings with their new locations (cli/router, store, cli/server, runtime). Comment-only; no behavior change.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-07-23 12:26:34 +08:00
parent a07b9b435b
commit 5ac618c041
8 changed files with 19 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
db_store.py — 到货核销数据持久化PostgreSQL
store.py — 到货核销数据持久化PostgreSQL
职责:把 downloads/ 下各站点下载的应到 / 实到 / 未到 Excel 解析后,幂等写入 PostgreSQL。
与下载流程解耦:本模块只读 downloads/ 现有文件入库,不关心谁触发下载、下载了几次。
@@ -13,10 +13,10 @@ db_store.py — 到货核销数据持久化PostgreSQL
- 单号一律按文本读写dtype=str防长数字被科学计数 / 精度丢失
命令行:
python db_store.py createdb 创建数据库(幂等)
python db_store.py init 建表(幂等 CREATE TABLE IF NOT EXISTS
python db_store.py ingest [site] 入库全站或单站(幂等 UPSERT
python db_store.py all createdb → init → 全站 ingest 一条龙
python -m inbound_verify.store createdb 创建数据库(幂等)
python -m inbound_verify.store init 建表(幂等 CREATE TABLE IF NOT EXISTS
python -m inbound_verify.store ingest [site] 入库全站或单站(幂等 UPSERT
python -m inbound_verify.store all createdb → init → 全站 ingest 一条龙
"""
import os