‘linchangsheng’ 1 week ago
parent
commit
61c119cf7f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mapper/GoodsSpecDetailMapper.xml

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

@@ -87,7 +87,7 @@
             join order_info b on a.order_id=b.order_id
             join order_detail c on c.order_id=b.order_id
             join user d on d.user_id = b.user_id
-            where  a.is_show=1 and  a.company_wechat_id=#{companyWechatId} and c.goods_id=#{goodsId}
+            where  a.is_show=1 and  a.company_id=#{companyWechatId} and c.goods_id=#{goodsId}
             <if test="tag != null and tag!=''">
             and a.order_id in (
 				  select order_id from order_comment_tag where tag=#{tag} and company_wechat_id=#{companyWechatId}
@@ -101,7 +101,7 @@
             join order_info b on a.order_id=b.order_id
             join order_detail c on c.order_id=b.order_id
 						join order_comment_tag d on d.order_id=a.order_id
-            where c.goods_id=#{goodsId} and a.is_show=1 and a.company_wechat_id=#{companyWechatId}
+            where c.goods_id=#{goodsId} and a.is_show=1 and a.company_id=#{companyWechatId}
 						group by d.tag
     </select>