Commit 0bc71666845a47fbbf4b46069cb3c505b6e7e912
1 parent
314045bf9e
Exists in
master
and in
6 other branches
1
Showing 2 changed files with 2 additions and 1 deletions
platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java
View file @
0bc7166
... | ... | @@ -456,8 +456,9 @@ |
456 | 456 | |
457 | 457 | List<String> risk = babyModel.getHighRiskInfo(); |
458 | 458 | |
459 | - if (CollectionUtils.isEmpty(risk)) { | |
459 | + if (CollectionUtils.isEmpty(risk) && null!=patients.getId()) { | |
460 | 460 | babyRiskDetailsService.deleteBabyRiskDetails1(patients.getId()); |
461 | + babyRisksService.deleteBabyRisk1(patients.getId()); | |
461 | 462 | StringBuilder sb= new StringBuilder(); |
462 | 463 | for (String riskId : risk) { |
463 | 464 | if (!"null".equals(riskId) && StringUtils.isNotEmpty(riskId)) { |
platform-job-index/src/main/webapp/WEB-INF/lib/mainData.jar
View file @
0bc7166