Parcourir la source

feat:邮件解析-去掉千分位符号

mozuwen il y a 7 mois
Parent
commit
27bd2a843f

+ 1 - 1
service-base/src/main/java/com/simuwang/base/common/util/ExcelUtil.java

@@ -210,7 +210,7 @@ public class ExcelUtil {
                 break;
         }
         // 去掉换行符号
-        cellValue = StrUtil.isNotBlank(cellValue) ? cellValue.replaceAll("[\\r\\n]+", "").trim() : "";
+        cellValue = StrUtil.isNotBlank(cellValue) ? cellValue.replaceAll("[\\r\\n]+", "").replaceAll(",","").trim() : "";
         return cellValue;
     }