Commit 750ea274f6df5ecb1edaa43c458fdd8bd4953095

Authored by liquanyu
1 parent ad2833514b

update code

Showing 1 changed file with 2 additions and 2 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ 750ea27
... ... @@ -1449,9 +1449,9 @@
1449 1449  
1450 1450 if (StringUtils.isNotEmpty(oRiskFactor)) {
1451 1451 if (null != c1) {
1452   - c1 = c1.and("oRiskFactor").exists(false);
  1452 + c1 = c1.and("oRiskFactor").exists(true);
1453 1453 } else {
1454   - c1 = Criteria.where("oRiskFactor").exists(false);
  1454 + c1 = Criteria.where("oRiskFactor").exists(true);
1455 1455 }
1456 1456 }
1457 1457