From 020d940ae4e16f55f69cef3dd4c8dc0b9764af07 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 26 六月 2019 10:59:48 +0800 Subject: [PATCH] 邀请对应奖励红包加入版本区分 --- fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java index 7d27b0e..605b873 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java @@ -4,9 +4,9 @@ import java.util.List; import javax.annotation.Resource; -import javax.transaction.Transactional; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; import org.yeshi.utils.StringUtil; import com.yeshi.fanli.dao.mybatis.goods.CommonGoodsMapper; @@ -151,4 +151,21 @@ } } } + + + @Override + public List<CommonGoods> listBySellerId(Long sellerId) { + return commonGoodsMapper.listBySellerId(sellerId); + } + + @Override + public long countBySellerIdAndHasCoupon(Long sellerId) { + return commonGoodsMapper.countBySellerIdAndHasCoupon(sellerId); + } + + @Override + public List<CommonGoods> getByListGoodsId(List<Long> list) { + return commonGoodsMapper.getByListGoodsId(list); + } + } -- Gitblit v1.8.0