Explorar o código

二手商品-相关推荐bugfix

chao %!s(int64=3) %!d(string=hai) anos
pai
achega
23a5ae6822
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mapper/SecondHandMapper.xml

+ 1 - 1
src/main/resources/mapper/SecondHandMapper.xml

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