package com.pcloud.book.applet.dao;

import com.pcloud.book.applet.entity.ReadBookRecord;
import com.pcloud.common.core.dao.BaseDao;

import java.util.List;

/**
 * (ReadBookRecord)表数据库访问层
 *
 * @author makejava
 * @since 2021-02-04 15:33:43
 */
public interface ReadBookRecordDao extends BaseDao<ReadBookRecord> {

    /**
     * 更新访问时间
     * @param readBookRecord
     */
    void updateRecordTime(ReadBookRecord readBookRecord);

    /**
     *
     * @param readBookRecords
     */
    void batchUpdateRecordTime(List<ReadBookRecord> readBookRecords);
}