From 3d51a95262a67a218d235127777607abec42733d Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Mon, 5 Sep 2016 17:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E7=94=B5=E5=AD=90?= =?UTF-8?q?=E7=97=85=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java b/platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java index 00ac733..27d80fa 100644 --- a/platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java +++ b/platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java @@ -524,7 +524,7 @@ public class PatientsQuery extends BaseQuery implements IConvertToNativeQuery { if (null != isHighRisk) { condition = condition.and("riskLevelId", null, MongoOper.NE); } else if (StringUtils.isNotEmpty( rLevel)) { - condition = condition.and("riskLevelId", rLevel, MongoOper.IS); + condition = condition.and("riskLevelId", rLevel, MongoOper.LIKE); } if (null != areaId) { condition = condition.and("areaId", areaId, MongoOper.IS); @@ -613,7 +613,7 @@ public class PatientsQuery extends BaseQuery implements IConvertToNativeQuery { if (-1 != type) { condition = condition.and("type", type, MongoOper.IS); } - + boolean isAddStart = Boolean.FALSE; Criteria c = null; if (null != lastMensesStart) { -- 1.8.3.1