Основной бизнес-процесс

Оформление накладных
This commit is contained in:
2024-12-03 17:46:41 +03:00
parent 453801f2e9
commit ee6a2f9756
9 changed files with 77 additions and 48 deletions

View File

@@ -9,4 +9,8 @@ def select_list(db_config, sql) -> list:
result = cursor.fetchall()
schema = [item[0] for item in cursor.description]
lst = [dict(zip(schema, row)) for row in result]
return lst
return lst
def transaction(cursor, sql):
cursor.execute(sql)
return True