diff --git a/business/jxstore/cms/user.go b/business/jxstore/cms/user.go index ae8647ca3..1a89e036c 100644 --- a/business/jxstore/cms/user.go +++ b/business/jxstore/cms/user.go @@ -136,7 +136,7 @@ func verifyMobileHasNoMembers(db *dao.DaoDB, mobile string) (err error) { if err = dao.GetRow(db, countInfo, ` SELECT COUNT(*) ct FROM weixins t1 - JOIN weixins t2 ON t1.parent_id = t2.id AND t2.mobile = ? + JOIN weixins t2 ON t1.parentid = t2.id AND t2.tel = ? `, mobile); err == nil { if countInfo.Ct > 0 { err = fmt.Errorf("%s本身已经是组长", mobile)