package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoDailyRedundance;
import com.bailuntec.domain.example.DcAutoDailyRedundanceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_daily_redundance
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    DcAutoDailyRedundance selectOneByExample(DcAutoDailyRedundanceExample example);

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_daily_redundance
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsert(DcAutoDailyRedundance record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_daily_redundance
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsertSelective(DcAutoDailyRedundance record);
}