Explorar el Código

读取info-point-new不添加空值

lirong hace 3 años
padre
commit
20a565879b

+ 2 - 1
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/ExcelCommonUtil.java

@@ -286,9 +286,10 @@ public class ExcelCommonUtil {
 				String cellValue = GetCellValue(cell);
 				if (cellValue != null && cellValue.trim().length() > 0) {
 					value = cellValue.trim();
+					result.titleColList.add(value);
 				}
 			}
-			result.titleColList.add(value);
+//			result.titleColList.add(value);
 		}
 
 		for (int index_row = row_from + 1; index_row <= row_to; index_row++) {