SmartKeyCommandLogServiceImpl.java 2.25 KB
package com.glsx.smart.service.impl;

import com.glsx.smart.dao.entity.SmartKeyCommandLog;
import com.glsx.smart.dao.entity.SmartKeyCommandLogExample;
import com.glsx.smart.dao.mapper.SmartKeyCommandLogMapper;
import com.glsx.smart.service.SmartKeyCommandLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SmartKeyCommandLogServiceImpl implements SmartKeyCommandLogService {

    @Resource
    private SmartKeyCommandLogMapper smartKeyCommandLogMapper;

    @Override
    public long countByExample(SmartKeyCommandLogExample example) {
        return smartKeyCommandLogMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SmartKeyCommandLogExample example) {
        return smartKeyCommandLogMapper.deleteByExample(example);
    }

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

    @Override
    public int insert(SmartKeyCommandLog record) {
        return smartKeyCommandLogMapper.insert(record);
    }

    @Override
    public int insertSelective(SmartKeyCommandLog record) {
        return smartKeyCommandLogMapper.insertSelective(record);
    }

    @Override
    public List<SmartKeyCommandLog> selectByExample(SmartKeyCommandLogExample example) {
        return smartKeyCommandLogMapper.selectByExample(example);
    }

    @Override
    public SmartKeyCommandLog selectByPrimaryKey(Long id) {
        return smartKeyCommandLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SmartKeyCommandLog record, SmartKeyCommandLogExample example) {
        return smartKeyCommandLogMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(SmartKeyCommandLog record, SmartKeyCommandLogExample example) {
        return smartKeyCommandLogMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(SmartKeyCommandLog record) {
        return smartKeyCommandLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SmartKeyCommandLog record) {
        return smartKeyCommandLogMapper.updateByPrimaryKey(record);
    }

}