13 lines
449 B
Python
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)
|