Commit fa8b76cd1edfe2ab91555ee5a51dee0d86391b07
1 parent
205b8ceabd
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
fa8b76c
| ... | ... | @@ -734,6 +734,7 @@ |
| 734 | 734 | data = convertToTwinsPatient(riskPatientsQueryRequest,patientses, userId, hospital); |
| 735 | 735 | } |
| 736 | 736 | } |
| 737 | + patientsQuery.mysqlBuild(data.size()); | |
| 737 | 738 | return new BaseListResponse().setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS).setData(data).setPageInfo(patientsQuery.getPageInfo()); |
| 738 | 739 | } |
| 739 | 740 | /** |
| 740 | 741 | |
| ... | ... | @@ -761,8 +762,10 @@ |
| 761 | 762 | if (type == 1) { |
| 762 | 763 | //处理全部孕妇的情况 |
| 763 | 764 | data = convertToRareList(riskPatientsQueryRequest,patientses, userId, hospital); |
| 765 | + | |
| 764 | 766 | } |
| 765 | 767 | } |
| 768 | + patientsQuery.mysqlBuild(data.size()); | |
| 766 | 769 | return new BaseListResponse().setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS).setData(data).setPageInfo(patientsQuery.getPageInfo()); |
| 767 | 770 | } |
| 768 | 771 | |
| ... | ... | @@ -899,7 +902,7 @@ |
| 899 | 902 | } |
| 900 | 903 | for (Future f : listFuture) { |
| 901 | 904 | try { |
| 902 | - data.addAll((List) f.get(30, TimeUnit.SECONDS)); | |
| 905 | + data.addAll((List) f.get(300, TimeUnit.SECONDS)); | |
| 903 | 906 | } catch (Exception e) { |
| 904 | 907 | ExceptionUtils.catchException(e, "convertToQuanPatient get result Future error."); |
| 905 | 908 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/RareListWorker.java
View file @
fa8b76c