SmartVehicleBlueShareKeyMapper.java 1.74 KB
package com.glsx.smart.dao.mapper;

import com.glsx.smart.dao.entity.SmartVehicleBlueShareKey;
import com.glsx.smart.dao.entity.SmartVehicleBlueShareKeyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SmartVehicleBlueShareKeyMapper {
    long countByExample(SmartVehicleBlueShareKeyExample example);

    int deleteByExample(SmartVehicleBlueShareKeyExample example);

    /**
     * delete by primary key
     * @param id primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Long id);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(SmartVehicleBlueShareKey record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(SmartVehicleBlueShareKey record);

    List<SmartVehicleBlueShareKey> selectByExample(SmartVehicleBlueShareKeyExample example);

    /**
     * select by primary key
     * @param id primary key
     * @return object by primary key
     */
    SmartVehicleBlueShareKey selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmartVehicleBlueShareKey record, @Param("example") SmartVehicleBlueShareKeyExample example);

    int updateByExample(@Param("record") SmartVehicleBlueShareKey record, @Param("example") SmartVehicleBlueShareKeyExample example);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(SmartVehicleBlueShareKey record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(SmartVehicleBlueShareKey record);
}