Commit 21ebacb1db6a2c0cdf9500f24f8563b056fd0e88

Authored by jiangjiazhi

Merge remote-tracking branch 'origin/master'

Showing 1 changed file

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LisFacade.java View file @ 21ebacb
... ... @@ -594,8 +594,7 @@
594 594 query.setPage(page);
595 595 query.setLimit(limit);
596 596 query.setNeed("true");
597   -// query.setSort(" CHECK_TIME,ID DESC ");
598   - query.setSort(" PUBLISH_TIME DESC ");
  597 + query.setSort(" APPLY_TIME DESC ");
599 598  
600 599 query.setPhones(phones);
601 600 query.setVcCardNos(vcCardNos);
... ... @@ -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 {