Files
cma-management/backend/test_sync.py
T
Hermes CI Fix 3dddd36866 init: 管理会计OS初始代码
包含前后端完整代码:
- 前端:Vue3+Vite+ElementPlus
- 后端:FastAPI+SQLAlchemy
- 模块:驾驶舱/KPI/战略地图/预警/预算/成本/预测/改善行动
- 当前版本:v1.0.0
2026-05-28 17:32:22 +08:00

12 lines
328 B
Python

"""测试 ERP sync"""
import logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s [%(levelname)s] %(message)s')
import sys, os
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from scripts.erp_sync import run_sync
print('=== START ===')
run_sync(dry_run=False, use_api=True)
print('=== DONE ===')