Advertisement
jcarlosriverae

clave rastreo en toi

Oct 5th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.71 KB | None | 0 0
  1. select
  2.     toi.id,
  3.     toi.id_transaccion_ahorro_cliente,
  4.     toi.id_transaccion_spei,
  5.     toi.folio_orden,
  6.     toi.datos,
  7.     toi.detalle_error,
  8.     ts.json_respuesta, --
  9.     toi.fecha_autorizacion,
  10.     ts.fecha_actualizacion as timestamp_confirmacion_proveedor,
  11.     (ts.fecha_actualizacion - toi.fecha_autorizacion) as tiempo_total_transaccion,
  12.     toi.estatus,
  13.     toi.fecha_alta, toi.fecha_instruccion, toi.fecha_actualizacion,
  14.     toi.usuario_autorizador,
  15.     toi.usuario_instructor
  16. from
  17.     temp_ordenes_importador toi
  18.     left JOIN transacciones_spei ts on toi.id_transaccion_spei = ts.id
  19. where
  20.  
  21.     json_respuesta like "%AQPAY29020211005142904290255%" and
  22.  
  23.     toi.fecha_alta >= "2021-10-04"
  24.     and usuario_autorizador <> 0 -- ya autorizadas
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement