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 {