From 55a79b8829e48a757a9a8b62dca02cf5da0aa00b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 3 Aug 2024 10:00:32 +0800 Subject: [PATCH] 1 --- server/jccommon/dbutils.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/jccommon/dbutils.go b/server/jccommon/dbutils.go index 67646848..3b1b5bea 100644 --- a/server/jccommon/dbutils.go +++ b/server/jccommon/dbutils.go @@ -33,7 +33,9 @@ func GetDbParam(dataSource string, name string) (string, error) { f5.GetGoStyleDb().OrmSelectOne( dataSource, "t_param", - [][]string{}, + [][]string{ + {"name", name}, + }, func (err error, ds *f5.DataSet) { resultErr = err if err != nil {