于紫祥_1901
2020-08-12 19b06c5deda2a18d0c77b71ac5189d34c532b25e
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;
    }