perf(固资管理): 1.获取erp全量资产信息;2.本地化固资进行快照;3.优先查询本地固资信息可降级走erp直查
This commit is contained in:
1 parent
0d59b23e0c
commit
0f499b47f7
11 files changed
+2038
-35
No files matched your search
@@ -1031,6 +1031,7 @@ def get_chat_query_preview(chat_log_id: int):
|
||||
page_size=page_size,
|
||||
agent=g.current_agent,
|
||||
total_count=total_count,
|
||||
user_context=Text2SQLService._normalize_user_context(g.current_user),
|
||||
)
|
||||
if columns == ["Error"]:
|
||||
raise AppError(code='CHAT.QUERY_PREVIEW_FAILED', message=str(rows[0][0] if rows and rows[0] else 'query preview failed'), http_status=500)
|
||||
|
||||
Reference in new issue
Block a user