zhijiezhao 3 yıl önce
ebeveyn
işleme
1b85ead971
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/main/resources/mapper/PageMapper.xml

+ 2 - 2
src/main/resources/mapper/PageMapper.xml

@@ -181,8 +181,8 @@
                p.trainingMethod, p.trainingType ,p.trainingFee, p.productRemarks,p.productDetail as productDetailChose,
                s.shopType as shopType
         from product p
-        left join shop s on shop s.shopId= p.shopId
-        where productID = #{productId}
+        left join shop s on s.shopId= p.shopId
+        where p.productID = #{productId}
     </select>
     <select id="getBuyAgainProducts" resultType="com.caimei365.commodity.model.vo.ProductItemVo">
         select