Files
gyber/apps/web/gyber/db/dashboard.py
2025-09-15 13:33:34 +09:00

15 lines
499 B
Python

# /data/gyber/apps/web/gyber/db/dashboard.py
import logging
from .base import execute_procedure
logger = logging.getLogger(__name__)
# --- 대시보드 관련 함수 ---
def get_dashboard_summary():
"""대시보드 요약 정보 조회."""
return execute_procedure('sp_get_dashboard_summary', fetch_mode='one_dict')
def get_assets_count_by_category():
"""카테고리별 자산 개수 조회."""
return execute_procedure('sp_get_assets_count_by_category', fetch_mode='all_dicts')