xingzai 11 сар өмнө
parent
commit
377194fcdb

+ 4 - 4
controllers/cygx/rai_serve.go

@@ -353,13 +353,13 @@ func (this *RaiServeCoAntroller) List() {
 	}
 
 	if sellerId != "" {
-		condition += " AND seller_id IN (?) "
-		pars = append(pars, sellerId)
+		condition += " AND seller_id IN (" + shareSellerId + ") "
+		//pars = append(pars, sellerId)
 	}
 
 	if shareSellerId != "" {
-		condition += " AND share_seller_id IN (?) "
-		pars = append(pars, shareSellerId)
+		condition += " AND share_seller_id IN (" + shareSellerId + ") "
+		//pars = append(pars, shareSellerId)
 	}
 
 	if sortType != "" {