From c5c0479c72411d125545322a889e970d1f770020 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 8 Sep 2023 19:02:37 +0800 Subject: [PATCH] fix --- server/fssql/metadata.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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