Commit d8e0cd5830294fea97ce6596fd95376aa4f4e7b5

Authored by litao@lymsh.com
1 parent 228f3fe091

bbbbbb

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/MongoUtil.java View file @ d8e0cd5
... ... @@ -696,7 +696,7 @@
696 696  
697 697 public String getPid2(String parentId) {
698 698 Patients patients = mongoTemplate.findById(parentId, Patients.class);
699   - return patients == null || patients.getYn() == 1 ? null : patients.getPid();
  699 + return patients == null || patients.getYn() != 1 ? null : patients.getPid();
700 700 }
701 701  
702 702 }