Commit f6e050289dff6f7ec964a3a3c1c54b6bc94e4e84

Authored by liquanyu
1 parent 5250b4dbcc

update

Showing 1 changed file with 1 additions and 1 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ f6e0502
... ... @@ -860,7 +860,7 @@
860 860 condition = condition.and("communityId", null, MongoOper.IS);
861 861 }
862 862 //去掉type为3 的情况
863   - if (-1 != type) {
  863 + if (type != null && -1 != type) {
864 864 condition = condition.and("type", type, MongoOper.IS);
865 865 }
866 866 if(null!=postViewTimes){