mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: typos
This commit is contained in:
@@ -536,8 +536,8 @@ class LLMService:
|
||||
).first()
|
||||
if obj is not None:
|
||||
res.append(transRecord2DTO(self.session, permission))
|
||||
wheres = transFilterTree(self.session, res, self.ds)
|
||||
filters.append({"table": table.table_name, "filter": wheres})
|
||||
where_str = transFilterTree(self.session, res, self.ds)
|
||||
filters.append({"table": table.table_name, "filter": where_str})
|
||||
|
||||
filter = json.dumps(filters, ensure_ascii=False)
|
||||
|
||||
|
||||
@@ -278,8 +278,8 @@ def preview(session: SessionDep, current_user: CurrentUser, id: int, data: Table
|
||||
).first()
|
||||
if obj is not None:
|
||||
res.append(transRecord2DTO(session, permission))
|
||||
wheres = transFilterTree(session, res, ds)
|
||||
where = (' where ' + wheres) if wheres is not None and wheres != '' else ''
|
||||
where_str = transFilterTree(session, res, ds)
|
||||
where = (' where ' + where_str) if where_str is not None and where_str != '' else ''
|
||||
|
||||
fields = [f.field_name for f in f_list]
|
||||
if fields is None or len(fields) == 0:
|
||||
|
||||
Reference in New Issue
Block a user