Commit d20c3f7ebbc22d7fc309b8a4f6beda9731f6a251
1 parent
23ee8097ec
Exists in
master
and in
6 other branches
地区查询添加空字符串判断
Showing 1 changed file with 1 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java
View file @
d20c3f7
... | ... | @@ -509,7 +509,7 @@ |
509 | 509 | condition = condition.and("cityPostRestId", cityPostRestId, MongoOper.IS); |
510 | 510 | if (null != areaPostRestId) { |
511 | 511 | condition = condition.and("areaPostRestId", areaPostRestId, MongoOper.IS); |
512 | - if (streetPostRestId != null) { | |
512 | + if (streetPostRestId != null && !streetPostRestId.equals("")) { | |
513 | 513 | condition = condition.and("streetRegisterId", streetPostRestId, MongoOper.IS); |
514 | 514 | } |
515 | 515 | } |