package cn.superdesk.uniorder.dao.mapper.marketing.department;

import cn.superdesk.uniorder.dao.entity.marketing.department.UnifiedArea;
import cn.superdesk.uniorder.dao.entity.marketing.department.UnifiedAreaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UnifiedAreaMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    long countByExample(UnifiedAreaExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int deleteByExample(UnifiedAreaExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int insert(UnifiedArea record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int insertSelective(UnifiedArea record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    List<UnifiedArea> selectByExample(UnifiedAreaExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    UnifiedArea selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int updateByExampleSelective(@Param("record") UnifiedArea record, @Param("example") UnifiedAreaExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int updateByExample(@Param("record") UnifiedArea record, @Param("example") UnifiedAreaExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int updateByPrimaryKeySelective(UnifiedArea record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table unified_area
     *
     * @mbg.generated Tue Nov 24 16:53:37 CST 2020
     */
    int updateByPrimaryKey(UnifiedArea record);
}