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.service;
import com.ruoyi.jarvis.domain.TencentDocBatchPushRecord;
import java.util.List;
import java.util.Map;
/**
* 腾讯文档批量推送记录服务
*/
public interface ITencentDocBatchPushService {
/**
* 创建批量推送记录
*/
String createBatchPushRecord(String fileId, String sheetId, String pushType,
String triggerSource, Integer startRow, Integer endRow);
/**
* 更新批量推送记录
*/
void updateBatchPushRecord(String batchId, String status, Integer successCount,
Integer skipCount, Integer errorCount, String resultMessage, String errorMessage);
/**
* 根据批次ID查询
*/
TencentDocBatchPushRecord getBatchPushRecord(String batchId);
/**
* 查询批量推送记录列表(带操作日志)
*/
List<TencentDocBatchPushRecord> getBatchPushRecordListWithLogs(String fileId, String sheetId, Integer limit);
/**
* 查询最后一次成功的推送记录
*/
TencentDocBatchPushRecord getLastSuccessRecord(String fileId, String sheetId);
/**
* 获取推送状态和倒计时信息
*/
Map<String, Object> getPushStatusAndCountdown();
}