yujian
2019-12-25 a3ead770c30b310b9b1b7e3786d5d847da540e55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
}