1
This commit is contained in:
@@ -2,6 +2,9 @@ package com.ruoyi.jarvis.mapper;
|
||||
|
||||
import com.ruoyi.jarvis.domain.TencentDocOperationLog;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 腾讯文档操作日志Mapper接口
|
||||
@@ -17,5 +20,22 @@ public interface TencentDocOperationLogMapper {
|
||||
* @return 结果
|
||||
*/
|
||||
int insertLog(TencentDocOperationLog log);
|
||||
|
||||
/**
|
||||
* 查询操作日志列表
|
||||
*
|
||||
* @param log 操作日志
|
||||
* @return 操作日志集合
|
||||
*/
|
||||
List<TencentDocOperationLog> selectLogList(TencentDocOperationLog log);
|
||||
|
||||
/**
|
||||
* 查询最近的操作日志
|
||||
*
|
||||
* @param fileId 文件ID
|
||||
* @param limit 限制数量
|
||||
* @return 操作日志集合
|
||||
*/
|
||||
List<TencentDocOperationLog> selectRecentLogs(@Param("fileId") String fileId, @Param("limit") int limit);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user