Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Juan
/
asw_motor_reportes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 39cfaaff
authored
2020-02-23 22:43:09 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
psql pruebas
1 parent
49eb8a3f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
Libmod/reporte.py
main.py
Libmod/reporte.py
View file @
39cfaaf
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
):
...
...
main.py
View file @
39cfaaf
...
...
@@ -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/20
19
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/20
20
12:00:00 AM'"""
db
.
Leer
()
#query = db.resultado
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment