package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzMallNotice;
import org.linlinjava.jz.db.domain.JzMallNoticeExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_mall_notice
     *
     * @mbg.generated
     */
    JzMallNotice selectOneByExample(JzMallNoticeExample example);

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

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

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

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

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

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

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

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

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

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

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

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