|
@@ -17,7 +17,7 @@
|
|
|
SELECT DISTINCT p.productID as productId,p.mainImage as image,p.name,
|
|
|
(select price from cm_sku where productId=p.productId order by price asc limit 1)as price,s.name as shopName
|
|
|
FROM product p
|
|
|
- left join cm_organize_product_info copi on copi.productId = p.productID and organizeId = 0
|
|
|
+ left join cm_organize_product_info copi on copi.productId = p.productID and copi.organizeId = 0
|
|
|
LEFT JOIN shop s ON s.shopID = p.shopID
|
|
|
LEFT JOIN cm_club_report cmc ON cmc.productID = p.productID
|
|
|
<where>
|