Commit 59cae63e642dd998c79f434e2954f1044b39c5e2
1 parent
238bb16ff0
Exists in
master
and in
6 other branches
分娩记录
Showing 1 changed file with 4 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/PatientRegistrationModelQuery.java
View file @
59cae63
... | ... | @@ -59,6 +59,10 @@ |
59 | 59 | |
60 | 60 | condition = condition.and("name", name, MongoOper.IS); |
61 | 61 | } |
62 | + if (StringUtils.isNotEmpty(hospitalId)) { | |
63 | + | |
64 | + condition = condition.and("hospitalId", hospitalId, MongoOper.IS); | |
65 | + } | |
62 | 66 | if (outType != null) { |
63 | 67 | |
64 | 68 | condition = condition.and("outType", outType, MongoOper.IS); |