package com.matrix.system.shopXcx.dao; 
 | 
  
 | 
import org.apache.ibatis.annotations.Param; 
 | 
import java.util.List; 
 | 
import java.util.Map; 
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
import com.matrix.system.shopXcx.bean.ShopArticleType; 
 | 
  
 | 
/** 
 | 
 * @description 文章分类 
 | 
 * @author jiangyouyao 
 | 
 * @date 2019-06-10 14:41 
 | 
 */ 
 | 
public interface ShopArticleTypeDao{ 
 | 
  
 | 
    public int insert(@Param("item") ShopArticleType shopArticleType); 
 | 
        
 | 
       public int batchInsert(@Param("list") List<ShopArticleType> shopArticleTypeList); 
 | 
        
 | 
    public int updateByMap(Map<String, Object> modifyMap); 
 | 
     
 | 
    public int updateByModel(@Param("record") ShopArticleType shopArticleType); 
 | 
     
 | 
    public int deleteByIds(@Param("list") List<String> list); 
 | 
     
 | 
    public int deleteById(Integer artypeId); 
 | 
  
 | 
    public int deleteByModel(@Param("record") ShopArticleType shopArticleType); 
 | 
     
 | 
    public List<ShopArticleType> selectInPage(@Param("record") ShopArticleType shopArticleType, @Param("pageVo") PaginationVO pageVo); 
 | 
  
 | 
    public List<ShopArticleType> selectByModel(@Param("record") ShopArticleType shopArticleType); 
 | 
     
 | 
    public int selectTotalRecord(@Param("record") ShopArticleType shopArticleType); 
 | 
     
 | 
    public ShopArticleType  selectById(Integer artypeId); 
 | 
     
 | 
    public ShopArticleType  selectForUpdate(Integer artypeId); 
 | 
  
 | 
    public List<ShopArticleType> selectByTypeCode(); 
 | 
     
 | 
} 
 |