Commit 97fc1be3863fe5e00b042aa98a5851a02d7472c4
1 parent
31a998f6dc
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 14 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEyeCheckServiceImpl.java
View file @
97fc1be
| ... | ... | @@ -206,6 +206,20 @@ |
| 206 | 206 | public BaseResponse addOrUpdateQhd(Integer userId, BabyEyeCheck babyEyeCheck) { |
| 207 | 207 | String hospitalId = autoMatchFacade.getHospitalId(userId); |
| 208 | 208 | |
| 209 | + if ("2".equals(babyEyeCheck.getEyeAppearance()) | |
| 210 | + || "2".equals(babyEyeCheck.getRedReflexQhd()) | |
| 211 | + || "2".equals(babyEyeCheck.getBlinkReflex()) | |
| 212 | + || "2".equals(babyEyeCheck.getRedBallTest()) | |
| 213 | + || "2".equals(babyEyeCheck.getBehaviorObservation()) | |
| 214 | + || "2".equals(babyEyeCheck.getRefractiveScreening()) | |
| 215 | + || "2".equals(babyEyeCheck.getEyePositionExamination()) | |
| 216 | + || "2".equals(babyEyeCheck.getEyeMovement()) ) { | |
| 217 | + //器械判定阳性 | |
| 218 | + babyEyeCheck.setApparatus("2"); | |
| 219 | + } else { | |
| 220 | + babyEyeCheck.setApparatus("1"); | |
| 221 | + } | |
| 222 | + | |
| 209 | 223 | //添加眼保健 |
| 210 | 224 | if (StringUtils.isEmpty(babyEyeCheck.getId())) { |
| 211 | 225 | if (!mongoUtil.buildArchive(userId, babyEyeCheck.getBabyId())) { |