config updated

This commit is contained in:
2026-03-13 22:25:33 +05:30
parent a6de18155a
commit 728817a53e
1773 changed files with 313158 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -30,6 +30,7 @@ class NEFTOutwardRecord:
benef_address: str # VARCHAR2(400)
msg_type: str # VARCHAR2(400)
bank_code: str
sender_to_reciver_info: str
def to_dict(self):
"""Convert to dictionary for DB insertion."""
@@ -50,6 +51,7 @@ class NEFTOutwardRecord:
"REJECT_REASON": self.reject_reason,
"BENEFICIARY_ADDRESS": self.benef_address,
"MSG_TYPE": self.msg_type,
"SENDER_TO_RECIVER_INFO": self.sender_to_reciver_info,
}

View File

@@ -58,7 +58,7 @@ class Repository:
# ---------------------------------------------------------
def bulk_insert_transactions(self, transactions: List[NEFTOutwardRecord]) -> tuple:
"""
Bulk insert NEFT transactions into inward_neft_api_log.
Bulk insert NEFT transactions into outward_neft_api_log.
Records with invalid beneficiary account numbers are skipped.
Args:
@@ -112,7 +112,8 @@ class Repository:
REJECT_CODE,
REJECT_REASON,
BENEFICIARY_ADDRESS,
MSG_TYPE
MSG_TYPE,
SENDER_TO_RECIVER_INFO
) VALUES (
:TXNIND,
:JRNL_ID,
@@ -129,7 +130,8 @@ class Repository:
:REJECT_CODE,
:REJECT_REASON,
:BENEFICIARY_ADDRESS,
:MSG_TYPE
:MSG_TYPE,
:SENDER_TO_RECIVER_INFO
)
"""
@@ -277,12 +279,12 @@ class Repository:
cursor = conn.cursor()
try:
cursor.execute("SELECT COUNT(*) FROM inward_neft_api_log WHERE ROWNUM = 1")
logger.info("✓ inward_neft_api_log table exists")
cursor.execute("SELECT COUNT(*) FROM outward_neft_api_log WHERE ROWNUM = 1")
logger.info("✓ inoutward_neft_api_log table exists")
except Exception as e:
logger.error(f"✗ inward_neft_api_log table not found: {e}")
logger.error(f"✗ inoutward_neft_api_log table not found: {e}")
raise SystemExit(
"FATAL: inward_neft_api_log table must be created manually before running this application"
"FATAL: outward_neft_api_log table must be created manually before running this application"
)
try: