fix: 78242

国内标准--导入--导入正常文件报错
This commit is contained in:
2023-11-07 16:13:27 +08:00
parent a46615f2c3
commit b191f48de1
@@ -150,7 +150,7 @@ public class ImportUtil {
standardClass = cell.toString().trim();
}
if (FieldCommon.YEAR_NUMBER.equals(tag.getDbFieldName())) {
if (cell == null) {
if (cell == null || StrUtil.isBlank(cell.toString().trim())) {
// 当前年
Calendar date = Calendar.getInstance();
yearNumber = String.valueOf(date.get(Calendar.YEAR));