包含前后端完整代码: - 前端:Vue3+Vite+ElementPlus - 后端:FastAPI+SQLAlchemy - 模块:驾驶舱/KPI/战略地图/预警/预算/成本/预测/改善行动 - 当前版本:v1.0.0
11 lines
330 B
Python
11 lines
330 B
Python
"""同步毛利率"""
|
|
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
|
|
run_sync(dry_run=False, use_api=True, kpi_codes=['SALES_PROFIT_RATE'])
|
|
print('DONE')
|