| | |
| | | package com.yeshi.fanli.dao.mybatis.redpack; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.redpack.RedPackGiveRecord; |
| | | import com.yeshi.fanli.vo.redpack.RedPackGiveVO; |
| | | |
| | | public interface RedPackGiveRecordMapper extends BaseMapper<RedPackGiveRecord> { |
| | | |
| | | /** |
| | | * 口令失效 |
| | | * @param token |
| | | * @return |
| | | */ |
| | | List<RedPackGiveRecord> overdueList(@Param("count") int count); |
| | | |
| | | |
| | | /** |
| | | * 查询用户赠送记录 |
| | | * @param start |
| | | * @param count |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | List<RedPackGiveVO> getGiveList(@Param("start") long start, @Param("count") int count, @Param("uid") long uid); |
| | | |
| | | |
| | | long countGiveList(@Param("uid") long uid); |
| | | } |