Explorar o código

解决客户资料看不到子级的问题

zou.yingbin %!s(int64=3) %!d(string=hai) anos
pai
achega
00dcf5441b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      models/qhjPCWeb.go

+ 2 - 2
models/qhjPCWeb.go

@@ -222,8 +222,8 @@ select u.accountname brokername, a.*
 		str := `
 		and t.areaid in (select t.userid
 		from useraccount t
-		where t.subarealevelpath like ',%%%v%%,'
-		and t.usertype=2)
+		where t.subarealevelpath like '%%,%v,%%'
+		)
 	`
 		strParm = fmt.Sprintf(str, r.USERID)
 	}