Commit 8d1d08bb26fcc682d5613b6eee7954b0a895b349

Authored by jiangjiazhi
1 parent a1e546f3c6

孕妇分娩后 变成产妇

Showing 1 changed file with 13 additions and 0 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ 8d1d08b
... ... @@ -53,6 +53,8 @@
53 53 //创建时间
54 54 private Date created;
55 55  
  56 + private String pid;
  57 +
56 58 public Date getCreated() {
57 59 return created;
58 60 }
... ... @@ -377,6 +379,14 @@
377 379 this.communityId = communityId;
378 380 }
379 381  
  382 + public String getPid() {
  383 + return pid;
  384 + }
  385 +
  386 + public void setPid(String pid) {
  387 + this.pid = pid;
  388 + }
  389 +
380 390 public MongoQuery convertToQuery() {
381 391 MongoCondition condition = MongoCondition.newInstance();
382 392 if (null != keyword) {
... ... @@ -424,6 +434,9 @@
424 434 }
425 435 if (null != hospitalId) {
426 436 condition = condition.and("hospitalId", hospitalId, MongoOper.IS);
  437 + }
  438 + if(null!=pid){
  439 + condition = condition.and("pid", pid, MongoOper.IS);
427 440 }
428 441  
429 442 /* *//**