[CG] : clean zh
This commit is contained in:
parent
879ae10150
commit
63b76f6710
10
pycen/zh.py
10
pycen/zh.py
@ -212,7 +212,7 @@ from .tools import _get_relation_autor2, _get_table
|
|||||||
#####################################
|
#####################################
|
||||||
### schema zh ###
|
### schema zh ###
|
||||||
#####################################
|
#####################################
|
||||||
class zh():
|
class zh:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
from .params import con
|
from .params import con
|
||||||
from .tools import _get_relation_tab
|
from .tools import _get_relation_tab
|
||||||
@ -232,6 +232,14 @@ class zh():
|
|||||||
self.columns_r_SiteUsgPrss = con.dialect.get_columns(con,schema=self.schema,table_name='r_site_usageprocess')
|
self.columns_r_SiteUsgPrss = con.dialect.get_columns(con,schema=self.schema,table_name='r_site_usageprocess')
|
||||||
|
|
||||||
|
|
||||||
|
def v_zoneshumides(self,ids=None,columns=None, params_col={}):
|
||||||
|
return _get_table(self.con,self.schema,'v_zoneshumides',ids=ids,cols=columns,params_col=params_col)
|
||||||
|
|
||||||
|
|
||||||
|
def v_rhomeosite(self,ids=None,columns=None, params_col={}):
|
||||||
|
return _get_table(self.con,self.schema,'v_rhomeosite',ids=ids,cols=columns,params_col=params_col)
|
||||||
|
|
||||||
|
|
||||||
def _get_param(self, param_table, type_table=None, type_court=True):
|
def _get_param(self, param_table, type_table=None, type_court=True):
|
||||||
if type_table:
|
if type_table:
|
||||||
typ = _get_table(self.con, self.schema, table=type_table)
|
typ = _get_table(self.con, self.schema, table=type_table)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user