Commit 3cddd56556ff1041308e9bf463e235b9d6eb4669
1 parent
ac607287b0
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 6 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyAutoDiagnoseRiskFacade.java
View file @
3cddd56
... | ... | @@ -398,7 +398,9 @@ |
398 | 398 | List<DiagnoseItemModel> items = mapItems.get(BabyAutoDiagnoseEnums.BabyDiagnoseEnums.ts.getId()); |
399 | 399 | if (CollectionUtils.isNotEmpty(items) && StringUtils.isNotEmpty(tireNumber)) { |
400 | 400 | for (DiagnoseItemModel item : items) { |
401 | - | |
401 | + if(StringUtils.isEmpty(item.getValueTwo())){ | |
402 | + continue; | |
403 | + } | |
402 | 404 | String valueTwo = item.getValueTwo(); |
403 | 405 | if (valueTwo.equals(tireNumber)) { |
404 | 406 | list.addAll(item.getRiskIds()); |
... | ... | @@ -467,6 +469,9 @@ |
467 | 469 | if (type == 2 && CollectionUtils.isNotEmpty(items) && StringUtils.isNotEmpty(baby1.getBabyFypj())) { |
468 | 470 | String babyFypj = baby1.getBabyFypj().toString(); |
469 | 471 | for (DiagnoseItemModel item : items) { |
472 | + if(StringUtils.isEmpty(item.getValueTwo())){ | |
473 | + continue; | |
474 | + } | |
470 | 475 | String valueTwo = item.getValueTwo(); |
471 | 476 | if (valueTwo.equals(babyFypj) && CollectionUtils.isNotEmpty(item.getRiskIds())) { |
472 | 477 | list.addAll(item.getRiskIds()); |