package pwc.taxtech.atms.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entity.Cache;
import pwc.taxtech.atms.entity.CacheExample;

@Mapper
public interface CacheMapper extends MyMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cache
     *
     * @mbg.generated
     */
    long countByExample(CacheExample example);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cache
     *
     * @mbg.generated
     */
    List<Cache> selectByExampleWithRowbounds(CacheExample example, RowBounds rowBounds);

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

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

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

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

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

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