This commit is contained in:
2025-11-07 14:40:42 +08:00
parent b2b18972d7
commit 2409c8c819
12 changed files with 1086 additions and 5 deletions

View File

@@ -0,0 +1,45 @@
package com.ruoyi.jarvis.mapper;
import com.ruoyi.jarvis.domain.TencentDocBatchPushRecord;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 腾讯文档批量推送记录 Mapper
*/
public interface TencentDocBatchPushRecordMapper {
/**
* 插入批量推送记录
*/
int insertBatchPushRecord(TencentDocBatchPushRecord record);
/**
* 更新批量推送记录
*/
int updateBatchPushRecord(TencentDocBatchPushRecord record);
/**
* 根据批次ID查询
*/
TencentDocBatchPushRecord selectByBatchId(@Param("batchId") String batchId);
/**
* 查询批量推送记录列表
*/
List<TencentDocBatchPushRecord> selectBatchPushRecordList(TencentDocBatchPushRecord record);
/**
* 查询最近的推送记录
*/
List<TencentDocBatchPushRecord> selectRecentRecords(@Param("fileId") String fileId,
@Param("limit") int limit);
/**
* 查询最后一次成功的推送记录
*/
TencentDocBatchPushRecord selectLastSuccessRecord(@Param("fileId") String fileId,
@Param("sheetId") String sheetId);
}

View File

@@ -37,5 +37,13 @@ public interface TencentDocOperationLogMapper {
* @return 操作日志集合
*/
List<TencentDocOperationLog> selectRecentLogs(@Param("fileId") String fileId, @Param("limit") int limit);
/**
* 根据批次ID查询操作日志
*
* @param batchId 批次ID
* @return 操作日志集合
*/
List<TencentDocOperationLog> selectLogsByBatchId(@Param("batchId") String batchId);
}