Commit 05eeed91bf5e3dbddf9eae1eccaf0d5f12e8e012
1 parent
61b8d440dc
Exists in
master
and in
1 other branch
出生医学证明暂时提交
Showing 1 changed file with 1 additions and 8 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PredictedStatisticsFacade.java
View file @
05eeed9
... | ... | @@ -95,7 +95,7 @@ |
95 | 95 | predictedStatisticsQueryModel.setRiskFactor(getRiskFactor(patients.getRiskFactorId())); |
96 | 96 | predictedStatisticsQueryModel.setLastCheckEmployee(getLastCheckEmployee(patients.getLastCheckEmployeeId())); |
97 | 97 | predictedStatisticsQueryModel.setGestationalWeeks(getGestationalWeeks(patients.getLastMenses(), patients.getType(), patients.getDueStatus())); |
98 | - predictedStatisticsQueryModel.setRiskScore(getRiskScore(patients.getRiskScore())); | |
98 | + predictedStatisticsQueryModel.setRiskScore(null == patients.getRiskScore() ? "" : patients.getRiskScore().toString()); | |
99 | 99 | predictedStatisticsQueryModelList.add(predictedStatisticsQueryModel); |
100 | 100 | } |
101 | 101 | } |
... | ... | @@ -255,13 +255,6 @@ |
255 | 255 | } catch (Exception e) { |
256 | 256 | return ""; |
257 | 257 | } |
258 | - } | |
259 | - | |
260 | - private String getRiskScore(Integer in) { | |
261 | - if (in == null || in == 0) { | |
262 | - return ""; | |
263 | - } | |
264 | - return in.toString(); | |
265 | 258 | } |
266 | 259 | |
267 | 260 | } |