package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzDmChannel;
import org.linlinjava.jz.db.domain.JzDmChannelExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_channel
     *
     * @mbg.generated
     */
    JzDmChannel selectOneByExample(JzDmChannelExample example);

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

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

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

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

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

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

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

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

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

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

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

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