From 4114e871bcb3dce771b6aed64a1027d0bbb95ca6 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 16 五月 2019 15:28:37 +0800 Subject: [PATCH] 增加动态用户 --- fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java | 14 +++++++++++++- 1 files changed, 13 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..190f35e 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,16 @@ } } } + + + @Override + public List<CommonGoods> listBySellerId(Long sellerId) { + return commonGoodsMapper.listBySellerId(sellerId); + } + + + @Override + public long countBySellerIdAndHasCoupon(Long sellerId) { + return commonGoodsMapper.countBySellerIdAndHasCoupon(sellerId); + } } -- Gitblit v1.8.0