Commit 447ab4cc5140e0e0900eee445ba90a11a8e98d94
Exists in
master
and in
1 other branch
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
447ab4c
| ... | ... | @@ -587,6 +587,14 @@ |
| 587 | 587 | antexListResult.setIsSieve(cap(patients.getLastMenses(), patients.getId())); |
| 588 | 588 | antexListResult.setRiskFactor(highScoreResult.getHighRisk()); |
| 589 | 589 | antexListResult.setRiskScore(highScoreResult.getScore() + ""); |
| 590 | + int days= DateUtil.getDays(patients.getLastMenses(),new Date()); | |
| 591 | +// 28孕周(28+1—28+6) | |
| 592 | + if((days>=197)&&days<=202){ | |
| 593 | + antexListResult.setIsH("1"); | |
| 594 | + } | |
| 595 | + if((days>=253)&&days<=258){ | |
| 596 | + antexListResult.setIsH("1"); | |
| 597 | + } | |
| 590 | 598 | return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(antexListResult); |
| 591 | 599 | } |
| 592 | 600 |