This commit is contained in:
yumoqing 2026-05-16 16:55:58 +08:00
parent eebe7c2733
commit 1677d18704

View File

@ -309,9 +309,9 @@ class PricingProgram:
env = ServerEnv()
ppid = None
async with get_sor_context(env, 'pricing') as sor:
recs = await sor.R('pricing_program', {'id': ppt['id']})
recs = await sor.R('pricing_program_timing', {'id': ppt['id']})
if len(recs) == 0:
exception(f'{ppt["id"]} not found in pricing_program')
exception(f'{ppt["id"]} not found in pricing_program_timing')
return
ppid = recs[0].ppid
debug(f'--EventHandle {ppt}')