Commit 0978a51c5da9b05fb6478d2299890de0414af0a4
1 parent
8ab0880e52
Exists in
master
and in
6 other branches
短信生成
Showing 1 changed file with 2 additions and 2 deletions
platform-msg-generate/src/main/java/com/lyms/platform/msg/service/impl/BaseServiceImpl.java
View file @
0978a51
| ... | ... | @@ -606,7 +606,7 @@ |
| 606 | 606 | break; |
| 607 | 607 | } |
| 608 | 608 | //复诊 |
| 609 | - if (null != model && org.apache.commons.lang.StringUtils.isNotEmpty(model.getRiskFactor()) && !"[]".equals(model.getRiskFactor())) { | |
| 609 | + if (null != model && org.apache.commons.lang.StringUtils.isNotEmpty(model.getRiskFactor()) && !"[]".equals(model.getRiskFactor()) && !"[null]".equals(model.getRiskFactor())) { | |
| 610 | 610 | List list1 = JsonUtil.toList(model.getRiskFactor(), List.class); |
| 611 | 611 | highScoreResult = queryRisk(list1); |
| 612 | 612 | next = false; |
| ... | ... | @@ -632,7 +632,7 @@ |
| 632 | 632 | if (!next) { |
| 633 | 633 | break; |
| 634 | 634 | } |
| 635 | - if (null != antExChuModel && org.apache.commons.lang.StringUtils.isNotEmpty(antExChuModel.getHighrisk()) && !"[]".equals(antExChuModel.getHighrisk())) { | |
| 635 | + if (null != antExChuModel && org.apache.commons.lang.StringUtils.isNotEmpty(antExChuModel.getHighrisk()) && !"[]".equals(antExChuModel.getHighrisk())&& !"[null]".equals(antExChuModel.getHighrisk())) { | |
| 636 | 636 | List list2 = JsonUtil.toList(antExChuModel.getHighrisk(), List.class); |
| 637 | 637 | highScoreResult = queryRisk(list2); |
| 638 | 638 | next = false; |