package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcSemiOrder;
import com.bailuntec.domain.example.DcSemiOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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