Commit 33de76a112f7b1c4f4d65bab123bed266c0f708f
1 parent
f5f7341ecd
Exists in
master
and in
6 other branches
全部孕妇管理增加按照排序
Showing 1 changed file with 4 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/TrackDownRecordQuery.java
View file @
33de76a
| ... | ... | @@ -120,11 +120,14 @@ |
| 120 | 120 | if(StringUtils.isNotEmpty(areaId)){ |
| 121 | 121 | condition= condition.and("areaId",areaId, MongoOper.IS); |
| 122 | 122 | } |
| 123 | - if(StringUtils.isNotEmpty(areaId)){ | |
| 123 | + if(StringUtils.isNotEmpty(hospitalId)){ | |
| 124 | 124 | condition= condition.and("hospitalId",hospitalId, MongoOper.IS); |
| 125 | 125 | } |
| 126 | 126 | if(StringUtils.isNotEmpty(streetId)){ |
| 127 | 127 | condition = condition.and("streetId", streetId, MongoOper.IS); |
| 128 | + } | |
| 129 | + if(null!=trackType){ | |
| 130 | + condition = condition.and("trackType", trackType, MongoOper.IS); | |
| 128 | 131 | } |
| 129 | 132 | if(StringUtils.isNotEmpty(parentId)){ |
| 130 | 133 | condition = condition.and("parentId", parentId, MongoOper.IS); |