Commit b2287177be8a56cbcf7bec3f46e5dbc5cbc6af0d
Exists in
master
and in
8 other branches
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
View file @
b228717
... | ... | @@ -860,7 +860,7 @@ |
860 | 860 | condition = condition.and("communityId", null, MongoOper.IS); |
861 | 861 | } |
862 | 862 | //去掉type为3 的情况 |
863 | - if (-1 != type) { | |
863 | + if (type != null && -1 != type) { | |
864 | 864 | condition = condition.and("type", type, MongoOper.IS); |
865 | 865 | } |
866 | 866 | if(null!=postViewTimes){ |