package com.tax.token.mapper;

import com.tax.token.model.TkRealTokenLog;
import com.tax.token.model.TkRealTokenLogExample;
import com.tax.token.model.TkToken;
import com.tax.token.model.TokenReportReq;
import com.yxcheng.token.common.service.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TkRealTokenLogMapper extends BaseMapper<TkRealTokenLogExample,TkRealTokenLog> {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int countByExample(TkRealTokenLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int deleteByExample(TkRealTokenLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int insert(TkRealTokenLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int insertSelective(TkRealTokenLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    List<TkRealTokenLog> selectByExample(TkRealTokenLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    TkRealTokenLog selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int updateByExampleSelective(@Param("record") TkRealTokenLog record, @Param("example") TkRealTokenLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int updateByExample(@Param("record") TkRealTokenLog record, @Param("example") TkRealTokenLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int updateByPrimaryKeySelective(TkRealTokenLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_real_token_log
     *
     * @mbggenerated Fri Jun 03 17:29:20 CST 2022
     */
    int updateByPrimaryKey(TkRealTokenLog record);

    List<TkRealTokenLog> selectRealTokenListPage(TokenReportReq tokenReportReq);
}