Commit 2a58c388d3159e0534f5fb5d1446ad25e6fac310
1 parent
43a22d480c
Exists in
master
and in
1 other branch
修改产检删除
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
2a58c38
... | ... | @@ -1107,10 +1107,10 @@ |
1107 | 1107 | return -1; |
1108 | 1108 | } |
1109 | 1109 | if (Integer.valueOf(o1.getType()) == Integer.valueOf(o2.getType())) { |
1110 | - if (o1.getCreated().after(o2.getCreated())) { | |
1110 | + if (o1.getCreated().getTime()<o2.getCreated().getTime()) { | |
1111 | 1111 | return 1; |
1112 | 1112 | } |
1113 | - if (o1.getCreated().before(o2.getCreated())) { | |
1113 | + if (o1.getCreated().getTime()>(o2.getCreated().getTime())) { | |
1114 | 1114 | return -1; |
1115 | 1115 | } |
1116 | 1116 | } |