fix: 78242
国内标准--导入--导入正常文件报错
This commit is contained in:
@@ -150,7 +150,7 @@ public class ImportUtil {
|
|||||||
standardClass = cell.toString().trim();
|
standardClass = cell.toString().trim();
|
||||||
}
|
}
|
||||||
if (FieldCommon.YEAR_NUMBER.equals(tag.getDbFieldName())) {
|
if (FieldCommon.YEAR_NUMBER.equals(tag.getDbFieldName())) {
|
||||||
if (cell == null) {
|
if (cell == null || StrUtil.isBlank(cell.toString().trim())) {
|
||||||
// 当前年
|
// 当前年
|
||||||
Calendar date = Calendar.getInstance();
|
Calendar date = Calendar.getInstance();
|
||||||
yearNumber = String.valueOf(date.get(Calendar.YEAR));
|
yearNumber = String.valueOf(date.get(Calendar.YEAR));
|
||||||
|
|||||||
Reference in New Issue
Block a user