GlobalAward下载到浏览器

This commit is contained in:
litianxiang
2026-04-13 11:47:20 +08:00
parent 14002e7331
commit 029b96ae99
3 changed files with 75 additions and 86 deletions

View File

@@ -33,12 +33,12 @@ public interface GlobalAwardService {
void saveContestantsToLocal() throws Exception;
/**
* 根据参赛者编号范围导出参赛者文件到本地目录
* 将参赛者文件打包为 ZIP 并返回字节数组(不落盘,直接响应给浏览器)
* @param minContestantNumber 最小参赛者编号
* @param maxContestantNumber 最大参赛者编号
* @return 导出的参赛者数量
* @return ZIP 文件的字节数组
*/
int exportContestantFiles(Integer minContestantNumber, Integer maxContestantNumber) throws Exception;
byte[] exportContestantFilesAsZip(Integer minContestantNumber, Integer maxContestantNumber) throws Exception;
/**
* 查询参赛者总数