| | |
| | | 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);
|
| | | }
|
| | | |
| | | }
|
| | | 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); |
| | | } |
| | | |
| | | } |