‘linchangsheng’ il y a 2 semaines
Parent
commit
d2e2fc6bf3
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/main/resources/mapper/GoodsSpecDetailMapper.xml

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

@@ -116,7 +116,7 @@
         join goods_spec b on a.goods_id=b.goods_id
         join goods_package_pop c on c.goods_spec_id=b.goods_spec_id
         left join goods_package_user_rela d on d.goods_id = a.goods_id
-        where a.del=0 and a.status=true and b.del=0 and a.company_wechat_id= #{companyWechatId} and c.goods_package_id=#{goodsId}
+        where a.del=0 and a.status=true and b.del=0  and c.goods_package_id=#{goodsId}
 				and (
 						(a.package_user_type=0 and d.user_id=#{userId})
 				        or a.package_user_type=1
@@ -130,7 +130,6 @@
             a.*
         from goods a
         where a.del=0 and a.status=true and a.promotion_group = 0
-                and a.company_wechat_id= #{companyWechatId}
 				and (
 						(a.package_user_type=0 and exists (select 1 from goods_package_user_rela where user_id=#{userId}) )
 				    or a.package_user_type=1