diff --git a/server/fssql/metadata.go b/server/fssql/metadata.go index 6f436fda..bc97da9d 100644 --- a/server/fssql/metadata.go +++ b/server/fssql/metadata.go @@ -5,7 +5,6 @@ import ( "fmt" "reflect" - "github.com/zeromicro/go-zero/core/logx" "gorm.io/gorm" ) @@ -82,7 +81,7 @@ func MetadataPATCH(tx *gorm.DB, module string, tableStructPointer any, updateMet values = append(values, value...) updatesql = fmt.Sprintf(updatesql, tx.NamingStrategy.TableName(stype.Name()), module, WhereKeysCond) - logx.Error(updatesql) + // logx.Error(updatesql) err = tx.Exec(updatesql, values).Error if err != nil { return err