This commit is contained in:
dzc committed 2026-02-04 16:28:45 +08:00
1 parent 789d4071e8
commit cc19707f29
1 file changed
+8
@@ -1,6 +1,7 @@
package com.bsd.pjcloud.wallet.controller;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.thread.ThreadUtil;
import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bsd.pjcloud.common.core.util.R;
@@ -32,6 +33,7 @@ import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.concurrent.TimeUnit;
/**
* 会员钱包流水表
@@ -254,6 +256,12 @@ public class WalletTransactionController {
Long count = walletTransactionMapper.count(dto, dataScope);
if (count > 3 * 10000) throw new RuntimeException("导出数据超出30000条,请缩小查询范围");
try {
ThreadUtil.sleep(10000, TimeUnit.SECONDS);
} catch (Exception e) {
}
walletTransactionService.exportByTemplate(response, dto, count, "file/个人充值明细.xlsx", dataScope);
}