package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseOmsHandle;
import com.bailuntec.domain.example.DcBaseOmsHandleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    DcBaseOmsHandle getOrderBailunCatagory(@Param("bailunSku") String bailunSku);
}