Commit 3137c7a6 by shenjinzhu

修改模糊匹配

parent 335690bc
......@@ -100,7 +100,7 @@ public class MessageDaoImpl implements MessageDao {
return null;
}
DBCursor cursor = con
.find(new BasicDBObject("pt", pt).append("templateName",
.find(new BasicDBObject("pt", pt).append("tempName",
new BasicDBObject("$regex", templateName)))
.skip((pageNo - 1) * pageSize).limit(pageSize).sort(new BasicDBObject("createDate", -1));
while (cursor.hasNext()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment