Commit 927d0ac38abb158d72b07fa8bbbdb48b7dbf587b
1 parent
32ac671e8e
Exists in
master
and in
1 other branch
增加设置parentid
Showing 1 changed file with 1 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/SieveQuery.java
View file @
927d0ac
| ... | ... | @@ -152,7 +152,7 @@ |
| 152 | 152 | condition = condition.and("parentId", parentId, MongoOper.IS); |
| 153 | 153 | } |
| 154 | 154 | if (null != name) { |
| 155 | - condition = condition.and("name", name, MongoOper.IS); | |
| 155 | + condition = condition.and("name", name, MongoOper.LIKE); | |
| 156 | 156 | } |
| 157 | 157 | if (null != tireNumber) { |
| 158 | 158 | condition = condition.and("tireNumber", tireNumber, MongoOper.IS); |