modify: ip音柱插件

This commit is contained in:
2026-09-04 14:51:12 +08:00
parent 5ab68d6002
commit 5ec90a5575
12 changed files with 256 additions and 6 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ async def list_alarms(
total = count_result.scalar() or 0
# 分页数据
stmt = select(AlarmRecord).order_by(desc(AlarmRecord.created_at))
stmt = select(AlarmRecord).order_by(desc(AlarmRecord.created_at)) # type: ignore
if conditions:
from sqlalchemy import and_
stmt = stmt.where(and_(*conditions))