package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAverageWarehouse;
import com.bailuntec.domain.example.DcAverageWarehouseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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