修改newconfig文件更改

This commit is contained in:
邹宗楠
2022-06-02 13:46:25 +08:00
parent f190f4cb9d
commit 1ca2008838

View File

@@ -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
}