From 6aaa98f243edf416bc9718d06f026d0373a88f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BA=86=E7=A5=A5?= Date: Mon, 2 Jun 2025 16:13:38 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E8=B0=83=E8=AF=95=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E4=B8=8D=E6=88=90=E5=8A=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/dromara/common/excel/utils/ExcelUtil.java | 6 +++--- .../src/main/resources/mapper/system/SysPostMapper.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-common/ruoyi-common-excel/src/main/java/org/dromara/common/excel/utils/ExcelUtil.java b/ruoyi-common/ruoyi-common-excel/src/main/java/org/dromara/common/excel/utils/ExcelUtil.java index 18e9fcb46..5ec675bbd 100644 --- a/ruoyi-common/ruoyi-common-excel/src/main/java/org/dromara/common/excel/utils/ExcelUtil.java +++ b/ruoyi-common/ruoyi-common-excel/src/main/java/org/dromara/common/excel/utils/ExcelUtil.java @@ -930,9 +930,9 @@ public class ExcelUtil { String imagePath = Convert.toStr(value); if (StringUtils.isNotEmpty(imagePath)) { - byte[] data = ImageUtils.getImage(imagePath); - getDrawingPatriarch(cell.getSheet()).createPicture(anchor, - cell.getSheet().getWorkbook().addPicture(data, getImageType(data))); +// byte[] data = ImageUtils.getImage(imagePath); +// getDrawingPatriarch(cell.getSheet()).createPicture(anchor, +// cell.getSheet().getWorkbook().addPicture(data, getImageType(data))); } } } diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml index 065437a0d..322403f68 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml @@ -2,7 +2,7 @@ - +