Commit 51ccb9ed68a714ec3e0ead5de19358e7fa3bfc01
1 parent
79421f1002
Exists in
master
and in
6 other branches
高危儿专科列表是否结案筛选BUG修复
Showing 1 changed file with 6 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/BabyHighRiskBabyModelQuery.java
View file @
51ccb9e
... | ... | @@ -364,8 +364,13 @@ |
364 | 364 | } |
365 | 365 | |
366 | 366 | if (StringUtils.isNotEmpty(caseClosed)) { |
367 | + //1是 2否 结案 | |
368 | + if("1".equals(caseClosed)){ | |
369 | + condition = condition.and("caseClosed", caseClosed, MongoOper.IS); | |
370 | + }else { | |
371 | + condition = condition.and("caseClosed", "1", MongoOper.NIN); | |
372 | + } | |
367 | 373 | |
368 | - condition = condition.and("caseClosed", caseClosed, MongoOper.IS); | |
369 | 374 | } |
370 | 375 | |
371 | 376 | if (CollectionUtils.isNotEmpty(highRiskDiagnose)) { |