Commit 63f475b69b69519ee36f03d08a8e2f29daec1e95
1 parent
eacddd516c
Exists in
master
and in
6 other branches
update code
Showing 2 changed files with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LisFacade.java
View file @
63f475b
... | ... | @@ -702,7 +702,10 @@ |
702 | 702 | final CopyOnWriteArraySet<String> patientIds = new CopyOnWriteArraySet<>(); |
703 | 703 | List<Map<String,String>> lists = new ArrayList<>(); |
704 | 704 | |
705 | + long start = System.currentTimeMillis(); | |
705 | 706 | List<LisReportModel> lises = lisService.queryLisDataByStatus(query); |
707 | + long end1 = System.currentTimeMillis(); | |
708 | + System.out.println(end1 - start); | |
706 | 709 | if (CollectionUtils.isNotEmpty(lises)) |
707 | 710 | { |
708 | 711 | Map<String, String> map = new HashMap<>(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/LisHandleTask.java
View file @
63f475b
... | ... | @@ -54,7 +54,10 @@ |
54 | 54 | String[] strs = new String[]{lisReportModel.getPhone(), lisReportModel.getVcCardNo()}; |
55 | 55 | patientsQuery.setPv(strs); |
56 | 56 | patientsQuery.setYn(YnEnums.YES.getId()); |
57 | + long start = System.currentTimeMillis(); | |
57 | 58 | List<Patients> list= patientsService.queryPatient1(patientsQuery, "modified"); |
59 | + long end = System.currentTimeMillis(); | |
60 | + System.out.println("patient time "+ (end-start)); | |
58 | 61 | if (CollectionUtils.isNotEmpty(list)) |
59 | 62 | { |
60 | 63 | StringBuffer sb = new StringBuffer(); |