Commit e752e5166e1d8d7f5daae69eddc060f8e70e3ffa
1 parent
fa412a3243
Exists in
master
and in
6 other branches
承德产后访视街道判断
Showing 1 changed file with 3 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java
View file @
e752e51
... | ... | @@ -513,7 +513,9 @@ |
513 | 513 | System.out.println(":::::::::StringUtils.isNotEmpty(streetPostRestId)::::::::::"); |
514 | 514 | if (!streetPostRestId.trim().equals("")) { |
515 | 515 | System.out.println(":::::::::streetPostRestId.trim().equals(\"\")::::::::::"); |
516 | - condition = condition.and("streetPostRestId", streetPostRestId, MongoOper.IS); | |
516 | + MongoCondition mongoCondition = MongoCondition.newInstance("streetRegisterId", streetPostRestId, MongoOper.IS); | |
517 | + MongoCondition condition12 = MongoCondition.newInstance("streetPostRestId", streetPostRestId, MongoOper.IS); | |
518 | + condition = condition.orCondition(new MongoCondition[]{condition12, mongoCondition}); | |
517 | 519 | } |
518 | 520 | } |
519 | 521 | } |