jinpengyong
2020-08-28 186ec9dcec258b3cead27c6874a828b9f48e1c8b
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;
    }