Commit 642d81b6b49ce6e0616e363505131f9c0da491fe
1 parent
e19fbd5009
Exists in
master
and in
8 other branches
增加设置parentid
Showing 1 changed file with 8 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
642d81b
| ... | ... | @@ -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 |