package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallRegionCity;
import org.linlinjava.litemall.db.domain.LitemallRegionCityExample;

public interface LitemallRegionCityMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    long countByExample(LitemallRegionCityExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int deleteByExample(LitemallRegionCityExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int deleteByPrimaryKey(Integer code);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int insert(LitemallRegionCity record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int insertSelective(LitemallRegionCity record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    List<LitemallRegionCity> selectByExample(LitemallRegionCityExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    LitemallRegionCity selectByPrimaryKey(Integer code);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByExampleSelective(@Param("record") LitemallRegionCity record, @Param("example") LitemallRegionCityExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByExample(@Param("record") LitemallRegionCity record, @Param("example") LitemallRegionCityExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByPrimaryKeySelective(LitemallRegionCity record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_city
     *
     * @mbg.generated Sat Apr 07 10:22:31 CST 2018
     */
    int updateByPrimaryKey(LitemallRegionCity record);

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

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