package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseOmsOrder;
import com.bailuntec.domain.example.DcBaseOmsOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    void logicDeleteOmsPick(DcBaseOmsOrder dcBaseOmsOrder);
}