16 lines
877 B
Python
16 lines
877 B
Python
import sqlite3
|
|
|
|
conn = sqlite3.connect("/workspace/personal/blu/saman_bank_all_transactions.sqlite")
|
|
cur = conn.cursor()
|
|
|
|
# Search for Amir Mohammadi or provider 141 shaba
|
|
print("=== AMIR MOHAMMADI / UNLOCK (AFRITEH TEHRAN) ===")
|
|
cur.execute("SELECT jdate, deposit_toman, withdrawal_toman, description FROM saman_transactions WHERE description LIKE '%امير محمدي%' OR description LIKE '%3343927079%'")
|
|
for r in cur.fetchall():
|
|
print(r)
|
|
|
|
# Search for provider 1357 (Afriteh Kermanshah)
|
|
print("\n=== PROVIDER 1357 (AFRITEH KERMANSHAH) ===")
|
|
cur.execute("SELECT jdate, deposit_toman, withdrawal_toman, description FROM saman_transactions WHERE description LIKE '%5173561701%' OR description LIKE '%3241869490%' OR description LIKE '%نوزده%' OR description LIKE '%كرمانشاه%' OR description LIKE '%کرمانشاه%'")
|
|
for r in cur.fetchall():
|
|
print(r)
|