Merge pull request #13175 from dataease/pr@dev-v2@fixds

fix: 修复导出试图数据失败
This commit is contained in:
taojinlong 2024-11-06 16:53:18 +08:00 committed by GitHub
commit 5c68103498
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -631,6 +631,7 @@ public class ExportCenterManage implements BaseExportApi {
boolean isCreated = directory.mkdir();
TokenUserBO tokenUserBO = AuthUtils.getUser();
Future future = scheduledThreadPoolExecutor.submit(() -> {
LicenseUtil.validate();
AuthUtils.setUser(tokenUserBO);
try {
exportTask.setExportStatus("IN_PROGRESS");