yujian
2020-05-20 4c336b22a20b45a1e439a87f70747a96ad0e8e7b
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
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.DeviceLotteryRecordMapper;
import com.yeshi.fanli.entity.bus.user.DeviceLotteryRecord;
import com.yeshi.fanli.service.inter.user.DeviceLotteryRecordService;
 
@Service
public class DeviceLotteryRecordServiceImpl implements DeviceLotteryRecordService {
    
    @Resource
    private DeviceLotteryRecordMapper reviceLotteryRecordMapper;
 
    
    @Override
    public int deleteByPrimaryKey(Long id) {
        return reviceLotteryRecordMapper.deleteByPrimaryKey(id);
    }
    
    @Override
    public int insertSelective(DeviceLotteryRecord record) {
        return reviceLotteryRecordMapper.insertSelective(record);
    }
 
    @Override
    public DeviceLotteryRecord selectByPrimaryKey(Long id) {
        return reviceLotteryRecordMapper.selectByPrimaryKey(id);
    }
 
    @Override
    public int updateByPrimaryKeySelective(DeviceLotteryRecord record) {
        return reviceLotteryRecordMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(DeviceLotteryRecord record) {
        return reviceLotteryRecordMapper.updateByPrimaryKey(record);
    }
 
    @Override
    public List<DeviceLotteryRecord> listByPlatformAndDevice(int platform, String device) {
        return reviceLotteryRecordMapper.listByPlatformAndDevice(platform, device);
    }
 
}