Commit 91b18c53472e5e89a0ba1684c67704a83c53c665
1 parent
0c79a57801
Exists in
master
and in
8 other branches
1
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
91b18c5
... | ... | @@ -115,11 +115,13 @@ |
115 | 115 | patientsQuery.setCardNo(exListQueryRequest.getCardNo()); |
116 | 116 | patientsQuery.setYn(YnEnums.YES.getId()); |
117 | 117 | patientsQuery.setPhone(exListQueryRequest.getPhone()); |
118 | + AntexListResult antexListResult=new AntexListResult(); | |
118 | 119 | //获取所有的建档记录 |
119 | 120 | List<Patients> list = patientsService.queryPatient(patientsQuery); |
120 | 121 | List listDate = new ArrayList(); |
121 | 122 | int i = 0; |
122 | 123 | if (CollectionUtils.isNotEmpty(list)) { |
124 | + antexListResult.convertToResult(null,list.get(0),null); | |
123 | 125 | for (Patients patients : list) { |
124 | 126 | List<AntData> data = new ArrayList<>(); |
125 | 127 | MatDeliverQuery matDeliverQuery = new MatDeliverQuery(); |
126 | 128 | |
... | ... | @@ -182,9 +184,10 @@ |
182 | 184 | } |
183 | 185 | listDate.add(data); |
184 | 186 | } |
187 | + antexListResult.setData(listDate); | |
185 | 188 | } |
186 | 189 | |
187 | - return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(listDate); | |
190 | + return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(antexListResult); | |
188 | 191 | } |
189 | 192 | |
190 | 193 | /** |