添加新群号:104180207

This commit is contained in:
RuoYi
2020-04-28 12:05:52 +08:00
parent e7ac78535d
commit aa23ef1e99
2 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@ public class ExcelUtil<T>
for (int i = 0; i < heard.getPhysicalNumberOfCells(); i++)
{
Cell cell = heard.getCell(i);
if (StringUtils.isNotNull(cell != null))
if (StringUtils.isNotNull(cell))
{
String value = this.getCellValue(heard, i).toString();
cellMap.put(value, i);
@ -827,7 +827,7 @@ public class ExcelUtil<T>
try
{
Cell cell = row.getCell(column);
if (cell != null)
if (StringUtils.isNotNull(cell))
{
if (cell.getCellTypeEnum() == CellType.NUMERIC || cell.getCellTypeEnum() == CellType.FORMULA)
{