FixServiceDevies
This commit is contained in:
12
backend/modules/alert/service.py
Normal file
12
backend/modules/alert/service.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user