Commit 5abbfaed211cd60b87bbe19a71ce32957da4ec93
1 parent
9cad00c9ca
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 15 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/BabyModelQuery.java
View file @
5abbfae
... | ... | @@ -2154,7 +2154,22 @@ |
2154 | 2154 | if (StringUtils.isNotEmpty(lhEyeCheckMonthId)) { |
2155 | 2155 | condition = condition.and("lhEyeCheckMonthId", lhEyeCheckMonthId, MongoOper.IS); |
2156 | 2156 | } |
2157 | + if (StringUtils.isNotEmpty(provinceId)) { | |
2158 | + condition = condition.and("provinceId", provinceId, MongoOper.IS); | |
2159 | + } | |
2157 | 2160 | |
2161 | + if (StringUtils.isNotEmpty(babyCityId)) { | |
2162 | + condition = condition.and("babyCityId", babyCityId, MongoOper.IS); | |
2163 | + } | |
2164 | + if (StringUtils.isNotEmpty(babyAreaId)) { | |
2165 | + condition = condition.and("babyAreaId", babyAreaId, MongoOper.IS); | |
2166 | + } | |
2167 | + if (StringUtils.isNotEmpty(babyStreetId)) { | |
2168 | + condition = condition.and("babyStreetId", babyStreetId, MongoOper.IS); | |
2169 | + } | |
2170 | + if (StringUtils.isNotEmpty(babyAddress)) { | |
2171 | + condition = condition.and("babyAddress", babyAddress, MongoOper.IN); | |
2172 | + } | |
2158 | 2173 | |
2159 | 2174 | Criteria c = null; |
2160 | 2175 | if (null != birthStart) { |