package com.yeshi.fanli.dao.mybatis; import org.apache.ibatis.annotations.Param; import com.yeshi.fanli.entity.bus.share.UserShareGoodsHistory; public interface UserShareGoodsHistoryMapper { int deleteByPrimaryKey(Long id); int insert(UserShareGoodsHistory record); int insertSelective(UserShareGoodsHistory record); UserShareGoodsHistory selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(UserShareGoodsHistory record); int updateByPrimaryKey(UserShareGoodsHistory record); UserShareGoodsHistory selectByUidAndAuctionId(@Param("uid")Long uid,@Param("auctionId")Long auctionId); long countUserShares(Long userId); }