From 692220b31bcaa272336f4c4d4181dcf2b54e9920 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 8 Sep 2023 19:01:29 +0800 Subject: [PATCH] fix --- server/fssql/metadata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/fssql/metadata.go b/server/fssql/metadata.go index b3342ee7..6f436fda 100644 --- a/server/fssql/metadata.go +++ b/server/fssql/metadata.go @@ -47,6 +47,7 @@ import ( // return nil // } +// tableStructPointer 表结构 updateMetadata 可以是json的[]byte也可以结构体 func MetadataPATCH(tx *gorm.DB, module string, tableStructPointer any, updateMetadata any, WhereKeysCond string, value ...any) error { stype := reflect.TypeOf(tableStructPointer) if stype.Kind() == reflect.Pointer {