| | |
| | | package com.yeshi.fanli.service.inter.shop;
|
| | |
|
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsClass;
|
| | |
|
| | | /**
|
| | | * 板栗商城商品分类服务
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface BanLiShopGoodsClassService {
|
| | |
|
| | | public BanLiShopGoodsClass selectByPrimaryKey(Long id);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.shop; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsClass; |
| | | import com.yeshi.fanli.exception.shop.BanLiShopGoodsClassException; |
| | | |
| | | /** |
| | | * 板栗商城商品分类服务 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface BanLiShopGoodsClassService { |
| | | |
| | | public BanLiShopGoodsClass selectByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * 查询所有分类 |
| | | * @return |
| | | */ |
| | | public List<BanLiShopGoodsClass> listAllGoodsClass(); |
| | | |
| | | /** |
| | | * 查询列表 |
| | | * @param page |
| | | * @param pageSize |
| | | * @param key |
| | | * @return |
| | | */ |
| | | public List<BanLiShopGoodsClass> listGoodsClass(int page, int pageSize, String key); |
| | | |
| | | public long countGoodsClass(String key); |
| | | |
| | | /** |
| | | * 增加 |
| | | * @param record |
| | | * @throws BanLiShopGoodsClassException |
| | | */ |
| | | public void save(BanLiShopGoodsClass record) throws BanLiShopGoodsClassException; |
| | | |
| | | /** |
| | | * 主键 |
| | | * @param idsList |
| | | */ |
| | | public void delete(List<Long> idsList); |
| | | |
| | | } |