From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/CommonGoodsService.java | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/CommonGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/CommonGoodsService.java index 50562ee..468bb4a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/CommonGoodsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/CommonGoodsService.java @@ -46,7 +46,7 @@ * @param goodsId * @param goodsType */ - public void offlineCommonGoods(Long goodsId, int goodsType); + public void offlineCommonGoods(Long goodsId, Integer goodsType); /** * 鏍规嵁鍟嗗搧ID鍜屽晢鍝佺被鍨嬫煡璇㈠簱鍟嗗搧 @@ -55,7 +55,7 @@ * @param goodsType * @return */ - public CommonGoods getCommonGoodsByGoodsIdAndGoodsType(Long goodsId, int goodsType); + public CommonGoods getCommonGoodsByGoodsIdAndGoodsType(Long goodsId, Integer goodsType); /** * 鎵归噺鏇存柊 @@ -75,13 +75,29 @@ * @param sellerId * @return */ - public List<CommonGoods> listBySellerId(Long sellerId); + public List<CommonGoods> listBySellerId(Long sellerId, Integer goodsType); /** * 缁熻搴楅摵鍟嗗搧鏈夊埜鏁伴噺 * @param sellerId * @return */ - public long countBySellerIdAndHasCoupon(Long sellerId); + public long countBySellerIdAndHasCoupon(Long sellerId, Integer goodsType); + + + /** + * 鎵归噺鍟嗗搧id鏌ヨ鍟嗗搧淇℃伅 + * @param list + * @return + */ + public List<CommonGoods> getByListGoodsId(List<Long> list, Integer goodsType); + + + /** + * 鑾峰彇鍟嗗搧 + * @param id + * @return + */ + public CommonGoods selectByPrimaryKey(Long id); } -- Gitblit v1.8.0