package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.SysCity;
import org.linlinjava.jz.db.domain.SysCityExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_city
     *
     * @mbg.generated
     */
    SysCity selectOneByExample(SysCityExample example);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_city
     *
     * @mbg.generated
     */
    SysCity selectByPrimaryKey(Long id);

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

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

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

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