|
@@ -412,7 +412,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getSecondHandProductRecommend" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
|
|
|
- select * from cm_second_hand_recommend cshr LEFT JOIN product p on cshr.secondHandProductID = p.productID where cshr.delFlag = 0 and p.validFlag = 2 and cshr.secondHandProductID = #{productId};
|
|
|
+ select * from cm_second_hand_recommend cshr LEFT JOIN product p on cshr.recommendProductID = p.productID where cshr.delFlag = 0 and p.validFlag = 2 and cshr.secondHandProductID = #{productId};
|
|
|
</select>
|
|
|
|
|
|
<select id="getOrderSecondHandProductList" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
|