SmartUserRelationServiceImpl.java 2.79 KB
package com.glsx.smart.service.impl;

import javax.annotation.Resource;
import java.util.List;
import com.glsx.smart.entity.SmartUserRelation;
import com.glsx.smart.mapper.SmartUserRelationMapper;
import com.glsx.smart.service.SmartUserRelationService;
import org.springframework.stereotype.Service;

/**
 * <p>Description:
 * <p>Project: chejia-smart
 *
 * @author wbh
 * @date 2021-03-15
 */

@Service
public class SmartUserRelationServiceImpl implements SmartUserRelationService {

    @Resource
    private SmartUserRelationMapper smartUserRelationMapper;

    @Override
    public int deleteByExample(SmartUserRelation example) {
        return smartUserRelationMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return smartUserRelationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SmartUserRelation record) {
        return smartUserRelationMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(SmartUserRelation record) {
        return smartUserRelationMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(SmartUserRelation record) {
        return smartUserRelationMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(SmartUserRelation record) {
        return smartUserRelationMapper.insertSelective(record);
    }

    @Override
    public List<SmartUserRelation> selectByExample(SmartUserRelation example) {
        return smartUserRelationMapper.selectByExample(example);
    }

    @Override
    public SmartUserRelation selectByPrimaryKey(Long id) {
        return smartUserRelationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SmartUserRelation record,
            SmartUserRelation example) {
        return smartUserRelationMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(SmartUserRelation record, SmartUserRelation example) {
        return smartUserRelationMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(SmartUserRelation record) {
        return smartUserRelationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SmartUserRelation record) {
        return smartUserRelationMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<SmartUserRelation> list) {
        return smartUserRelationMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<SmartUserRelation> list) {
        return smartUserRelationMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<SmartUserRelation> list) {
        return smartUserRelationMapper.batchInsert(list);
    }

}