update 优化 !pr345 代码结构

This commit is contained in:
疯狂的狮子Li
2023-05-13 23:28:57 +08:00
parent 72882374be
commit 0f5603aed4
7 changed files with 57 additions and 123 deletions

View File

@@ -52,6 +52,8 @@ public class ExcelEnumConvert implements Converter<Object> {
case BOOLEAN:
textValue = cellData.getBooleanValue();
break;
default:
throw new IllegalArgumentException("单元格类型异常!");
}
// 如果是空值
if (ObjectUtil.isNull(textValue)) {