Commit adafe6bd3368a4dfe67a4fb8136356bc40924974
1 parent
ccd3a7cc4d
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 1 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/ResidentsArchiveQuery.java
View file @
adafe6b
| ... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 | condition = condition.and("id", id, MongoOper.IS); |
| 108 | 108 | } |
| 109 | 109 | if (StringUtils.isNotBlank(username)) { |
| 110 | - condition = condition.and("username", username, MongoOper.IS); | |
| 110 | + condition = condition.and("username", username, MongoOper.LIKE); | |
| 111 | 111 | } |
| 112 | 112 | if (StringUtils.isNotBlank(phone)) { |
| 113 | 113 | condition = condition.and("phone", phone, MongoOper.IS); |