yujian
2019-08-19 3672aec5bf6c2c6da4cb7ab4a8b5f314a22c5831
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
33
34
35
36
package com.yeshi.fanli.service.inter.user;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord;
 
public interface UserSystemCouponGiveRecordService {
 
    public void insertSelective(UserSystemCouponGiveRecord record);
 
    /**
     * 更新领取记录
     * @param receiveUid
     * @param giveUid
     * @param couponId
     */
    public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord);
 
    
    /**
     * 查询赠送记录
     * @param giveUid
     * @param couponId
     * @return
     */
    public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId);
 
    
    /**
     * 未领取退回券
     * @param count
     * @return
     */
    public List<UserSystemCouponGiveRecord> overdueList(int count);
 
}