From cd512a7125859a6b2ef418a41b874ec92ad49070 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 29 十月 2024 15:10:03 +0800
Subject: [PATCH] 修改密码接口校验旧密码方法修改。

---
 Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java b/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java
index 2ed445e..34712cd 100644
--- a/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java
+++ b/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java
@@ -871,7 +871,7 @@
 	 * @return 鏁版嵁鍒楄〃
 	 * @throws VciBaseException 鎵ц鍑洪敊鐨勬椂鍊欎細鎶涘嚭寮傚父
 	 */
-	public static  List<SheetDataSet> readDataObjectFromExcel(File file) throws VciBaseException {
+	public static List<SheetDataSet> readDataObjectFromExcel(File file) throws VciBaseException {
 		return readDataObjectFromExcel(file, SheetDataSet.class);
 	}
 
@@ -997,6 +997,7 @@
 		try {
 			for (int sheetIndex = 0; sheetIndex < workbook.getNumberOfSheets(); sheetIndex++) {
 				Sheet sheet = workbook.getSheetAt(sheetIndex);
+				String sheetName=sheet.getSheetName();
 				if(StringUtils.isNotBlank(excelOption.getSheetName())){
 					if(!sheet.getSheetName().equalsIgnoreCase(excelOption.getSheetName())){
 						continue;

--
Gitblit v1.10.0