From 319a0ca57e5a35ce29efb97c4a1a52648a5ce9c6 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 28 六月 2019 12:19:52 +0800 Subject: [PATCH] 邀请队友奖励推广红包逻辑修改: 以邀请者当前活跃版本进行判断是否赠送 --- fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CommonGoodsServiceImpl.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 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 4db6e97..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 @@ -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