package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoWarehouseweekSales;
import com.bailuntec.domain.example.DcAutoWarehouseweekSalesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

    DcAutoWarehouseweekSales selectOneByWeekDay(@Param("warehouseCode") String warehouseCode);

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

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

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

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

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

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

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

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