bugfix
This commit is contained in:
parent
8e2f662552
commit
31bb92c11f
@ -274,6 +274,14 @@ class PricingProgram:
|
|||||||
raise Exception(e)
|
raise Exception(e)
|
||||||
|
|
||||||
async def charging(sor, ppid, data):
|
async def charging(sor, ppid, data):
|
||||||
|
if ppid is None:
|
||||||
|
e = Exception(f'ppid is None, {data=}')
|
||||||
|
exception(f'{e}')
|
||||||
|
raise e
|
||||||
|
if data is None:
|
||||||
|
e = Exception(f'{ppid=} data is None')
|
||||||
|
exception(f'{e}')
|
||||||
|
raise e
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
biz_date = await env.get_business_date(sor)
|
biz_date = await env.get_business_date(sor)
|
||||||
sql = """select a.name, a.ownerid, a.providerid,
|
sql = """select a.name, a.ownerid, a.providerid,
|
||||||
@ -303,6 +311,10 @@ order by b.enabled_date desc"""
|
|||||||
"""
|
"""
|
||||||
yamlstr是从
|
yamlstr是从
|
||||||
"""
|
"""
|
||||||
|
if config_data is None:
|
||||||
|
e = Exception(f'config_data is None, {yamlstr=}')
|
||||||
|
exception(f'{e=}')
|
||||||
|
raise e
|
||||||
d = None
|
d = None
|
||||||
try:
|
try:
|
||||||
d = yaml.safe_load(yamlstr)
|
d = yaml.safe_load(yamlstr)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user