From 46f5a89da0718a024ff14d18e253e8d599f33596 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 19 Sep 2018 17:15:58 +0800 Subject: [PATCH] - GetRow --- business/jxstore/cms/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/user.go b/business/jxstore/cms/user.go index be013ebce..ae8647ca3 100644 --- a/business/jxstore/cms/user.go +++ b/business/jxstore/cms/user.go @@ -133,7 +133,7 @@ func verifyMobileIsBlank(db *dao.DaoDB, mobile string) (user *model.WeiXins, err func verifyMobileHasNoMembers(db *dao.DaoDB, mobile string) (err error) { countInfo := &struct{ Ct int }{} - if err = dao.GetRows(db, countInfo, ` + if err = dao.GetRow(db, countInfo, ` SELECT COUNT(*) ct FROM weixins t1 JOIN weixins t2 ON t1.parent_id = t2.id AND t2.mobile = ?