Commit aa44c2093897d5eabd5337d1ce8735190c922cf5
1 parent
ea87dcaa8d
Exists in
master
and in
1 other branch
高危
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/MongoUtil.java
View file @
aa44c20
| ... | ... | @@ -614,7 +614,10 @@ |
| 614 | 614 | } |
| 615 | 615 | } |
| 616 | 616 | } |
| 617 | - sb.append(p.getoRiskFactor()); | |
| 617 | + if (p.getoRiskFactor() != null && !"null".equals(p.getoRiskFactor())) | |
| 618 | + { | |
| 619 | + sb.append(p.getoRiskFactor()); | |
| 620 | + } | |
| 618 | 621 | return sb.length() > 0 ? sb.substring(0, sb.length()).toString() : sb.toString(); |
| 619 | 622 | } |
| 620 | 623 |