From fab8e2e81abb269855341ae9e2e3a3f6ac1ab0de Mon Sep 17 00:00:00 2001 From: taojinlong Date: Wed, 25 Feb 2026 15:35:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90=E6=95=B0=E6=8D=AE=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E4=B8=AD=E5=BF=83=E3=80=91=E4=BF=AE=E5=A4=8D=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=AF=BC=E5=87=BA=E7=9A=84?= =?UTF-8?q?=20Excel=20=E5=9C=A8=E6=95=B0=E6=8D=AE=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E7=9A=84=E8=BF=9B=E5=BA=A6=E6=9D=A1=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=8A=A0=E8=BD=BD=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exportCenter/manage/ExportCenterDownLoadManage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-backend/src/main/java/io/dataease/exportCenter/manage/ExportCenterDownLoadManage.java b/core/core-backend/src/main/java/io/dataease/exportCenter/manage/ExportCenterDownLoadManage.java index 8cac8daf79..d2c42666d6 100644 --- a/core/core-backend/src/main/java/io/dataease/exportCenter/manage/ExportCenterDownLoadManage.java +++ b/core/core-backend/src/main/java/io/dataease/exportCenter/manage/ExportCenterDownLoadManage.java @@ -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);