yujian
2020-04-02 fde1eb082b0de793b36574c311ee8f3d6410feeb
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
package com.yeshi.fanli.service.impl.order;
 
import java.util.List;
 
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);
    }
 
    @Override
    public List<CommonOrderGoods> listByByPrimaryKeys(List<Long> idsList) {
        return commonOrderGoodsMapper.listByByPrimaryKeys(idsList);
    }
    
}