Commit 13e89e70b0b385674ec1259ae7ca51f6ccc0ed38
1 parent
65cf4fba1e
Exists in
master
and in
6 other branches
新生儿访视-本辖区待访视新生儿列表自动呈现
Showing 1 changed file with 3 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/BabyModelQuery.java
View file @
13e89e7
... | ... | @@ -761,6 +761,9 @@ |
761 | 761 | if (null != id) { |
762 | 762 | condition = condition.and("id", id, MongoOper.IS); |
763 | 763 | } |
764 | + if (null != parentIds && parentIds.size() > 0) { | |
765 | + condition = condition.and("parentid", parentIds, MongoOper.IN); | |
766 | + } | |
764 | 767 | if (null != source) { |
765 | 768 | condition = condition.and("source", source, MongoOper.IS); |
766 | 769 | } |