Commit 8405143924386573c25d7a7aa3686c34f9b7a842
1 parent
834d2b727a
Exists in
master
and in
6 other branches
改字段
Showing 2 changed files with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
8405143
... | ... | @@ -643,7 +643,7 @@ |
643 | 643 | List<BabyModel> models = babyBookbuildingService.queryBabyBuildByCond(babyQuery); |
644 | 644 | if (models != null && models.size() > 0) { |
645 | 645 | model = models.get(0); |
646 | - base.setmHighRiskReason(mongoUtil.findNames(model.getmHighRiskReason())); | |
646 | + base.setmHighRiskReason(mongoUtil.findColor(model.getmHighRiskReason())); | |
647 | 647 | base.setBabyLastHighRisk(getBabyLastHighRisk(model.getPid())); |
648 | 648 | base.setId(id); |
649 | 649 | base.setSex(model.getSex()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyBasicResult.java
View file @
8405143
... | ... | @@ -8,13 +8,13 @@ |
8 | 8 | */ |
9 | 9 | public class BabyBasicResult { |
10 | 10 | |
11 | - private List<String> mHighRiskReason; | |
11 | + private List<Map<String,Object>> mHighRiskReason; | |
12 | 12 | |
13 | - public List<String> getmHighRiskReason() { | |
13 | + public List<Map<String,Object>> getmHighRiskReason() { | |
14 | 14 | return mHighRiskReason; |
15 | 15 | } |
16 | 16 | |
17 | - public void setmHighRiskReason(List<String> mHighRiskReason) { | |
17 | + public void setmHighRiskReason(List<Map<String,Object>> mHighRiskReason) { | |
18 | 18 | this.mHighRiskReason = mHighRiskReason; |
19 | 19 | } |
20 | 20 |