于紫祥_1901
2020-08-31 c3e1f9b9af29647bd157f2ea268bc56b2d3b9df1
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;
    }