Commit b21d97c2232671c641d9e27e5b91e5dbcba404b8

Authored by jiangjiazhi
1 parent 01bf0f8302

增加就诊卡号查询

Showing 1 changed file with 7 additions and 0 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ b21d97c
... ... @@ -92,6 +92,10 @@
92 92 * 生日
93 93 */
94 94 private Date birthStart;
  95 + /**
  96 + * 就诊卡号
  97 + */
  98 + private String vcCardNo;
95 99  
96 100 /**
97 101 * 生日
... ... @@ -232,6 +236,9 @@
232 236 }
233 237 if(null!=id){
234 238 condition= condition.and("id", id, MongoOper.IS);
  239 + }
  240 + if(null!=vcCardNo){
  241 + condition= condition.and("vcCardNo", vcCardNo, MongoOper.IS);
235 242 }
236 243 if(null!=cardNo){
237 244 condition=condition.and("cardno", cardNo, MongoOper.IS);