Commit 76854f9ce361652dc9124f5a9a3c78fc72a97ce0

Authored by liquanyu
1 parent 4c47f63a3b

问卷调查

Showing 1 changed file with 1 additions and 1 deletions

platform-dal/src/main/java/com/lyms/platform/query/QuestionQuery.java View file @ 76854f9
... ... @@ -48,7 +48,7 @@
48 48 condition= condition.and("patientId",patientId, MongoOper.IS);
49 49 }
50 50  
51   - if(null != patientIds && patientId.length() > 0){
  51 + if(null != patientIds && patientIds.size() > 0){
52 52 condition= condition.and("patientId",patientIds, MongoOper.IN);
53 53 }
54 54