package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoWeekSales;
import com.bailuntec.domain.example.DcAutoWeekSalesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int warehouseUpsertSelective(DcAutoWeekSales record);
}