package com.yeshi.fanli.service.impl.push;
|
|
import java.util.List;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
import com.yeshi.fanli.dao.mybatis.push.PushCouponRecordMapper;
|
import com.yeshi.fanli.entity.push.PushCouponRecord;
|
import com.yeshi.fanli.service.inter.push.PushCouponRecordService;
|
|
@Service
|
public class PushCouponRecordServiceImpl implements PushCouponRecordService {
|
|
|
@Resource
|
private PushCouponRecordMapper pushCouponRecordMapper;
|
|
@Override
|
public int deleteByPrimaryKey(Long id) {
|
return pushCouponRecordMapper.deleteByPrimaryKey(id);
|
}
|
|
@Override
|
public int insert(PushCouponRecord record) {
|
return pushCouponRecordMapper.insert(record);
|
}
|
|
@Override
|
public int insertSelective(PushCouponRecord record) throws Exception{
|
return pushCouponRecordMapper.insertSelective(record);
|
}
|
|
@Override
|
public PushCouponRecord selectByPrimaryKey(Long id) {
|
return pushCouponRecordMapper.selectByPrimaryKey(id);
|
}
|
|
@Override
|
public int updateByPrimaryKeySelective(PushCouponRecord record) {
|
return pushCouponRecordMapper.updateByPrimaryKeySelective(record);
|
}
|
|
@Override
|
public int updateByPrimaryKey(PushCouponRecord record) {
|
return pushCouponRecordMapper.updateByPrimaryKey(record);
|
}
|
|
@Override
|
public long countByPushId(Long pushId) {
|
return pushCouponRecordMapper.countByPushId(pushId);
|
}
|
|
@Override
|
public List<PushCouponRecord> listByUid(Long uid) {
|
return pushCouponRecordMapper.listByUid(uid);
|
}
|
|
|
}
|