Commit 49588b32cf6023de62847da0cdfab537fb20e6bd

Authored by gengxiaokai

Merge remote-tracking branch 'origin/master'

Showing 1 changed file

platform-dal/src/main/java/com/lyms/platform/query/BabyModelQuery.java View file @ 49588b3
... ... @@ -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 }