Commit b87cda80463f607c1b6a0999d475e49b896ea39d

Authored by landong2015
1 parent 3a69792771

修改bp为空的情况

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/UnitUtils.java View file @ b87cda8
... ... @@ -12,7 +12,7 @@
12 12 * @return
13 13 */
14 14 public static String unitSplice(Object data,String unit){
15   - if (data==null){
  15 + if (data==null || "/".equals(data)){
16 16 return null;
17 17 }
18 18 return data.toString() + unit;