|
@ -76,12 +76,14 @@ public class RentTenantInfoServiceImpl extends BaseServiceImpl<RentTenantInfoDao |
|
|
String contractId = (String) params.get("contractId"); |
|
|
String contractId = (String) params.get("contractId"); |
|
|
String idCard = (String) params.get("idCard"); |
|
|
String idCard = (String) params.get("idCard"); |
|
|
String type = (String) params.get("type"); |
|
|
String type = (String) params.get("type"); |
|
|
|
|
|
String state = (String) params.get("state"); |
|
|
|
|
|
|
|
|
QueryWrapper<RentTenantInfoEntity> wrapper = new QueryWrapper<>(); |
|
|
QueryWrapper<RentTenantInfoEntity> wrapper = new QueryWrapper<>(); |
|
|
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); |
|
|
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); |
|
|
wrapper.eq(StringUtils.isNotBlank(contractId), "CONTRACT_ID", contractId); |
|
|
wrapper.eq(StringUtils.isNotBlank(contractId), "CONTRACT_ID", contractId); |
|
|
wrapper.eq(StringUtils.isNotBlank(idCard), "ID_CARD", idCard); |
|
|
wrapper.eq(StringUtils.isNotBlank(idCard), "ID_CARD", idCard); |
|
|
wrapper.eq(StringUtils.isNotBlank(type), "TYPE", type); |
|
|
wrapper.eq(StringUtils.isNotBlank(type), "TYPE", type); |
|
|
|
|
|
wrapper.eq(StringUtils.isNotBlank(state), "STATE", state); |
|
|
|
|
|
|
|
|
return wrapper; |
|
|
return wrapper; |
|
|
} |
|
|
} |
|
|