package com.gyee.frame.mapper.auto;

import com.gyee.frame.model.auto.Shutdownevent;
import com.gyee.frame.model.auto.ShutdowneventExample;
import com.gyee.frame.model.custom.SimpleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shutdownevent
     *
     * @mbg.generated
     */
    Shutdownevent selectByPrimaryKey(String id);

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

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

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

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

    List<SimpleVo> countStopByWp();
    List<SimpleVo> countStopByPj();
}