package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcConfigForecastSales;
import com.bailuntec.domain.example.DcConfigForecastSalesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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