Commit 4d46fe8684c06e434370fb4db25fae539c1b2bb6
1 parent
cc8fa994a3
Exists in
dev
更改甲减查询条件为包含
Showing 2 changed files with 3 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/dao/operator/MongoOper.java
View file @
4d46fe8
platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
View file @
4d46fe8
... | ... | @@ -1230,7 +1230,7 @@ |
1230 | 1230 | } else if (null != rFactorList && !rFactorList.isEmpty()) { |
1231 | 1231 | condition = condition.and("riskFactorId", rFactorList, MongoOper.IN); |
1232 | 1232 | }else if (null != jFactorList && !jFactorList.isEmpty()) { |
1233 | - condition = condition.and("riskFactorId", jFactorList, MongoOper.NIN); | |
1233 | + condition = condition.and("riskFactorId", jFactorList,MongoOper.OR); | |
1234 | 1234 | } |
1235 | 1235 | |
1236 | 1236 | if (isNullrFactor) { |