package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzCampaignFilter;
import org.linlinjava.jz.db.domain.JzCampaignFilterExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign_filter
     *
     * @mbg.generated
     */
    JzCampaignFilter selectOneByExample(JzCampaignFilterExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign_filter
     *
     * @mbg.generated
     */
    JzCampaignFilter selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign_filter
     *
     * @mbg.generated
     */
    int logicalDeleteByExample(@Param("example") JzCampaignFilterExample example);

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