update 数据导出优化

This commit is contained in:
2025-09-12 10:25:31 +08:00
parent 7d35766a09
commit 24e0b48beb
14 changed files with 614 additions and 17 deletions

View File

@@ -98,6 +98,7 @@ class MySQLHelper:
:param params: 参数,可以是元组、列表或字典
:return: 影响的行数
"""
try:
affected_rows = self.cursor.execute(sql, params)
self.connection.commit()