WH01243 2 ani în urmă
părinte
comite
7aeb81b237
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      jyBXSubscribe/rpc/internal/logic/getsublistlogic.go

+ 1 - 1
jyBXSubscribe/rpc/internal/logic/getsublistlogic.go

@@ -60,7 +60,7 @@ func (l *GetSubListLogic) GetSubList(in *bxsubscribe.SubscribeInfosReq) (*bxsubs
 	}
 	}
 	//主体处理(fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户)
 	//主体处理(fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户)
 	if in.UserType == "vType" || in.UserType == "mType" {
 	if in.UserType == "vType" || in.UserType == "mType" {
-		infoCount := IC.MainMysql.CountBySql("select  count(id) from  entniche_wait_empower where  ent_id=? and  end_time>NOW() and product_type like '%超级订阅%' or product_type like '大会员' ", in.EntId)
+		infoCount := IC.MainMysql.CountBySql("select  count(id) from  entniche_wait_empower where  ent_id=? and  end_time>NOW() and (product_type like '%超级订阅%' or product_type like '大会员') ", in.EntId)
 		if infoCount > 0 {
 		if infoCount > 0 {
 			in.UserType = "eType"
 			in.UserType = "eType"
 			//主体等于企业的
 			//主体等于企业的