convert to gitea
This commit is contained in:
15
apps/web/gyber/db/dashboard.py
Normal file
15
apps/web/gyber/db/dashboard.py
Normal 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')
|
||||
Reference in New Issue
Block a user