| package com.matrix.system.hive.service; | 
|   | 
| import java.util.List; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.hive.bean.ShoppingGoodsCategory; | 
| import com.matrix.system.hive.plugin.util.BaseServices; | 
| /** | 
|  * | 
|  * @date 2016-07-30 09:54 | 
|  */ | 
| public interface ShoppingGoodsCategoryService  extends BaseServices<ShoppingGoodsCategory>{ | 
|      | 
|     /** | 
|      * 新增ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public int add(ShoppingGoodsCategory shoppingGoodsCategory); | 
|         | 
|        /** | 
|      * 更新ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public int modify(ShoppingGoodsCategory shoppingGoodsCategory); | 
|      | 
|     /** | 
|      * 批量删除ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public int remove(List<Long> list); | 
|   | 
|     /** | 
|      * 根据id删除ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public int removeById(Long id); | 
|      | 
|     /** | 
|      * 分页查询ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public List<ShoppingGoodsCategory> findInPage(ShoppingGoodsCategory shoppingGoodsCategory, PaginationVO pageVo); | 
|   | 
|     /** | 
|      * 根据对象查询ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public List<ShoppingGoodsCategory> findByModel(ShoppingGoodsCategory shoppingGoodsCategory); | 
|      | 
|     /** | 
|      * 统计记录数ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public int  findTotal(ShoppingGoodsCategory shoppingGoodsCategory); | 
|      | 
|     /** | 
|      * 根据id查询ShoppingGoodsCategory | 
|      *  | 
|      */ | 
|     public ShoppingGoodsCategory  findById(Long id); | 
|   | 
|         | 
|     List<ShoppingGoodsCategory> findChildNodesByName(ShoppingGoodsCategory shoppingGoodsCategory); | 
|    | 
| } |