Commit 307ac3a38a96f9355e595c2257f8b8bb4c464261
1 parent
9df4697775
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 6 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
307ac3a
| ... | ... | @@ -3789,9 +3789,9 @@ |
| 3789 | 3789 | MatDeliverAddRequest.Placenta placenta = (MatDeliverAddRequest.Placenta) obj; |
| 3790 | 3790 | //胎方位 |
| 3791 | 3791 | if (StringUtils.isNotEmpty(placenta.getFetalPosition())) { |
| 3792 | - for (FetalPositionEnums fetalPositionEnums : FetalPositionEnums.values()) { | |
| 3793 | - if (fetalPositionEnums.getId().equals(placenta.getFetalPosition())) { | |
| 3794 | - fetalPosition += fetalPositionEnums.getName(); | |
| 3792 | + for (FetalPositionCDEnums fetalPositionCDEnums : FetalPositionCDEnums.values()) { | |
| 3793 | + if (fetalPositionCDEnums.getId().equals(placenta.getFetalPosition())) { | |
| 3794 | + fetalPosition += fetalPositionCDEnums.getName(); | |
| 3795 | 3795 | break; |
| 3796 | 3796 | } |
| 3797 | 3797 | } |
| ... | ... | @@ -3811,9 +3811,9 @@ |
| 3811 | 3811 | Map <String, String> placenta = JsonUtil.getMap(obj.toString()); |
| 3812 | 3812 | if (MapUtils.isNotEmpty(placenta)) { |
| 3813 | 3813 | if (placenta.get("fetalPosition") != null) { |
| 3814 | - for (FetalPositionEnums fetalPositionEnums : FetalPositionEnums.values()) { | |
| 3815 | - if (fetalPositionEnums.getId().equals(placenta.get("fetalPosition"))) { | |
| 3816 | - fetalPosition += fetalPositionEnums.getName(); | |
| 3814 | + for (FetalPositionCDEnums fetalPositionCDEnums : FetalPositionCDEnums.values()) { | |
| 3815 | + if (fetalPositionCDEnums.getId().equals(placenta.get("fetalPosition"))) { | |
| 3816 | + fetalPosition += fetalPositionCDEnums.getName(); | |
| 3817 | 3817 | break; |
| 3818 | 3818 | } |
| 3819 | 3819 | } |