From d20c3f7ebbc22d7fc309b8a4f6beda9731f6a251 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Thu, 23 Mar 2023 16:05:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E6=9F=A5=E8=AF=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java b/platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java index 06ca75b..e3fc6ce 100644 --- a/platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java +++ b/platform-dal/src/main/java/com/lyms/platform/query/MatDeliverQuery.java @@ -509,7 +509,7 @@ public class MatDeliverQuery extends BaseQuery implements IConvertToNativeQuery condition = condition.and("cityPostRestId", cityPostRestId, MongoOper.IS); if (null != areaPostRestId) { condition = condition.and("areaPostRestId", areaPostRestId, MongoOper.IS); - if (streetPostRestId != null) { + if (streetPostRestId != null && !streetPostRestId.equals("")) { condition = condition.and("streetRegisterId", streetPostRestId, MongoOper.IS); } } -- 1.8.3.1