admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
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
package com.yeshi.fanli.service.impl.order;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.order.CommonOrderGoodsMapper;
import com.yeshi.fanli.entity.order.CommonOrderGoods;
import com.yeshi.fanli.service.inter.order.CommonOrderGoodsService;
 
 
@Service
public class CommonOrderGoodsServiceImpl implements CommonOrderGoodsService {
    
    @Resource
    private CommonOrderGoodsMapper commonOrderGoodsMapper;
 
 
    @Override
    public int insert(CommonOrderGoods record) {
        return commonOrderGoodsMapper.insert(record);
    }
 
    @Override
    public int insertSelective(CommonOrderGoods record) {
        return commonOrderGoodsMapper.insertSelective(record);
    }
 
    @Override
    public int updateByPrimaryKeySelective(CommonOrderGoods record) {
        return commonOrderGoodsMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(CommonOrderGoods record) {
        return commonOrderGoodsMapper.updateByPrimaryKey(record);
    }
 
    @Override
    public int deleteByPrimaryKey(Long id) {
        return commonOrderGoodsMapper.deleteByPrimaryKey(id);
    }
 
    @Override
    public CommonOrderGoods selectByPrimaryKey(Long id) {
        return commonOrderGoodsMapper.selectByPrimaryKey(id);
    }
    
}