| | |
| | | * @param goodsId
|
| | | * @param goodsType
|
| | | */
|
| | | public void offlineCommonGoods(Long goodsId, int goodsType);
|
| | | public void offlineCommonGoods(Long goodsId, Integer goodsType);
|
| | |
|
| | | /**
|
| | | * 根据商品ID和商品类型查询库商品
|
| | |
| | | * @param goodsType
|
| | | * @return
|
| | | */
|
| | | public CommonGoods getCommonGoodsByGoodsIdAndGoodsType(Long goodsId, int goodsType);
|
| | | public CommonGoods getCommonGoodsByGoodsIdAndGoodsType(Long goodsId, Integer goodsType);
|
| | |
|
| | | /**
|
| | | * 批量更新
|
| | |
| | | * @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);
|
| | |
|
| | | }
|