package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Analysissubtablebottom;
import com.gyee.frame.model.auto.AnalysissubtablebottomExample;

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

import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ANALYSISSUBTABLEBOTTOM
     *
     * @mbg.generated
     */
    Analysissubtablebottom selectByPrimaryKey(Short id);

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

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

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

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

    /**
     * 更具时间获取日上网电量
     * @return
     */
    List<Map> selectByRecorddateGrop(@Param("startTs")String startTs, @Param("endTs")String endTs, @Param("wpid")String wpid,@Param("point")String [] point);
}