package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.WarningInfoDay;
import com.gyee.frame.model.auto.WarningInfoDayExample;
import com.gyee.frame.model.custom.SawVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

    List<SawVo> getWarningInfoDayByWarningid(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("order") String order);

    List<SawVo> getWarningInfoDayByWarningClassify(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("order") String order);

    List<SawVo> getWarningInfoDayByManufacturer(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("order") String order);

}