fix: 77899

企业标准--导入--首尾没有去掉空格再校验
This commit is contained in:
2023-11-03 16:36:05 +08:00
parent f0f529525a
commit fd98641a3a
@@ -78,7 +78,7 @@ public class ImportUtil {
if (cell == null) { if (cell == null) {
return errMsgList; return errMsgList;
} }
String cellValue = cell.toString(); String cellValue = cell.toString().trim();
// 企标编号校验 // 企标编号校验
if (FieldCommon.STANDARD_NUMBER.equals(tag.getDbFieldName())) { if (FieldCommon.STANDARD_NUMBER.equals(tag.getDbFieldName())) {
@@ -399,7 +399,7 @@ public class ImportUtil {
if (cell == null) { if (cell == null) {
return false; return false;
} }
String cellValue = cell.toString(); String cellValue = cell.toString().trim();
return StrUtil.isNotBlank(cellValue); return StrUtil.isNotBlank(cellValue);
} }