fix: 77899
企业标准--导入--首尾没有去掉空格再校验
This commit is contained in:
@@ -78,7 +78,7 @@ public class ImportUtil {
|
||||
if (cell == null) {
|
||||
return errMsgList;
|
||||
}
|
||||
String cellValue = cell.toString();
|
||||
String cellValue = cell.toString().trim();
|
||||
|
||||
// 企标编号校验
|
||||
if (FieldCommon.STANDARD_NUMBER.equals(tag.getDbFieldName())) {
|
||||
@@ -399,7 +399,7 @@ public class ImportUtil {
|
||||
if (cell == null) {
|
||||
return false;
|
||||
}
|
||||
String cellValue = cell.toString();
|
||||
String cellValue = cell.toString().trim();
|
||||
return StrUtil.isNotBlank(cellValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user