package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseOmsSku30;
import com.bailuntec.domain.example.DcBaseOmsSku30Example;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int upsertByOmsSku(@Param("queryTime")String queryTime);

    void truncateTable();
}
