Commit 00d24c7f8035570c8808ff7f6d37664d8c9b94d8
1 parent
baaf2b0110
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 2 additions and 2 deletions
platform-dal/src/main/java/com/lyms/platform/query/ReferralApplyOrderQuery.java
View file @
00d24c7
| ... | ... | @@ -251,7 +251,7 @@ |
| 251 | 251 | if(null!=pid){ |
| 252 | 252 | condition=condition.and("pid",pid, MongoOper.IS); |
| 253 | 253 | } |
| 254 | - if(null!=name){ | |
| 254 | + if(StringUtils.isNotEmpty(name)){ | |
| 255 | 255 | condition=condition.and("name",name, MongoOper.LIKE); |
| 256 | 256 | } |
| 257 | 257 | if(null!=serviceStatus){ |
| ... | ... | @@ -270,7 +270,7 @@ |
| 270 | 270 | condition=condition.and("mCardNo",mCardNo, MongoOper.IS); |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | - if(null!=phone){ | |
| 273 | + if(StringUtils.isNotEmpty(phone)){ | |
| 274 | 274 | condition=condition.and("phone",phone, MongoOper.IS); |
| 275 | 275 | } |
| 276 | 276 | if(null!=hospitalId){ |