package com.matrix.system.hive.dao; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
import com.matrix.system.app.vo.ShoppingGoodsDetailVo; 
 | 
import com.matrix.system.hive.bean.MoneyCardAssemble; 
 | 
import com.matrix.system.hive.bean.ShoppingGoodsCategory; 
 | 
import org.apache.ibatis.annotations.Param; 
 | 
  
 | 
  
 | 
  
 | 
/** 
 | 
 * 
 | 
 * @date 2016-09-18 11:17 
 | 
 */ 
 | 
  
 | 
  
 | 
public interface MoneyCardAssembleDao{ 
 | 
  
 | 
    public int insert(MoneyCardAssemble moneyCardAssemble); 
 | 
        
 | 
    public int update(MoneyCardAssemble moneyCardAssemble); 
 | 
     
 | 
    public int deleteByIds(@Param("list") List<Long> list); 
 | 
     
 | 
    public int deleteById(Long id); 
 | 
     
 | 
    public List<MoneyCardAssemble> selectInPage(@Param("record") MoneyCardAssemble moneyCardAssemble, @Param("pageVo") PaginationVO pageVo); 
 | 
  
 | 
    public List<MoneyCardAssemble> selectByModel(@Param("record") MoneyCardAssemble moneyCardAssemble); 
 | 
     
 | 
    public int  selectTotalRecord(@Param("record") MoneyCardAssemble moneyCardAssemble); 
 | 
     
 | 
    public MoneyCardAssemble  selectById(Long id); 
 | 
  
 | 
    public void deleteByCardId(Long id); 
 | 
  
 | 
    public void batchInsert(@Param("list") List<MoneyCardAssemble> newAssemble); 
 | 
  
 | 
    public    List<MoneyCardAssemble> selectByCardId(Long cardId); 
 | 
  
 | 
    List<ShoppingGoodsDetailVo> selectCardRelationGoods(@Param("cardId") Long cardId); 
 | 
  
 | 
    List<ShoppingGoodsCategory> selectCardRelationCategory(@Param("cardId") Long cardId); 
 | 
} 
 |