From ec627704b2793a02d176f177a88a244ba4f53495 Mon Sep 17 00:00:00 2001 From: "yuhong0206@sina.cn" Date: Mon, 29 Mar 2021 08:58:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java index 15612b9a..dcba68e0 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java @@ -229,10 +229,6 @@ public class ExcelUtil { // 从第2行开始取数据,默认第一行是表头. Row row = sheet.getRow(i); - if(row == null) - { - continue; - } T entity = null; for (Map.Entry entry : fieldsMap.entrySet()) {