package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallRegionProvince;
import org.linlinjava.litemall.db.domain.LitemallRegionProvinceExample;

public interface LitemallRegionProvinceMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    long countByExample(LitemallRegionProvinceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int deleteByExample(LitemallRegionProvinceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int deleteByPrimaryKey(Integer code);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int insert(LitemallRegionProvince record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int insertSelective(LitemallRegionProvince record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    List<LitemallRegionProvince> selectByExample(LitemallRegionProvinceExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    LitemallRegionProvince selectByPrimaryKey(Integer code);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int updateByExampleSelective(@Param("record") LitemallRegionProvince record, @Param("example") LitemallRegionProvinceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int updateByExample(@Param("record") LitemallRegionProvince record, @Param("example") LitemallRegionProvinceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int updateByPrimaryKeySelective(LitemallRegionProvince record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_region_province
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    int updateByPrimaryKey(LitemallRegionProvince record);

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

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