package cn.exploring.engine.server.db.dao;

import cn.exploring.engine.server.db.domain.AdminSystem;
import cn.exploring.engine.server.db.domain.AdminSystemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table admin_system
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    AdminSystem selectOneByExampleSelective(@Param("example") AdminSystemExample example, @Param("selective") AdminSystem.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table admin_system
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<AdminSystem> selectByExampleSelective(@Param("example") AdminSystemExample example, @Param("selective") AdminSystem.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table admin_system
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    AdminSystem selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") AdminSystem.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table admin_system
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    AdminSystem selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table admin_system
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") AdminSystemExample example);

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