ExcelImport

This commit is contained in:
MaxKey
2021-11-17 09:35:55 +08:00
parent ba9b6ff9f9
commit 7270a1fc1c
3 changed files with 161 additions and 161 deletions

View File

@@ -5,6 +5,7 @@ import java.text.SimpleDateFormat;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.ss.usermodel.Row;
public class ExcelUtils {
@@ -32,4 +33,8 @@ public class ExcelUtils {
return String.valueOf(cell.getStringCellValue().trim());
}
}
public static String getValue(Row row,int i) {
return getValue(row.getCell(i));
}
}