added 3 months
This commit is contained in:
+1
-1
@@ -695,7 +695,7 @@ def generate_simulation_credit():
|
|||||||
|
|
||||||
@app.route('/transaction/generator')
|
@app.route('/transaction/generator')
|
||||||
def generate_transactions():
|
def generate_transactions():
|
||||||
SQL_ACC = "SELECT id, accountid,counters FROM customer_account_list WHERE counters > 0 AND counters < 11 ORDER by counters, id ASC LIMIT 700"
|
SQL_ACC = "SELECT id, accountid,counters FROM customer_account_list WHERE counters > 0 AND counters < 14 ORDER by counters, id ASC LIMIT 700"
|
||||||
with connection:
|
with connection:
|
||||||
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
||||||
cursor.execute(SQL_ACC)
|
cursor.execute(SQL_ACC)
|
||||||
|
|||||||
Reference in New Issue
Block a user