@@ -29,7 +29,6 @@ public interface SpuMapper extends BaseMapper<Spu> {
...
@@ -29,7 +29,6 @@ public interface SpuMapper extends BaseMapper<Spu> {
@Select(" select count(*) from goods_spu a left join goods_count b on a.goods_id = b.goods_id left join merchant c on a.merchant_id = c.merchant_id where a.name like #{searchKey} and a.status = 1 ;")
@Select(" select count(*) from goods_spu a left join goods_count b on a.goods_id = b.goods_id left join merchant c on a.merchant_id = c.merchant_id where a.name like #{searchKey} and a.status = 1 ;")
@Select(" select count(*) from goods_spu a left join goods_count b on a.goods_id = b.goods_id left join merchant c on a.merchant_id = c.merchant_id where a.category_id = #{categoryId} and a.status = 1 ")
select a.*,c.shop_name as merchantName,c.* from goods_spu a left join goods_count b on a.goods_id = b.goods_id left join shop c on a.merchant_id = c.merchant_id
select a.*,c.shop_name as merchantName,c.* from goods_spu a left join goods_count b on a.goods_id = b.goods_id left join shop c on a.merchant_id = c.merchant_id