package com.matrix.system.shopXcx.dao; import com.matrix.core.pojo.PaginationVO; import com.matrix.system.shopXcx.bean.ShopCollection; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * @description 收藏 * @author jiangyouyao * @date 2019-06-11 20:46 */ public interface ShopShareDao { public int insert(@Param("item") ShopCollection shopCollection); public int batchInsert(@Param("list") List shopCollectionList); public int updateByMap(Map modifyMap); public int updateByModel(@Param("record") ShopCollection shopCollection); public int deleteByIds(@Param("list") List list); public int deleteById(Integer collId); public int deleteByProductId(Map deleteMap); public int deleteByModel(@Param("record") ShopCollection shopCollection); public List selectInPage(@Param("record") ShopCollection shopCollection, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") ShopCollection shopCollection); public int selectTotalRecord(@Param("record") ShopCollection shopCollection); public ShopCollection selectById(Integer collId); public ShopCollection selectForUpdate(Integer collId); public List selectByUserId(@Param("record") ShopCollection shopCollection); public List selectByUserIdAndProid(@Param("collProductid") Integer collProductid, @Param("collUserId") String collUserId); }