From 960dca6a50455cfa24e45630561df0edfda66535 Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Wed, 22 Apr 2026 15:03:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20creator=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=A9=BA=E5=80=BC=E6=A3=80=E6=9F=A5=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/gfdb/gfdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/gfdb/gfdb.go b/db/gfdb/gfdb.go index 0e2da34..72508a6 100644 --- a/db/gfdb/gfdb.go +++ b/db/gfdb/gfdb.go @@ -188,7 +188,7 @@ func insertHook(ctx context.Context, in *gdb.HookInsertInput) (result sql.Result } } if _, ok := in.Data[i]["creator"]; ok { - if g.IsEmpty(in.Data[i]["tenant_id"]) { + if g.IsEmpty(in.Data[i]["creator"]) { if !g.IsEmpty(userInfo.UserName) { in.Data[i]["creator"] = userInfo.UserName } else {