|
@@ -745,7 +745,9 @@ public class DateUtil_N {
|
|
|
SimpleDateFormat format = new SimpleDateFormat(DATEFORMATALL);
|
|
SimpleDateFormat format = new SimpleDateFormat(DATEFORMATALL);
|
|
|
Date date = null;
|
|
Date date = null;
|
|
|
try {
|
|
try {
|
|
|
- date = format.parse(str);
|
|
|
|
|
|
|
+ if(StringUtils.isNotBlank(str)){
|
|
|
|
|
+ date = format.parse(str);
|
|
|
|
|
+ }
|
|
|
} catch (ParseException e) {
|
|
} catch (ParseException e) {
|
|
|
logger.info(e.getMessage());
|
|
logger.info(e.getMessage());
|
|
|
}
|
|
}
|