Commit 64cf535fc80095b12e223450b9cbd2096fdc7b70
1 parent
378b5d64bf
Exists in
master
and in
7 other branches
修改产检删除
Showing 1 changed file with 2 additions and 2 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java
View file @
64cf535
... | ... | @@ -232,7 +232,7 @@ |
232 | 232 | antExRecordModel.setLastMenses(patients.getLastMenses()); |
233 | 233 | antExRecordModel.setDueDate(patients.getDueDate()); |
234 | 234 | antExRecordModel.setName(patients.getUsername()); |
235 | - antExRecordModel.sethScore(patients.getRiskScore()); | |
235 | + antExRecordModel.sethScore(null==patients.getRiskScore()?0:patients.getRiskScore()); | |
236 | 236 | antExRecordModel.sethRisk(patients.getRiskFactorId()); |
237 | 237 | antExRecordModel.sethLevel(JsonUtil.toList(patients.getRiskLevelId(), List.class)); |
238 | 238 | } else { |
... | ... | @@ -273,7 +273,7 @@ |
273 | 273 | antExRecordModel.setLastMenses(patients.getLastMenses()); |
274 | 274 | antExRecordModel.setDueDate(patients.getDueDate()); |
275 | 275 | antExRecordModel.setName(patients.getUsername()); |
276 | - antExRecordModel.sethScore(patients.getRiskScore()); | |
276 | + antExRecordModel.sethScore(null==patients.getRiskScore()?0:patients.getRiskScore()); | |
277 | 277 | antExRecordModel.sethRisk(patients.getRiskFactorId()); |
278 | 278 | antExRecordModel.sethLevel(JsonUtil.toList(patients.getRiskLevelId(), List.class)); |
279 | 279 | } else { |