From 8f9def28b565b46bc71572ca987db7fd5b14551f Mon Sep 17 00:00:00 2001 From: baohanddd Date: Mon, 2 May 2016 17:27:28 +0800 Subject: [PATCH] =?UTF-8?q?add=20data=20import=20:=E6=9C=BA=E6=9E=84?= =?UTF-8?q?=E3=80=81=E9=83=A8=E9=97=A8=E3=80=81=E7=94=A8=E6=88=B7(?= =?UTF-8?q?=E5=8C=BB=E7=94=9F)?= 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d9a88d6..82da9cc 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 @@ -190,7 +190,7 @@ public class PatientsQuery extends BaseQuery implements IConvertToNativeQuery{ condition= condition.and("communityId", communityId, MongoOper.IS); } if(null!=id){ - condition= condition.and("id", new ObjectId(id), MongoOper.IS); + condition= condition.and("id", id, MongoOper.IS); } if(null!=cardNo){ condition=condition.and("cardno", cardNo, MongoOper.IS); -- 1.8.3.1