Bladeren bron

修改二手浏览量

plf 4 jaren geleden
bovenliggende
commit
4ba5f43019
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      product/src/main/resources/com-caimei-module-product/ProductModuleMapper.xml

+ 1 - 1
product/src/main/resources/com-caimei-module-product/ProductModuleMapper.xml

@@ -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}