From 8fe4d6f8b3e11ee4062d4710fb3eacc3fe5adca8 Mon Sep 17 00:00:00 2001 From: jiang4869 <1121429190@qq.com> Date: Fri, 7 Jan 2022 00:21:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8Aobj=E6=94=B9=E6=88=90obj...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/view/genfunc/genfunc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/view/genfunc/genfunc_test.go b/data/view/genfunc/genfunc_test.go index ba25a09..876d5f5 100644 --- a/data/view/genfunc/genfunc_test.go +++ b/data/view/genfunc/genfunc_test.go @@ -156,6 +156,6 @@ func TestCondition(t *testing.T) { sqldb.Close() }() - accountMgr := model.AccountMgr(db.Where(where, obj)) + accountMgr := model.AccountMgr(db.Where(where, obj...)) accountMgr.Gets() }