package com.yeshi.fanli.service.impl.hongbao;
|
|
import java.util.List;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
import com.yeshi.fanli.dao.mybatis.ThreeSaleExtraInfoMapper;
|
import com.yeshi.fanli.entity.bus.user.ThreeSaleExtraInfo;
|
import com.yeshi.fanli.service.inter.hongbao.ThreeSaleExtraInfoSerivce;
|
|
@Service
|
public class ThreeSaleExtraInfoSerivceImpl implements ThreeSaleExtraInfoSerivce {
|
|
@Resource
|
private ThreeSaleExtraInfoMapper threeSaleExtraInfoMapper;
|
|
@Override
|
public int deleteByPrimaryKey(Long id) {
|
return threeSaleExtraInfoMapper.deleteByPrimaryKey(id);
|
}
|
|
@Override
|
public int insert(ThreeSaleExtraInfo record) {
|
return threeSaleExtraInfoMapper.insert(record);
|
}
|
|
@Override
|
public int insertSelective(ThreeSaleExtraInfo record) {
|
return threeSaleExtraInfoMapper.insertSelective(record);
|
}
|
|
@Override
|
public ThreeSaleExtraInfo selectByPrimaryKey(Long id) {
|
return threeSaleExtraInfoMapper.selectByPrimaryKey(id);
|
}
|
|
@Override
|
public int updateByPrimaryKeySelective(ThreeSaleExtraInfo record) {
|
return threeSaleExtraInfoMapper.updateByPrimaryKeySelective(record);
|
}
|
|
@Override
|
public int updateByPrimaryKey(ThreeSaleExtraInfo record) {
|
return threeSaleExtraInfoMapper.updateByPrimaryKey(record);
|
}
|
|
|
@Override
|
public List<ThreeSaleExtraInfo> listbyBossIdAndWorkerId(Long bossId, Long workerId) {
|
return threeSaleExtraInfoMapper.listbyBossIdAndWorkerId(bossId, workerId);
|
}
|
|
@Override
|
public int deleteByBossIdAndWorkerId(Long bossId, Long workerId) {
|
return threeSaleExtraInfoMapper.deleteByBossIdAndWorkerId(bossId, workerId);
|
}
|
|
|
|
|
}
|