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 shopArticleTypeList); public int updateByMap(Map modifyMap); public int updateByModel(@Param("record") ShopArticleType shopArticleType); public int deleteByIds(@Param("list") List list); public int deleteById(Integer artypeId); public int deleteByModel(@Param("record") ShopArticleType shopArticleType); public List selectInPage(@Param("record") ShopArticleType shopArticleType, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") ShopArticleType shopArticleType); public int selectTotalRecord(@Param("record") ShopArticleType shopArticleType); public ShopArticleType selectById(Integer artypeId); public ShopArticleType selectForUpdate(Integer artypeId); public List selectByTypeCode(); }