UPDATE sh[sites] add lots table
This commit is contained in:
parent
359ac975e3
commit
a3e303e1b7
@ -39,6 +39,11 @@ def _get_typ_site(ids=None, nom=None):
|
|||||||
df = _get_table(con, schema, table, ids=ids, nom=nom)
|
df = _get_table(con, schema, table, ids=ids, nom=nom)
|
||||||
return df
|
return df
|
||||||
|
|
||||||
|
def _get_lots(ids=None, nom=None):
|
||||||
|
table = 'lots'
|
||||||
|
df = _get_table(con, schema, table, ids=ids, nom=nom)
|
||||||
|
return df
|
||||||
|
|
||||||
|
|
||||||
def get_sitesInfos(ids=None, nom=None, columns=None, with_nameOrga=False, details=False,
|
def get_sitesInfos(ids=None, nom=None, columns=None, with_nameOrga=False, details=False,
|
||||||
params_col={}, milieu=None, statut='actif'):
|
params_col={}, milieu=None, statut='actif'):
|
||||||
@ -49,6 +54,7 @@ def get_sitesInfos(ids=None, nom=None, columns=None, with_nameOrga=False, detail
|
|||||||
typ_milieux = _get_typ_milieux()
|
typ_milieux = _get_typ_milieux()
|
||||||
typo_sdage = _get_typo_sdage()
|
typo_sdage = _get_typo_sdage()
|
||||||
typ_site = _get_typ_site()
|
typ_site = _get_typ_site()
|
||||||
|
lots = _get_lots()
|
||||||
|
|
||||||
if milieu:
|
if milieu:
|
||||||
m = _get_typ_milieux(nom=milieu)
|
m = _get_typ_milieux(nom=milieu)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user