Commit a396aee4cbd8d7378d387772fc04ca4cac2b871a

Authored by liquanyu
1 parent abd0858eae

筛查统计

Showing 1 changed file with 4 additions and 1 deletions

platform-dal/src/main/java/com/lyms/platform/query/DiagnosisQuery.java View file @ a396aee
... ... @@ -249,7 +249,10 @@
249 249 condition = condition.and("id", id, MongoOper.IS);
250 250 }
251 251 if(null != hospitalIds && hospitalIds.size() > 0){
252   - condition = condition.and("collectHospitalId", hospitalIds, MongoOper.IN);
  252 + condition = condition.and("hospitalId", hospitalIds, MongoOper.IN);
  253 + }
  254 + if(null != hospitalId ){
  255 + condition = condition.and("hospitalId", hospitalId, MongoOper.IS);
253 256 }
254 257 if(null != parentId){
255 258 condition = condition.and("parentId", parentId, MongoOper.IS);