fix: 【数据导出中心】修复通过仪表板导出的 Excel 在数据导出中心的进度条没有加载动画

This commit is contained in:
taojinlong
2026-02-25 15:35:39 +08:00
committed by taojinlong
parent 4ee780cb49
commit fab8e2e81a

View File

@@ -516,7 +516,7 @@ public class ExportCenterDownLoadManage {
details.clear();
}
exportTask.setExportStatus("IN_PROGRESS");
double exportProgress = (double) (i / (chartViewDTO.getTotalPage() + 1));
double exportProgress = (double) ((double) i / (chartViewDTO.getTotalPage()));
DecimalFormat df = new DecimalFormat("#.##");
String formattedResult = df.format((exportProgress) * 100);
exportTask.setExportProgress(formattedResult);