Commit 1c8dd2cc5c544e55fd46aaf633f8f1436c22a41d
1 parent
5e9494fa7f
Exists in
master
and in
1 other branch
commit
Showing 1 changed file with 15 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
View file @
1c8dd2c
| ... | ... | @@ -381,6 +381,19 @@ |
| 381 | 381 | * 高危因素 |
| 382 | 382 | */ |
| 383 | 383 | private String rFactor; |
| 384 | + /** | |
| 385 | + * 高危因素集合 | |
| 386 | + */ | |
| 387 | + private List<String> rFactorList; | |
| 388 | + | |
| 389 | + public List<String> getrFactorList() { | |
| 390 | + return rFactorList; | |
| 391 | + } | |
| 392 | + | |
| 393 | + public void setrFactorList(List<String> rFactorList) { | |
| 394 | + this.rFactorList = rFactorList; | |
| 395 | + } | |
| 396 | + | |
| 384 | 397 | private boolean norFactor; |
| 385 | 398 | |
| 386 | 399 | |
| ... | ... | @@ -1169,6 +1182,8 @@ |
| 1169 | 1182 | }else { |
| 1170 | 1183 | c1 = c.andCondition(MongoCondition.newInstance("riskFactorId", null, MongoOper.NE)).getCriteria(); |
| 1171 | 1184 | } |
| 1185 | + }else if(null!=rFactorList){ | |
| 1186 | + condition = condition.and("riskFactorId", rFactorList, MongoOper.IN); | |
| 1172 | 1187 | } |
| 1173 | 1188 | if (-1 != yn) { |
| 1174 | 1189 | condition = condition.and("yn", yn, MongoOper.IS); |