admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
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
56
57
package com.yeshi.fanli.service.impl.push;
 
import java.util.List;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.push.PushGoodsRecordMapper;
import com.yeshi.fanli.entity.push.PushGoodsRecord;
import com.yeshi.fanli.exception.push.PushGoodsRecordException;
import com.yeshi.fanli.service.inter.push.PushGoodsRecordService;
 
@Service
public class PushGoodsRecordServiceImpl implements PushGoodsRecordService {
    
    @Resource
    private PushGoodsRecordMapper pushGoodsRecordMapper;
    
 
    @Override
    public int deleteByPrimaryKey(Long id) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.deleteByPrimaryKey(id);
    }
 
    @Override
    public int insert(PushGoodsRecord record) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.insert(record);
    }
 
    @Override
    public int insertSelective(PushGoodsRecord record) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.insertSelective(record);
    }
 
    @Override
    public PushGoodsRecord selectByPrimaryKey(Long id) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.selectByPrimaryKey(id);
    }
 
    @Override
    public int updateByPrimaryKeySelective(PushGoodsRecord record) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(PushGoodsRecord record) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.updateByPrimaryKey(record);
    }
 
    @Override
    public List<PushGoodsRecord> listByPushIdAndDeviceId(Long pushId, Long deviceId) throws PushGoodsRecordException {
        return pushGoodsRecordMapper.listByPushIdAndDeviceId(pushId, deviceId);
    }
    
    
}