Commit 498029587e2823c96bc7aee2bb1f1a76ee6f19f8
1 parent
154bd7523a
Exists in
master
and in
6 other branches
儿童查询条件修改
Showing 1 changed file with 1 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/BabyModelQuery.java
View file @
4980295
... | ... | @@ -981,7 +981,7 @@ |
981 | 981 | if (c != null) { |
982 | 982 | //http://jira.healthbaby.com.cn/browse/WEB-2773 |
983 | 983 | c1.orCondition(new MongoCondition[]{con1, con2, con3, con4}).getCriteria(); |
984 | - c.getCriteriaObject().putAll(c1.getCriteria().getCriteriaObject()); | |
984 | + condition.andCondition(c1); | |
985 | 985 | // c = c.andOperator(c1.orCondition(new MongoCondition[]{con1, con2, con3, con4}).getCriteria()); |
986 | 986 | } else { |
987 | 987 | c = c1.orCondition(new MongoCondition[]{con1, con2, con3, con4}).getCriteria(); |