Commit 22cf5bcfa3d6289dc76bf5b9cb6098afd0ca25b9
1 parent
5ffb7af99f
Exists in
master
and in
8 other branches
增加权限
Showing 1 changed file with 1 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
View file @
22cf5bc
| ... | ... | @@ -186,7 +186,7 @@ |
| 186 | 186 | if(visitstatus!=-1){ |
| 187 | 187 | condition= condition.and("isVisit", visitstatus, MongoOper.IS); |
| 188 | 188 | } |
| 189 | - if(null!=communityId){ | |
| 189 | + if(null!=communityId&&!"-1".equals(communityId)){ | |
| 190 | 190 | condition= condition.and("communityId", communityId, MongoOper.IS); |
| 191 | 191 | } |
| 192 | 192 | if(null!=id){ |