package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzCampaign;
import org.linlinjava.jz.db.domain.JzCampaignExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    JzCampaign selectOneByExample(JzCampaignExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    JzCampaign 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
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") JzCampaign record, @Param("example") JzCampaignExample example);

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

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

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

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

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