Commit ea0c020c86f36794a9fd4fe8dcab0a51dd3d26df
1 parent
18102d549c
Exists in
master
and in
8 other branches
修改转诊
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
ea0c020
... | ... | @@ -1587,8 +1587,8 @@ |
1587 | 1587 | babyQuery.setBuildDateStart(DateUtil.parseYMD(dates[0])); |
1588 | 1588 | if(dates.length>=2){ |
1589 | 1589 | Date date= DateUtil.parseYMD(dates[1]); |
1590 | - if(dates[0].equals(dates[1])){ | |
1591 | - long d = DateUtil.parseYMD(dates[1]).getTime() + 86398000; | |
1590 | + if(null!=date){ | |
1591 | + long d = date.getTime() + 86398000; | |
1592 | 1592 | date = new Date(d); |
1593 | 1593 | } |
1594 | 1594 | babyQuery.setBuildDateEnd(date); |