changed config to prod, and fetching only today's files from SFTP
This commit is contained in:
1 parent
81ad34fd65
commit
2e07dcc96a
5 files changed
+14
-270
No files matched your search
+2
-2
@@ -34,7 +34,7 @@ class Repository:
|
||||
cursor = conn.cursor()
|
||||
cursor.execute(
|
||||
"SELECT COUNT(*) FROM dep_account WHERE link_accno = :accno",
|
||||
{'accno': account_number}
|
||||
{'accno': account_number[-12:]}
|
||||
)
|
||||
count = cursor.fetchone()[0]
|
||||
return count > 0
|
||||
@@ -237,7 +237,7 @@ class Repository:
|
||||
try:
|
||||
cursor = conn.cursor()
|
||||
|
||||
# Check if ach_api_log table exists
|
||||
# Check if ach_api_log_temp table exists
|
||||
try:
|
||||
cursor.execute("SELECT COUNT(*) FROM ach_api_log_temp WHERE ROWNUM = 1")
|
||||
logger.info("✓ ach_api_log_temp table exists")
|
||||
|
||||
Reference in new issue
Block a user