Commit 6572d128ddee7801306ab5c51a7eedaf86a90bce
1 parent
1a15821d0f
Exists in
master
and in
1 other branch
增加设置parentid
Showing 1 changed file with 5 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/query/ReferralApplyOrderQuery.java
View file @
6572d12
| ... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | import com.lyms.platform.common.dao.operator.MongoCondition; |
| 7 | 7 | import com.lyms.platform.common.dao.operator.MongoOper; |
| 8 | 8 | import com.lyms.platform.common.dao.operator.MongoQuery; |
| 9 | +import com.lyms.platform.common.utils.StringUtils; | |
| 9 | 10 | |
| 10 | 11 | import java.util.ArrayList; |
| 11 | 12 | import java.util.Date; |
| ... | ... | @@ -173,6 +174,9 @@ |
| 173 | 174 | if(null!=expVip){ |
| 174 | 175 | condition=condition.and("expVip",expVip, MongoOper.IS); |
| 175 | 176 | } |
| 177 | + if(StringUtils.isNotEmpty(mCardNo)){ | |
| 178 | + condition=condition.and("mCardNo",mCardNo, MongoOper.IS); | |
| 179 | + } | |
| 176 | 180 | |
| 177 | 181 | if(null!=phone){ |
| 178 | 182 | condition=condition.and("phone",phone, MongoOper.IS); |
| ... | ... | @@ -194,7 +198,7 @@ |
| 194 | 198 | if(null!=riskFactor){ |
| 195 | 199 | condition=condition.and("riskFactor",riskFactor, MongoOper.IS); |
| 196 | 200 | } |
| 197 | - if(null!=cardNo){ | |
| 201 | + if(StringUtils.isNotEmpty(cardNo)){ | |
| 198 | 202 | condition=condition.and("cardNo",cardNo, MongoOper.IS); |
| 199 | 203 | } |
| 200 | 204 | if(null!=type){ |