package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseLogistics;
import com.bailuntec.domain.example.DcBaseLogisticsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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