package com.matrix.system.shopXcx.dao; import com.matrix.core.pojo.PaginationVO; import com.matrix.system.shopXcx.bean.ShopAdvertis; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * @description 广告表 * @author jyy * @date 2019-06-05 10:15 */ public interface ShopAdvertisDao{ public int insert(@Param("item") ShopAdvertis shopAdvertis); public int batchInsert(@Param("list") List shopAdvertisList); public int updateByMap(Map modifyMap); public int updateByModel(@Param("record") ShopAdvertis shopAdvertis); public int deleteByIds(@Param("list") List list); public int deleteById(Integer id); public int deleteByModel(@Param("record") ShopAdvertis shopAdvertis); public List selectInPage(@Param("record") ShopAdvertis shopAdvertis, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") ShopAdvertis shopAdvertis); public int selectTotalRecord(@Param("record") ShopAdvertis shopAdvertis); public ShopAdvertis selectById(Integer id); public ShopAdvertis selectForUpdate(Integer id); List selectListByType(@Param("type") String type, @Param("capacity") Integer capacity); List selectListByTypeId(@Param("adtId") Integer adtId, @Param("capacity") Integer capacity); }