From b1d0eae0b98ca29089b30ab62e2c34606a6b304a Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期三, 08 一月 2020 14:48:02 +0800 Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div --- utils/src/main/java/org/yeshi/utils/JsonUtil.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/src/main/java/org/yeshi/utils/JsonUtil.java b/utils/src/main/java/org/yeshi/utils/JsonUtil.java index ff23e1f..b348599 100644 --- a/utils/src/main/java/org/yeshi/utils/JsonUtil.java +++ b/utils/src/main/java/org/yeshi/utils/JsonUtil.java @@ -12,9 +12,6 @@ import java.util.Map; import java.util.Set; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.JavaType; -import com.fasterxml.jackson.databind.ObjectMapper; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; @@ -202,7 +199,8 @@ desc = (nowDay - oldDay) + "澶╁墠"; } out.value(desc); - } + } else + out.value(""); } @Override -- Gitblit v1.8.0