package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseCompanyStaff;
import com.bailuntec.domain.example.DcBaseCompanyStaffExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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