Commit 133383aaa58729584af53c057e123962bb01c251
1 parent
caf2d1db3c
Exists in
master
and in
6 other branches
服务
Showing 2 changed files with 12 additions and 4 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/model/HospitalServiceContent.java
View file @
133383a
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 | import java.util.ArrayList; |
5 | 5 | import java.util.Date; |
6 | 6 | import java.util.List; |
7 | +import java.util.Map; | |
7 | 8 | |
8 | 9 | /** |
9 | 10 | * 医院服务配置 |
... | ... | @@ -45,7 +46,7 @@ |
45 | 46 | /** |
46 | 47 | * 医生集合 |
47 | 48 | */ |
48 | - private List<String> doctIds = new ArrayList<>(); | |
49 | + private List<Map> doctIds = new ArrayList<>(); | |
49 | 50 | private Integer syncStatus; |
50 | 51 | |
51 | 52 | public Integer getSyncStatus() { |
52 | 53 | |
... | ... | @@ -79,11 +80,11 @@ |
79 | 80 | this.serTypes = serTypes; |
80 | 81 | } |
81 | 82 | |
82 | - public List<String> getDoctIds() { | |
83 | + public List<Map> getDoctIds() { | |
83 | 84 | return doctIds; |
84 | 85 | } |
85 | 86 | |
86 | - public void setDoctIds(List<String> doctIds) { | |
87 | + public void setDoctIds(List<Map> doctIds) { | |
87 | 88 | this.doctIds = doctIds; |
88 | 89 | } |
89 | 90 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
133383a
... | ... | @@ -150,7 +150,14 @@ |
150 | 150 | for (HospitalDoctService hds : hospitalDoctServiceList) { |
151 | 151 | HospitalServiceContent hsc = hscMap.get(hds.getHospServiceId()); |
152 | 152 | if (hsc != null) { |
153 | - hsc.getDoctIds().add(hds.getDoctId()); | |
153 | + String docId = hds.getDoctId(); | |
154 | + Map dmap = new HashMap(); | |
155 | + dmap.put("doctorId",docId); | |
156 | + dmap.put("doctorPrice",hds.getDoctPrice()); | |
157 | + dmap.put("devicePrice",hds.getDevicePrice()); | |
158 | + dmap.put("deviceCon",hds.getDeviceCon()); | |
159 | + | |
160 | + hsc.getDoctIds().add(dmap); | |
154 | 161 | } |
155 | 162 | } |
156 | 163 |