From c007868c62c7da5c9ce1bf0e77d9e5f8619826e4 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 12 六月 2019 12:24:09 +0800 Subject: [PATCH] 查询默认有效调整 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/CommonGoodsService.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 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 31efe36..03def9f 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 @@ -69,5 +69,27 @@ * @param listCommonGoods */ public void addBatchCommonGoods(List<CommonGoods> listCommonGoods); + + /** + * 鏍规嵁搴楅摵id鏌ヨ 鏈�鏂�5涓� + * @param sellerId + * @return + */ + public List<CommonGoods> listBySellerId(Long sellerId); + + /** + * 缁熻搴楅摵鍟嗗搧鏈夊埜鏁伴噺 + * @param sellerId + * @return + */ + public long countBySellerIdAndHasCoupon(Long sellerId); + + + /** + * 鎵归噺鍟嗗搧id鏌ヨ鍟嗗搧淇℃伅 + * @param list + * @return + */ + public List<CommonGoods> getByListGoodsId(List<Long> list); } -- Gitblit v1.8.0