Commit e2cc453e by ‘chizw’

[+]sql优化

1 parent b53d3856
......@@ -56,7 +56,7 @@ def select_ali_asr_model_res(task_id: str):
"select id,task_id,file_url,task_status,output_data,exception_msg"
" from ali_asr_model_res aamr"
" where del_flag = 0 and "
"task_id = %s and exception_limit < 3"
"task_id = %s and exception_limit < 3 "
"order by created_time desc;"
)
return pool.select_all(select_sql, (task_id,))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!