package org.linlinjava.jz.db.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzBuiltList;
import org.linlinjava.jz.db.domain.JzBuiltListExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_built_list
     *
     * @mbg.generated
     */
    JzBuiltList selectOneByExample(JzBuiltListExample example);

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

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

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

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

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

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

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

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

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


    List<Map<Object, Object>> getGroupCampaignCount(int userId);
}