package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.WarningRecords;
import com.gyee.frame.model.auto.WarningRecordsExample;
import com.gyee.frame.model.custom.SimpleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

    List<SimpleVo> countWpwarnByWp();
    List<SimpleVo> countWpwarnByPj();
}