fix
This commit is contained in:
parent
b85c7a019f
commit
692220b31b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user