|
@@ -198,7 +198,7 @@
|
|
|
from product p
|
|
|
left join cm_second_hand_recommend cshr on p.productID = cshr.recommendProductID
|
|
|
left join cm_brand cb on cb.id = p.brandID
|
|
|
- where p.productCategory = 2 and p.validFlag = 2 and cshr.delFlag = 0
|
|
|
+ where p.validFlag = 2 and cshr.delFlag = 0
|
|
|
and cshr.secondHandProductID = #{productId}
|
|
|
order by cshr.sort desc
|
|
|
</select>
|