bugfix
This commit is contained in:
parent
e0c015d900
commit
e9cb3979a5
@ -50,6 +50,13 @@ where enabled_date >= ${biz_date}$
|
|||||||
return recs[0]
|
return recs[0]
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
async def sor_get_program_items(sor, ppid):
|
||||||
|
sql = """select b.* from pricing_program_timing a, pricing_item b
|
||||||
|
where b.pptid = a.id
|
||||||
|
and a.ppid = ${ppid}$"""
|
||||||
|
recs = await sor.sqlExe(sql, {'ppid': ppid})
|
||||||
|
return recs
|
||||||
|
|
||||||
async def get_pricing_specs_by_pptid(pptid):
|
async def get_pricing_specs_by_pptid(pptid):
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
dbname = env.get_module_dbname('pricing')
|
dbname = env.get_module_dbname('pricing')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user