Files
2026-05-29 11:34:03 +07:00

13 lines
449 B
Python

# pyrefly: ignore [missing-import]
from modules.alert.repository import insert_default_alert_config_db
# ============================================
# SERVICE LAYER: Xử lý nghiệp vụ cho Module Alert
# ============================================
def create_default_alert_config_service(device_id):
"""
Tạo cấu hình cảnh báo mặc định cho thiết bị mới.
"""
return insert_default_alert_config_db(device_id)