bugfix
This commit is contained in:
parent
7e31ecde89
commit
5f23c684ee
@ -19,7 +19,7 @@ from .utils import *
|
|||||||
async def get_today_asynctask_list(userid):
|
async def get_today_asynctask_list(userid):
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
async with get_sor_context(env, 'llmage') as sor:
|
async with get_sor_context(env, 'llmage') as sor:
|
||||||
today = env.get_business_date(sor)
|
today = await env.get_business_date(sor)
|
||||||
sql = '''select * from llmusage
|
sql = '''select * from llmusage
|
||||||
where userid=${userid}$
|
where userid=${userid}$
|
||||||
and use_date = ${date}$'''
|
and use_date = ${date}$'''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user