Commit 73716aa892d2ceb55116de1ff179d52fc046b84b

Authored by jiangjiazhi
1 parent 95eb16f747

修改转诊

Showing 1 changed file with 2 additions and 0 deletions

platform-dal/src/main/java/com/lyms/platform/query/BabyModelQuery.java View file @ 73716aa
... ... @@ -419,6 +419,8 @@
419 419  
420 420 if (null != hospitalIdList) {
421 421 condition = condition.and("hospitalId", hospitalIdList, MongoOper.IN);
  422 + }else if (null != hospitalId) {
  423 + condition = condition.and("hospitalId", hospitalId, MongoOper.IS);
422 424 }
423 425 if (!StringUtils.isEmpty(lastDiagnose)) {
424 426 condition = condition.and("lastDiagnose", lastDiagnose, MongoOper.IN);