Commit 8fde5228b75318202d983f69a4f8f8b47934fca1
1 parent
899a09c0b0
Exists in
master
and in
6 other branches
儿童
Showing 1 changed file with 16 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/BabyModelQuery.java
View file @
8fde522
| ... | ... | @@ -117,6 +117,7 @@ |
| 117 | 117 | |
| 118 | 118 | //就诊卡号 |
| 119 | 119 | private String vcCardNo; |
| 120 | + private String card; | |
| 120 | 121 | |
| 121 | 122 | //儿童身份证 |
| 122 | 123 | private String cardNo; |
| ... | ... | @@ -252,6 +253,15 @@ |
| 252 | 253 | |
| 253 | 254 | private String numberCode; |
| 254 | 255 | |
| 256 | + | |
| 257 | + public String getCard() { | |
| 258 | + return card; | |
| 259 | + } | |
| 260 | + | |
| 261 | + public void setCard(String card) { | |
| 262 | + this.card = card; | |
| 263 | + } | |
| 264 | + | |
| 255 | 265 | public Date getEndCaseTimeStart() { |
| 256 | 266 | return endCaseTimeStart; |
| 257 | 267 | } |
| ... | ... | @@ -1070,6 +1080,12 @@ |
| 1070 | 1080 | } |
| 1071 | 1081 | if (null != weakSonInfos) { |
| 1072 | 1082 | condition = condition.and("weakSonInfo", weakSonInfos, MongoOper.IN); |
| 1083 | + } | |
| 1084 | + | |
| 1085 | + if (StringUtils.isNotEmpty(card)) { | |
| 1086 | + MongoCondition con1 = MongoCondition.newInstance("vcCardNo", card, MongoOper.IS); | |
| 1087 | + MongoCondition con = MongoCondition.newInstance("sINCard", card, MongoOper.IS); | |
| 1088 | + condition = condition.orCondition(new MongoCondition[]{con1, con}); | |
| 1073 | 1089 | } |
| 1074 | 1090 | |
| 1075 | 1091 | if (null != hospitalIdList) { |