|
|
@@ -49,8 +49,8 @@ public class UserAssetSummaryService {
|
|
|
Specification<UserAssetSummary> specification = JpaUtils.toSpecification(pageQuery, UserAssetSummary.class);
|
|
|
PageRequest pageRequest = JpaUtils.toPageRequest(pageQuery);
|
|
|
Map<String, Object> query = pageQuery.getQuery();
|
|
|
- if (query.containsKey("type")) {
|
|
|
- String type = String.valueOf(query.get("type"));
|
|
|
+ if (query.containsKey("assetType")) {
|
|
|
+ String type = String.valueOf(query.get("assetType"));
|
|
|
specification = specification
|
|
|
.and((Specification<UserAssetSummary>) (root, criteriaQuery, criteriaBuilder) -> {
|
|
|
List<Predicate> and = new ArrayList<>();
|