Commit a23d1a933c6c5251e2853da0b496e4df72606112
1 parent
331447c4a8
Exists in
master
and in
8 other branches
修改
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PredictedStatisticsFacade.java
View file @
a23d1a9
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM"); |
55 | 55 | String ym = predictedStatisticsRequest.getDate(); |
56 | 56 | Date date; |
57 | - if (StringUtils.isEmpty(ym)) { | |
57 | + if (!StringUtils.isEmpty(ym)) { | |
58 | 58 | try { |
59 | 59 | date = simpleDateFormat.parse(predictedStatisticsRequest.getDate()); |
60 | 60 | } catch (Exception e) { |