Commit 19d15f344f7a820e898cbbedcbb6b210b2ace178
1 parent
5caed91044
Exists in
master
and in
1 other branch
add lis pacs check query
Showing 1 changed file with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/v1/HisService.java
View file @
19d15f3
| ... | ... | @@ -41,15 +41,15 @@ |
| 41 | 41 | Collections.sort(list, new Comparator() { |
| 42 | 42 | public int compare(Object a, Object b) { |
| 43 | 43 | if (((CheckResponse)a).getModified() == null) { |
| 44 | - return 0; | |
| 44 | + return 1; | |
| 45 | 45 | } |
| 46 | 46 | if (((CheckResponse)b).getModified() == null) { |
| 47 | - return 0; | |
| 47 | + return 1; | |
| 48 | 48 | } |
| 49 | 49 | if (((CheckResponse)a).getModified().before(((CheckResponse)a).getModified())) { |
| 50 | - return 1; | |
| 50 | + return 0; | |
| 51 | 51 | } |
| 52 | - return 0; | |
| 52 | + return 1; | |
| 53 | 53 | } |
| 54 | 54 | }); |
| 55 | 55 | for (CheckResponse check:list) { |