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() }