package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Wobugeq;
import com.gyee.frame.model.auto.WobugeqExample;
import com.gyee.frame.model.custom.MainTrackVo;
import com.gyee.frame.model.custom.SimpleVo;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WOBUGEQ
     *
     * @mbg.generated
     */
    Wobugeq selectByPrimaryKey(Double id);

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

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

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

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


    List<Integer> getWtnum(@Param("wtId") String wtId);

    List<MainTrackVo> findDuration();

    List<SimpleVo> totalNum(@Param("beginDate") Date beginDate, @Param("endDate") Date endDate);


}