Commit cea6df36508516b49afa1653723a72cd6194f572
1 parent
12d51fa2b9
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 1 additions and 17 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LisFacade.java
View file @
cea6df3
... | ... | @@ -594,7 +594,6 @@ |
594 | 594 | query.setPage(page); |
595 | 595 | query.setLimit(limit); |
596 | 596 | query.setNeed("true"); |
597 | -// query.setSort(" CHECK_TIME,ID DESC "); | |
598 | 597 | query.setSort(" APPLY_TIME DESC "); |
599 | 598 | |
600 | 599 | query.setPhones(phones); |
... | ... | @@ -604,22 +603,7 @@ |
604 | 603 | |
605 | 604 | Map<String,String> hospitalNames = getHospitalNames(hosptalIds); |
606 | 605 | lises = lisService.queryLisDataByQuery(query); |
607 | - System.out.println("patientIds==" + patientIds + "; lies siez = " + lises.size()); | |
608 | -// // 排序 | |
609 | -// Collections.sort(lises, new Comparator() { | |
610 | -// public int compare(Object a, Object b) { | |
611 | -// if (((LisReportModel) a).getCheckTime() == null) { | |
612 | -// return -1; | |
613 | -// } | |
614 | -// if (((LisReportModel) b).getCheckTime() == null) { | |
615 | -// return -1; | |
616 | -// } | |
617 | -// if (((LisReportModel) a).getCheckTime().before(((LisReportModel) a).getCheckTime())) { | |
618 | -// return 1; | |
619 | -// } | |
620 | -// return -1; | |
621 | -// } | |
622 | -// }); | |
606 | + System.out.println("patientIds==" + patientIds + "; lies size = " + lises.size()); | |
623 | 607 | |
624 | 608 | if (CollectionUtils.isNotEmpty(lises)) |
625 | 609 | { |