解决文本中日期类型的数据为空时转换报错的问题

This commit is contained in:
Cheng Fei 2021-01-31 23:26:32 +08:00
parent 754fe7b111
commit db395d4300
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ public class UnstructuredStorageReaderUtil {
break;
case DATE:
try {
if (columnValue == null) {
if(StringUtils.isBlank(columnValue)) {
Date date = null;
columnGenerated = new DateColumn(date);
} else {