admin
2020-05-19 744594ef1a2f530fc3e86ea9dc48b62247f79420
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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.PushGoodsGroupMapper;
import com.yeshi.fanli.entity.push.PushGoodsGroup;
import com.yeshi.fanli.exception.push.PushGoodsGroupException;
import com.yeshi.fanli.service.inter.push.PushGoodsGroupService;
 
@Service
public class PushGoodsGroupServiceImpl implements PushGoodsGroupService {
    
    @Resource
    private PushGoodsGroupMapper pushGoodsGroupMapper;
    
 
    @Override
    public int deleteByPrimaryKey(Long id) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.deleteByPrimaryKey(id);
    }
 
    @Override
    public int insert(PushGoodsGroup record) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.insert(record);
    }
 
    @Override
    public int insertSelective(PushGoodsGroup record) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.insertSelective(record);
    }
 
    @Override
    public PushGoodsGroup selectByPrimaryKey(Long id) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.selectByPrimaryKey(id);
    }
 
    @Override
    public int updateByPrimaryKeySelective(PushGoodsGroup record) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(PushGoodsGroup record) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.updateByPrimaryKey(record);
    }
    
    @Override
    public int deleteByPushId(Long pushId) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.deleteByPushId(pushId);
    }
 
    @Override
    public int insertBatch(List<PushGoodsGroup> list) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.insertBatch(list);
    }
 
    @Override
    public List<PushGoodsGroup> selectByPushId(Long pushId) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.selectByPushId(pushId);
    }
 
    @Override
    public int deleteBatchByPrimaryKey(List<Long> list) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.deleteBatchByPrimaryKey(list);
    }
 
    @Override
    public int deleteBatchByPushId(List<Long> list) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.deleteBatchByPushId(list);
    }
 
    @Override
    public long countByPushId(Long pushId) {
        return pushGoodsGroupMapper.countByPushId(pushId);
    }
 
    @Override
    public List<PushGoodsGroup> getAllInfoByPushId(Long pushId) throws PushGoodsGroupException {
        return pushGoodsGroupMapper.getAllInfoByPushId(pushId);
    }
    
    
 
}