convert to gitea

This commit is contained in:
2025-09-15 13:33:34 +09:00
commit 95882ac072
277 changed files with 46023 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# /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')