于紫祥_1901
2020-10-10 1b4c6718db46841cbfff33b26336f3d1e5cb19d4
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;
    }