feat: 只保留管理入口,缓存小区信息表解析,连接中显示提示,移除脚本管理打包方式

This commit is contained in:
2026-11-12 11:53:12 +08:00
parent 5bcf5cfa89
commit 1c5c32bfdc
19 changed files with 317 additions and 457 deletions
-10
View File
@@ -342,16 +342,6 @@ class MySqlSummaryStore:
raise main.ProcessingError(f"MySQL query failed: {exc}") from exc
return [dict(zip(names, record, strict=True)) for record in records]
def ping(self) -> str:
connection = self._open(database=None)
try:
with connection.cursor() as cursor:
cursor.execute("SELECT VERSION()")
row = cursor.fetchone()
return str(row[0]) if row else ""
finally:
connection.close()
def _connection(self) -> Any:
if not self._schema_ready:
self._ensure_schema()