Browse Source

批量导入空格去空格修改

KaixiangGuo 3 years ago
parent
commit
c4e9d7ecff

+ 1 - 1
abi-cloud-qr-platform-common/src/main/java/com/abi/task/common/excel/ExcelInputFactory.java

@@ -179,7 +179,7 @@ public class ExcelInputFactory {
                     }
                     //调用method
                     Method method = methodCache.get(fieldName);
-                    String str = value.toString().replaceAll(" ", "");
+                    String str = value.toString();
                     method.invoke(t,StrUtils.filterHtml(str));
                 }
                 excelPojoList.add(t);