package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.UserBusiness;
import com.jsh.erp.datasource.entities.UserBusinessExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserBusinessMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int countByExample(UserBusinessExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int deleteByExample(UserBusinessExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int insert(UserBusiness record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int insertSelective(UserBusiness record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    List<UserBusiness> selectByExample(UserBusinessExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    UserBusiness selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(UserBusiness record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jsh_userbusiness
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(UserBusiness record);
}