|
|
@@ -65,7 +65,7 @@ public class CustomerPaymentController extends BaseController {
|
|
|
Page<CustomerPayment> orig = customerPaymentRepo
|
|
|
.findAll((Specification<CustomerPayment>) (root, criteriaQuery, criteriaBuilder) -> {
|
|
|
List<javax.persistence.criteria.Predicate> predicates = toPredicates(pageQuery, CustomerPayment.class, root, criteriaQuery, criteriaBuilder);
|
|
|
- if (!org.springframework.util.StringUtils.isEmpty(pageQuery.getSearch())) {
|
|
|
+ if (StringUtils.isNotBlank(pageQuery.getSearch())) {
|
|
|
predicates.add(
|
|
|
criteriaBuilder.or(
|
|
|
criteriaBuilder
|