package com.jsh.erp.datasource.mappers;

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

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

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

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

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

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

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

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

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

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

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

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