Commit f616167b31367b7ceff85aed33cd3a18bdd3779c
1 parent
d49deba6ba
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/StringUtils.java
View file @
f616167
... | ... | @@ -343,7 +343,7 @@ |
343 | 343 | |
344 | 344 | |
345 | 345 | public static String unitHandle(Object value, String unit) { |
346 | - if (value == null || "/".equals(value)) { | |
346 | + if (value == null || !StringUtils.isNotEmpty(value.toString()) || "/".equals(value)) { | |
347 | 347 | return null; |
348 | 348 | } |
349 | 349 | return value.toString() + unit; |