package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.ActivePowerData;
import com.gyee.frame.model.auto.ActivePowerDataExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivePowerDataMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    long countByExample(ActivePowerDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int deleteByExample(ActivePowerDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int insert(ActivePowerData record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int insertSelective(ActivePowerData record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    List<ActivePowerData> selectByExample(ActivePowerDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    ActivePowerData selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ActivePowerData record, @Param("example") ActivePowerDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ActivePowerData record, @Param("example") ActivePowerDataExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ActivePowerData record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table activepowerdata
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ActivePowerData record);
}