package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzCampaignAssigned;
import org.linlinjava.jz.db.domain.JzCampaignAssignedExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign_assigned
     *
     * @mbg.generated
     */
    JzCampaignAssigned selectOneByExample(JzCampaignAssignedExample example);

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

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

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

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

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

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

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

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

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

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

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