From 1ca20088384f80b5d49424b16b3d4162da2cd8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 2 Jun 2022 13:46:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9newconfig=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/new_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/new_config.go b/business/model/dao/new_config.go index 09e64a01e..62086af71 100644 --- a/business/model/dao/new_config.go +++ b/business/model/dao/new_config.go @@ -62,7 +62,7 @@ func GetSysConfigAsInt64(db *DaoDB, key string) (value int64, err error) { // 修改配置 func UpdateOperatorConfig(param string) error { - sql := `UPDATE new_config SET value = ? WHERE type = ? AND key = ?` + sql := `UPDATE new_config c SET c.value = ? WHERE c.type = ? AND c.key = ?` _, err := ExecuteSQL(GetDB(), sql, []interface{}{param, "Sys", "FZR"}) return err }