From dcb0cd5cba07508e06f16661e8f8e6640111bf2b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 26 Jun 2026 11:06:52 +0800 Subject: [PATCH] bugfix --- models/llmusage.json | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/models/llmusage.json b/models/llmusage.json index f239a34..0e88fee 100644 --- a/models/llmusage.json +++ b/models/llmusage.json @@ -96,13 +96,13 @@ }, { "name": "userorgid", - "title": "orgname", + "title": "user_orgname", "type": "str", "length": 32 }, { "name": "ownerid", - "title": "orgname", + "title": "owner_orgname", "type": "str", "length": 32 }, @@ -154,6 +154,30 @@ } ], "codes": [ + { + "field": "userid", + "table": "users", + "valuefield": "id", + "textfield": "username" + }, + { + "field": "ownerid", + "table": "organization", + "valuefield": "id", + "textfield": "orgname" + }, + { + "field": "userorgid", + "table": "organization", + "valuefield": "id", + "textfield": "orgname" + }, + { + "field": "llmid", + "table": "llm", + "valuefield": "id", + "textfield": "model" + }, { "field": "status", "table": "appcodes_kv", @@ -169,4 +193,4 @@ "cond": "parentid='accounting_status'" } ] -} \ No newline at end of file +}