|
@@ -207,7 +207,7 @@
|
|
|
<update id="updateViewingNum">
|
|
|
UPDATE cm_second_hand_detail SET
|
|
|
viewingNum = #{viewingNum}
|
|
|
- WHERE id = #{id}
|
|
|
+ WHERE productID = #{productID}
|
|
|
</update>
|
|
|
<update id="updatSecondHnadproductSold">
|
|
|
UPDATE cm_second_hand_detail SET sold = 1 where productID = #{productID}
|