package com.yeshi.fanli.service.impl.hongbao;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
import com.yeshi.fanli.dao.mybatis.HongBaoV2Mapper;
|
import com.yeshi.fanli.entity.bus.user.HongBaoV2;
|
import com.yeshi.fanli.service.inter.hongbao.HongBaoV2Service;
|
|
|
@Service
|
public class HongBaoV2ServiceImpl implements HongBaoV2Service {
|
|
@Resource
|
private HongBaoV2Mapper hongBaoV2Mapper;
|
|
|
@Override
|
public int insert(HongBaoV2 record) {
|
return hongBaoV2Mapper.insert(record);
|
}
|
|
@Override
|
public int insertSelective(HongBaoV2 record) {
|
return hongBaoV2Mapper.insertSelective(record);
|
}
|
|
@Override
|
public int updateByPrimaryKeySelective(HongBaoV2 record) {
|
return hongBaoV2Mapper.updateByPrimaryKeySelective(record);
|
}
|
|
@Override
|
public int updateByPrimaryKey(HongBaoV2 record) {
|
return hongBaoV2Mapper.updateByPrimaryKey(record);
|
}
|
|
@Override
|
public int deleteByPrimaryKey(Long id) {
|
return hongBaoV2Mapper.deleteByPrimaryKey(id);
|
}
|
|
@Override
|
public HongBaoV2 selectByPrimaryKey(Long id) {
|
return hongBaoV2Mapper.selectByPrimaryKey(id);
|
}
|
|
}
|