Commit f7d66e9d4b28e3707cee350e4621c0884a94cfea
1 parent
eb2724efe8
Exists in
master
and in
6 other branches
隆化-儿保登记统计,搜索框地址问题
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java
View file @
f7d66e9
... | ... | @@ -18,6 +18,7 @@ |
18 | 18 | import com.lyms.platform.operate.web.service.PatientWeightService; |
19 | 19 | import com.lyms.platform.operate.web.service.impl.BaseServiceImpl; |
20 | 20 | import com.lyms.platform.operate.web.utils.CollectionUtils; |
21 | +import com.lyms.platform.operate.web.utils.CommonsHelper; | |
21 | 22 | import com.lyms.platform.operate.web.utils.MongoUtil; |
22 | 23 | import com.lyms.platform.permission.dao.master.CouponMapper; |
23 | 24 | import com.lyms.platform.permission.model.*; |
... | ... | @@ -202,7 +203,9 @@ |
202 | 203 | babyMap.put("sex", SexEnum.getTextById(babyModel.getSex())); |
203 | 204 | babyMap.put("birth", DateUtil.getyyyy_MM_dd(babyModel.getBirth())); |
204 | 205 | babyMap.put("mname", babyModel.getMname()); |
205 | - babyMap.put("address", babyModel.getAddress()); | |
206 | + String liveAddress = CommonsHelper.getResidence(babyModel.getProvinceId(), babyModel.getCityId(), | |
207 | + babyModel.getAreaId(), babyModel.getStreetId(), babyModel.getAddress(), basicConfigService); | |
208 | + babyMap.put("address", liveAddress); | |
206 | 209 | babyMap.put("mphone", babyModel.getMphone()); |
207 | 210 | row.put("baby", babyMap); |
208 | 211 | // ids.add(babyModel.getId()); |