| package com.matrix.system.hive.service; | 
|   | 
| import com.matrix.core.pojo.PaginationVO; | 
| import com.matrix.system.hive.bean.SysGoods; | 
| import com.matrix.system.hive.plugin.util.BaseServices; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * | 
|  * @date 2016-07-03 20:53 | 
|  */ | 
| public interface SysGoodsService  extends BaseServices<SysGoods> { | 
|      | 
|     /** | 
|      * 新增SysGoods | 
|      *  | 
|      */ | 
|     public int add(SysGoods sysGoods); | 
|         | 
|        /** | 
|      * 更新SysGoods | 
|      *  | 
|      */ | 
|     public int modify(SysGoods sysGoods); | 
|      | 
|     /** | 
|      * 批量删除SysGoods | 
|      *  | 
|      */ | 
|     public int remove(List<Long> list); | 
|   | 
|     /** | 
|      * 根据id删除SysGoods | 
|      *  | 
|      */ | 
|     public int removeById(Long id); | 
|      | 
|     /** | 
|      * 分页查询SysGoods | 
|      *  | 
|      */ | 
|     public List<SysGoods> findInPage(SysGoods sysGoods, PaginationVO pageVo); | 
|   | 
|     /** | 
|      * 根据对象查询SysGoods | 
|      *  | 
|      */ | 
|     public List<SysGoods> findByModel(SysGoods sysGoods); | 
|      | 
|     /** | 
|      * 统计记录数SysGoods | 
|      *  | 
|      */ | 
|     public int  findTotal(SysGoods sysGoods); | 
|      | 
|     /** | 
|      * 根据id查询SysGoods | 
|      *  | 
|      */ | 
|     public SysGoods  findById(Long id); | 
|     | 
|      | 
|      | 
|     /**商品对象集合,含编号和id两个字段 | 
|      * @return  | 
|      */ | 
|     public List<SysGoods> findAllNo(); | 
|         | 
|   | 
|    | 
| } |