Commit fdeaef6264c61eeb9bb6cf8511850d4c3d9e9d20
1 parent
8b7a326b0c
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 9 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/ResidentsArchiveQuery.java
View file @
fdeaef6
... | ... | @@ -152,6 +152,10 @@ |
152 | 152 | if (StringUtils.isNotBlank(areaId)) { |
153 | 153 | condition = condition.and("areaId", areaId, MongoOper.IS); |
154 | 154 | } |
155 | + if (StringUtils.isNotBlank(streetId)) { | |
156 | + condition = condition.and("streetId", streetId, MongoOper.IS); | |
157 | + } | |
158 | + | |
155 | 159 | if (StringUtils.isNotBlank(provinceRegisterId)) { |
156 | 160 | condition = condition.and("provinceRegisterId", provinceRegisterId, MongoOper.IS); |
157 | 161 | } |
... | ... | @@ -161,6 +165,11 @@ |
161 | 165 | if (StringUtils.isNotBlank(areaRegisterId)) { |
162 | 166 | condition = condition.and("areaRegisterId", areaRegisterId, MongoOper.IS); |
163 | 167 | } |
168 | + | |
169 | + if (StringUtils.isNotBlank(streetRegisterId)) { | |
170 | + condition = condition.and("streetRegisterId", streetRegisterId, MongoOper.IS); | |
171 | + } | |
172 | + | |
164 | 173 | if (StringUtils.isNotBlank(vcCardNo)) { |
165 | 174 | condition = condition.and("vcCardNo", vcCardNo, MongoOper.IS); |
166 | 175 | } |