Commit ac04b41f04c7085f501d0ec76d99ce29df32b76c
1 parent
162495d7f8
Exists in
master
and in
1 other branch
高危评分
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/DischargeAbstractFacade.java
View file @
ac04b41
| ... | ... | @@ -199,6 +199,10 @@ |
| 199 | 199 | // 什么都不干 |
| 200 | 200 | } |
| 201 | 201 | |
| 202 | + if (CollectionUtils.isEmpty(dischargeAbstractQueryResult.getRiskFactoryResultModelList())) { | |
| 203 | + dischargeAbstractQueryResult.setRiskScore(null); | |
| 204 | + } | |
| 205 | + | |
| 202 | 206 | dischargeAbstractQueryResult.setGestationalWeeks(PredictedStatisticsFacade.getGestationalWeeks(patients.getLastMenses(), patients.getType(), patients.getDueStatus())); |
| 203 | 207 | dischargeAbstractQueryResult.setDueDate(patients.getDueDate() == null ? "" : new SimpleDateFormat("yyyy年MM月dd日").format(patients.getDueDate())); |
| 204 | 208 |