Commit 89b836bccbdcb4d626dd4bd5601eb1790d1f2955
1 parent
35184a96cb
Exists in
master
and in
1 other branch
增加社区id
Showing 1 changed file with 1 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
View file @
89b836b
| ... | ... | @@ -199,7 +199,7 @@ |
| 199 | 199 | condition=condition.and("yn", yn, MongoOper.IS); |
| 200 | 200 | } |
| 201 | 201 | if(-1!=type){ |
| 202 | - condition=condition.and("yn", type, MongoOper.IS); | |
| 202 | + condition=condition.and("type", type, MongoOper.IS); | |
| 203 | 203 | } |
| 204 | 204 | /*if(null!=dueDateStart){ |
| 205 | 205 | // condition= condition.elemMatch("dueDate",MongoCondition.newInstance("$lte", dueDateStart, MongoOper.IS).and("$gte", dueDateEnd, MongoOper.IS)); |