From d6d5d6ea4905c59423145320baaaa8b90aa5bd7a Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Fri, 21 Sep 2018 15:24:58 +0800
Subject: [PATCH] 更新 地图地区code 条件,增加 乡镇社区入口

---
 src/main/java/com/moral/common/convert/StringToDateConverter.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/moral/common/convert/StringToDateConverter.java b/src/main/java/com/moral/common/convert/StringToDateConverter.java
index 0b16948..e999880 100644
--- a/src/main/java/com/moral/common/convert/StringToDateConverter.java
+++ b/src/main/java/com/moral/common/convert/StringToDateConverter.java
@@ -25,7 +25,7 @@
     public Date convert(String source) {
         try {
             if(StringUtils.isNullOrEmpty(source)){
-                throw new BusinessException(String.format("parser %s to Date fail", source));
+                return  null;
             }
             if(StringUtils.isNumericZidai(source)) {
                 source = source.length() == 10 ? source+"000" : source;
@@ -40,7 +40,6 @@
             e.printStackTrace();
             log.error(e.getMessage());
         }
-
         return null;
     }
 

--
Gitblit v1.8.0