yujian
2019-02-27 4bfa8875c0fce82200c08d8e16532b16e2e29056
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
55
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.UserSystemCouponRecordMapper;
import com.yeshi.fanli.entity.bus.user.UserSystemCouponRecord;
import com.yeshi.fanli.service.inter.user.UserSystemCouponRecordService;
 
@Service
public class UserSystemCouponRecordServiceImpl implements UserSystemCouponRecordService {
    
    @Resource
    private UserSystemCouponRecordMapper userSystemCouponRecordMapper;
 
    
    @Override
    public int insertSelective(UserSystemCouponRecord record) {
        return userSystemCouponRecordMapper.insertSelective(record);
    }
 
    @Override
    public UserSystemCouponRecord selectByPrimaryKey(Long id) {
        return userSystemCouponRecordMapper.selectByPrimaryKey(id);
    }
 
    @Override
    public int updateByPrimaryKeySelective(UserSystemCouponRecord record) {
        return userSystemCouponRecordMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(UserSystemCouponRecord record) {
        return userSystemCouponRecordMapper.updateByPrimaryKey(record);
    }
 
    @Override
    public UserSystemCouponRecord  getRecordByOrderNo(String orderNo, Integer state) {
        return userSystemCouponRecordMapper.getRecordByOrderNo(orderNo, state);
    }
 
    @Override
    public List<UserSystemCouponRecord> getRecordByOrderNoList(List<String> list) {
        return userSystemCouponRecordMapper.getRecordByOrderNoList(list);
    }
    
    @Override
    public List<UserSystemCouponRecord> getCouponByUsingTimeOut(Long uid, long seconds) {
        return userSystemCouponRecordMapper.getCouponByUsingTimeOut(uid, seconds);
    }
 
}