package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoUprushConfig;
import com.bailuntec.domain.example.DcAutoUprushConfigExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

    DcAutoUprushConfig selectOneByWarehouse(@Param("warehouseCode") String warehouseCode, @Param("hqType") String hqType);

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

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

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

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

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

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

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

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