Commit 39cfaaff by Juan

psql pruebas

1 parent 49eb8a3f
import xlsxwriter
import time
class Reporte():
COLUMNA = ("A", "B", "C", "E", "F", "G", "H", "I", "J", "K",
COLUMNA = ("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
"L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "Y", "Z")
def __init__(self):
......
......@@ -16,7 +16,7 @@ db.SELECT = """SELECT dom.name as dominio, pf.create_date, pf.pfs_fecha, cli.nam
koozo_dominios AS dom ON dom.id = comp.ain_dom_id
LEFT JOIN
koozo_localidad AS loc ON loc.id = cli.par_loc_id OR loc.id = pf.pfs_loc_id
) WHERE pf."tws_Tipo" = 'cent' AND pf.create_date >= '01/01/2019 12:00:00 AM' AND pf.create_date <= '01/02/2019 12:00:00 AM'"""
) WHERE pf."tws_Tipo" = 'cent' AND pf.create_date >= '01/01/2019 12:00:00 AM' AND pf.create_date <= '01/02/2020 12:00:00 AM'"""
db.Leer()
#query = db.resultado
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!