|
@@ -166,7 +166,7 @@ public class GroupRelationController {
|
|
|
public Result<List<UserTicketView>> getUserTicketView() {
|
|
public Result<List<UserTicketView>> getUserTicketView() {
|
|
|
long userId = StpUserUtil.getLoginIdAsLong();
|
|
long userId = StpUserUtil.getLoginIdAsLong();
|
|
|
List<Long> userIds = userBindRelationService.getRelationUserIdList(userId, null);
|
|
List<Long> userIds = userBindRelationService.getRelationUserIdList(userId, null);
|
|
|
- List<UserTicketView> ticketViews = beanSearcher.searchAll(UserTicketView.class, MapUtils.builder()
|
|
|
|
|
|
|
+ List<UserTicketView> ticketViews = beanSearcher.searchAll(UserTicketView.class, MapUtils.flatBuilder(request.getParameterMap())
|
|
|
.field(UserTicketView::getUserId, userIds).op(Operator.InList)
|
|
.field(UserTicketView::getUserId, userIds).op(Operator.InList)
|
|
|
.field(RenewalView::getStatus, List.of("validity", "outside")).op(Operator.InList)
|
|
.field(RenewalView::getStatus, List.of("validity", "outside")).op(Operator.InList)
|
|
|
.orderBy(UserTicketView::getRelationId).asc()
|
|
.orderBy(UserTicketView::getRelationId).asc()
|