tmp: ver respuesta_api tercero fallido
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import sqlite3
|
||||
|
||||
conn = sqlite3.connect("rips_manager.db")
|
||||
conn.row_factory = sqlite3.Row
|
||||
|
||||
rows = conn.execute("""
|
||||
SELECT id, tipo, factura, status, mensaje_tns, respuesta_api, contrato, created_at
|
||||
FROM envios
|
||||
WHERE json_enviado LIKE '%88272630%'
|
||||
ORDER BY created_at DESC
|
||||
LIMIT 20
|
||||
""").fetchall()
|
||||
|
||||
for r in rows:
|
||||
print(f"--- id={r['id']} tipo={r['tipo']} factura={r['factura']} status={r['status']} fecha={r['created_at']}")
|
||||
print(f" mensaje_tns: {r['mensaje_tns']}")
|
||||
print(f" respuesta_api:{r['respuesta_api']}")
|
||||
print()
|
||||
|
||||
conn.close()
|
||||
Reference in New Issue
Block a user