Commit b6d8e3e053bb8ff5bc064d6ff6f40bc4fe3c3020
1 parent
e8ad82eec7
Exists in
master
and in
1 other branch
code update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
b6d8e3e
... | ... | @@ -1044,7 +1044,7 @@ |
1044 | 1044 | if (o1.getDate() != null && o1.getDate().after(o2.getDate())) { |
1045 | 1045 | return -1; |
1046 | 1046 | } |
1047 | - if (o1.getDate().before(o2.getDate())) { | |
1047 | + if (o1.getDate() != null && o1.getDate().before(o2.getDate())) { | |
1048 | 1048 | return 1; |
1049 | 1049 | } |
1050 | 1050 | return 0; |