Handle Char boolean from Jeeves, and updated docstrings
This commit is contained in:
parent
e8acc959d8
commit
0fdc029153
2 changed files with 5 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ import logging
|
|||
|
||||
|
||||
class JvsQuery():
|
||||
"""docstring for JvsQuery"""
|
||||
"""JvsQuery based on http://pymssql.org/en/stable/ """
|
||||
def __init__(self, settings):
|
||||
super(JvsQuery, self).__init__()
|
||||
self.settings = settings
|
||||
|
|
@ -100,7 +100,8 @@ class JvsQuery():
|
|||
created_dt='2000-01-01 00:00:00.000', limit=None):
|
||||
query = (
|
||||
"""SELECT kus.FtgNr, BetKod, kus.kundbetalarenr, kus.RowUpdatedBy, kus.RowUpdatedDt,
|
||||
kus.RowCreatedBy, kus.RowCreatedDt, kus.ForetagKod, kus.MakDateTime, kus.Makulerad,
|
||||
kus.RowCreatedBy, kus.RowCreatedDt, kus.ForetagKod, kus.MakDateTime,
|
||||
CAST(kus.Makulerad AS int) as Makulerad,
|
||||
x1k.KundKategoriKod, x1k.KundKatBeskr,
|
||||
x1kk.Kundklass, x1kk.KundKlassBeskr,
|
||||
salj.Saljare, salj.SaljareNamn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue