DmitrMakeev
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -552,7 +552,7 @@ def add_data_ras():
|
|
552 |
cursor.execute('''
|
553 |
INSERT INTO contacts (
|
554 |
name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
|
555 |
-
|
556 |
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
557 |
''', (name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
|
558 |
shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t))
|
@@ -679,7 +679,7 @@ def data_gc_tab_out():
|
|
679 |
cursor = conn.cursor()
|
680 |
cursor.execute('''
|
681 |
SELECT id, name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
|
682 |
-
|
683 |
FROM contacts
|
684 |
''')
|
685 |
contacts = cursor.fetchall()
|
@@ -688,7 +688,7 @@ def data_gc_tab_out():
|
|
688 |
contacts_json = [{
|
689 |
'id': contact[0], 'name': contact[1], 'phone': contact[2], 'email': contact[3],
|
690 |
'vk_id': contact[4], 'chat_id': contact[5], 'ws_statys': contact[6], 'ws_stop': contact[7],
|
691 |
-
'web_statys': contact[8], 'fin_progress': contact[9], '
|
692 |
'pr1': contact[11], 'pr2': contact[12], 'pr3': contact[13], 'pr4': contact[14],
|
693 |
'pr5': contact[15], 'ad_url': contact[16], 'key_pr': contact[18], 'canal': contact[19], 'n_con': contact[20],
|
694 |
'data_t': contact[21] # Поменять местами с `n_con`
|
|
|
552 |
cursor.execute('''
|
553 |
INSERT INTO contacts (
|
554 |
name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
|
555 |
+
shop_st, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t
|
556 |
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
557 |
''', (name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
|
558 |
shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t))
|
|
|
679 |
cursor = conn.cursor()
|
680 |
cursor.execute('''
|
681 |
SELECT id, name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
|
682 |
+
shop_st, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, canal, n_con, data_t
|
683 |
FROM contacts
|
684 |
''')
|
685 |
contacts = cursor.fetchall()
|
|
|
688 |
contacts_json = [{
|
689 |
'id': contact[0], 'name': contact[1], 'phone': contact[2], 'email': contact[3],
|
690 |
'vk_id': contact[4], 'chat_id': contact[5], 'ws_statys': contact[6], 'ws_stop': contact[7],
|
691 |
+
'web_statys': contact[8], 'fin_progress': contact[9], 'shop_st': contact[10], 'curator': contact[17],
|
692 |
'pr1': contact[11], 'pr2': contact[12], 'pr3': contact[13], 'pr4': contact[14],
|
693 |
'pr5': contact[15], 'ad_url': contact[16], 'key_pr': contact[18], 'canal': contact[19], 'n_con': contact[20],
|
694 |
'data_t': contact[21] # Поменять местами с `n_con`
|