bugfix
This commit is contained in:
parent
27503c8f1c
commit
0d36537044
@ -15,6 +15,11 @@ where a.llmid = b.id
|
|||||||
d = await sor.sqlExe(sql, ns)
|
d = await sor.sqlExe(sql, ns)
|
||||||
for r in d['rows']:
|
for r in d['rows']:
|
||||||
if r.ppid:
|
if r.ppid:
|
||||||
r.amount = await pricing_program_charging(sor, r.ppid, r.usages)
|
try:
|
||||||
|
usages = json.loads(r.usages)
|
||||||
|
usages['biz_date'] = r.use_date
|
||||||
|
r.amount = await pricing_program_charging(sor, r.ppid, usages)
|
||||||
|
except Exception as e:
|
||||||
|
exception(f'{e=},{r.usages=}, {r.use_date=}')
|
||||||
return d
|
return d
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user