package com.matrix.system.hive.service; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
import com.matrix.system.hive.bean.VipAnswer; 
 | 
import com.matrix.system.hive.plugin.util.BaseServices; 
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
  
 | 
/** 
 | 
 * 
 | 
 * @date 2017-03-01 09:42 
 | 
 */ 
 | 
public interface VipAnswerService  extends BaseServices<VipAnswer>{ 
 | 
     
 | 
    /** 
 | 
     * 新增VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int add(VipAnswer vipAnswer); 
 | 
        
 | 
       /** 
 | 
     * 批量新增VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int batchAdd(List<VipAnswer> vipAnswerList); 
 | 
        
 | 
       /** 
 | 
     * 根据map键值对 更新VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int modifyByMap(VipAnswer oldVipAnswer, VipAnswer newVipAnswer); 
 | 
     
 | 
    /** 
 | 
     * 根据对象 更新VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int modifyByModel(VipAnswer vipAnswer); 
 | 
     
 | 
    /** 
 | 
     * 批量删除VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int remove(List<Long> list); 
 | 
  
 | 
    /** 
 | 
     * 根据id删除VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int removeById(Long id); 
 | 
     
 | 
    /** 
 | 
     * 根据对象删除VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int removeByModel(VipAnswer vipAnswer); 
 | 
     
 | 
    /** 
 | 
     * 分页查询VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public List<VipAnswer> findInPage(VipAnswer vipAnswer, PaginationVO pageVo); 
 | 
  
 | 
    /** 
 | 
     * 根据对象查询VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public List<VipAnswer> findByModel(VipAnswer vipAnswer); 
 | 
     
 | 
    /** 
 | 
     * 统计记录数VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public int  findTotal(VipAnswer vipAnswer); 
 | 
     
 | 
    /** 
 | 
     * 根据id查询VipAnswer 
 | 
     *  
 | 
     */ 
 | 
    public VipAnswer  findById(Long id); 
 | 
  
 | 
        
 | 
  
 | 
   
 | 
} 
 |