SmartKeyCommandShareLogServiceImpl.java 2.64 KB
package com.glsx.smart.service.impl;

import com.glsx.smart.dao.entity.SmartKeyCommandShareLog;
import com.glsx.smart.dao.entity.SmartKeyCommandShareLogExample;
import com.glsx.smart.dao.mapper.SmartKeyCommandShareLogMapper;
import com.glsx.smart.pojo.request.SmartCarKeyShareLogRequest;
import com.glsx.smart.service.SmartKeyCommandShareLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class SmartKeyCommandShareLogServiceImpl implements SmartKeyCommandShareLogService{

    @Resource
    private SmartKeyCommandShareLogMapper smartKeyCommandShareLogMapper;

    @Override
    public long countByExample(SmartKeyCommandShareLogExample example) {
        return smartKeyCommandShareLogMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SmartKeyCommandShareLogExample example) {
        return smartKeyCommandShareLogMapper.deleteByExample(example);
    }

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

    @Override
    public int insert(SmartKeyCommandShareLog record) {
        return smartKeyCommandShareLogMapper.insert(record);
    }

    @Override
    public int insertSelective(SmartKeyCommandShareLog record) {
        return smartKeyCommandShareLogMapper.insertSelective(record);
    }

    @Override
    public List<SmartKeyCommandShareLog> selectByExample(SmartKeyCommandShareLogExample example) {
        return smartKeyCommandShareLogMapper.selectByExample(example);
    }

    @Override
    public SmartKeyCommandShareLog selectByPrimaryKey(Long id) {
        return smartKeyCommandShareLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SmartKeyCommandShareLog record,SmartKeyCommandShareLogExample example) {
        return smartKeyCommandShareLogMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SmartKeyCommandShareLog record,SmartKeyCommandShareLogExample example) {
        return smartKeyCommandShareLogMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SmartKeyCommandShareLog record) {
        return smartKeyCommandShareLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SmartKeyCommandShareLog record) {
        return smartKeyCommandShareLogMapper.updateByPrimaryKey(record);
    }

    @Override
    public int insertBatch(List<SmartCarKeyShareLogRequest> lockingkeyActLogList) {
        return smartKeyCommandShareLogMapper.insertBatch(lockingkeyActLogList);
    }

}