修改了各市区县代理商查看商家入驻信息的功能模块
This commit is contained in:
parent
a8e18cce82
commit
0062f8c9dd
@ -107,7 +107,7 @@ public class Query {
|
|||||||
list.add(criteriaBuilder.equal(root.get("businessCountry").as(String.class), businessCountry));
|
list.add(criteriaBuilder.equal(root.get("businessCountry").as(String.class), businessCountry));
|
||||||
}
|
}
|
||||||
if(businessName != null && !"".equals(businessName)){
|
if(businessName != null && !"".equals(businessName)){
|
||||||
list.add(criteriaBuilder.equal(root.get("businessName").as(String.class), businessName));
|
list.add(criteriaBuilder.like(root.get("businessName").as(String.class), "%" + businessName + "%"));
|
||||||
}
|
}
|
||||||
list.add(criteriaBuilder.equal(root.get("businessType").as(String.class), "1"));
|
list.add(criteriaBuilder.equal(root.get("businessType").as(String.class), "1"));
|
||||||
Predicate[] predicates = new Predicate[list.size()];
|
Predicate[] predicates = new Predicate[list.size()];
|
||||||
|
Loading…
Reference in New Issue
Block a user