package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzDmLabel;
import org.linlinjava.jz.db.domain.JzDmLabelExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_label
     *
     * @mbg.generated
     */
    JzDmLabel selectOneByExample(JzDmLabelExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_label
     *
     * @mbg.generated
     */
    JzDmLabel selectOneByExampleSelective(@Param("example") JzDmLabelExample example, @Param("selective") JzDmLabel.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_label
     *
     * @mbg.generated
     */
    List<JzDmLabel> selectByExampleSelective(@Param("example") JzDmLabelExample example, @Param("selective") JzDmLabel.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_label
     *
     * @mbg.generated
     */
    JzDmLabel selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") JzDmLabel.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_label
     *
     * @mbg.generated
     */
    JzDmLabel selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_label
     *
     * @mbg.generated
     */
    int logicalDeleteByExample(@Param("example") JzDmLabelExample example);

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