yujian
2019-08-29 e1dcef9d29c8de98c603cd4880f6b272c23f1cc0
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.yeshi.fanli.service.impl.user;
 
import java.util.List;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.user.UserSystemCouponGiveRecordMapper;
import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord;
import com.yeshi.fanli.service.inter.user.UserSystemCouponGiveRecordService;
 
@Service
public class UserSystemCouponGiveRecordServiceImpl implements UserSystemCouponGiveRecordService{
 
    @Resource
    private UserSystemCouponGiveRecordMapper userSystemCouponGiveRecordMapper;
    
    
    @Override
    public void insertSelective(UserSystemCouponGiveRecord record) {
        userSystemCouponGiveRecordMapper.insertSelective(record);
    }
    
    @Override
    public UserSystemCouponGiveRecord selectByPrimaryKey(Long id) {
        return userSystemCouponGiveRecordMapper.selectByPrimaryKey(id);
    }
    
    @Override
    public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId) {
        return userSystemCouponGiveRecordMapper.getRecordByUidAndCouponId(giveUid, couponId);
    }
    
    @Override
    public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord) {
        userSystemCouponGiveRecordMapper.updateByPrimaryKeySelective(giveRecord);
    }
    
    @Override
    public List<UserSystemCouponGiveRecord> overdueList(int count) {
        return userSystemCouponGiveRecordMapper.overdueList(count);
    }
    
    @Override
    public List<UserSystemCouponGiveRecord> overdueListByUser(Long uid) {
        return userSystemCouponGiveRecordMapper.overdueListByUser(uid);
    }
 
    @Override
    public UserSystemCouponGiveRecord getByReceiveId(Long receiveId) {
        return userSystemCouponGiveRecordMapper.getByReceiveId(receiveId);
    }
}