|
@@ -104,6 +104,7 @@ public class VisitorMainDaoImpl extends BaseImpl implements VisitorMainDaoExtend
|
|
|
criteria.and("applyUserId").is(param.getApplyUserId());
|
|
criteria.and("applyUserId").is(param.getApplyUserId());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 微信小程序的openId
|
|
|
if (StringUtils.isNotEmpty(param.getOpenId())) {
|
|
if (StringUtils.isNotEmpty(param.getOpenId())) {
|
|
|
criteria.and("openId").is(param.getOpenId());
|
|
criteria.and("openId").is(param.getOpenId());
|
|
|
}
|
|
}
|
|
@@ -112,10 +113,12 @@ public class VisitorMainDaoImpl extends BaseImpl implements VisitorMainDaoExtend
|
|
|
if (ObjectUtils.isNotEmpty(param.getVisitorTypes())) {
|
|
if (ObjectUtils.isNotEmpty(param.getVisitorTypes())) {
|
|
|
criteria.and("visitorType").in(param.getVisitorTypes());
|
|
criteria.and("visitorType").in(param.getVisitorTypes());
|
|
|
}
|
|
}
|
|
|
|
|
+ // 能使用的设备
|
|
|
if (ObjectUtils.isNotEmpty(param.getDeviceIds())) {
|
|
if (ObjectUtils.isNotEmpty(param.getDeviceIds())) {
|
|
|
criteria.and("deviceIds").in(param.getDeviceIds());
|
|
criteria.and("deviceIds").in(param.getDeviceIds());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 是否审核成功
|
|
|
if (param.getReViewSuccess() != null) {
|
|
if (param.getReViewSuccess() != null) {
|
|
|
criteria.and("reViewSuccess").is(param.getReViewSuccess());
|
|
criteria.and("reViewSuccess").is(param.getReViewSuccess());
|
|
|
}
|
|
}
|