|
|
@@ -179,7 +179,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
private final VipGoodsSkuMapper vipGoodsSkuMapper;
|
|
|
|
|
|
@Override
|
|
|
- public SearchResult<RenewalView> getMyTicket(long userId, Boolean isLoginPopularize, String customId, String account, String orderNo, Integer cmt, Boolean isVip) {
|
|
|
+ public SearchResult<RenewalView> getMyTicket(long userId, Boolean isLoginPopularize, String customId, String account, String orderNo, Integer cmt) {
|
|
|
User u = userMapper.selectById(userId);
|
|
|
if (u == null) throw BusinessRuntimeException.getGatewayApiCode(GatewayApiCode.CMS_TOKEN_VALID);
|
|
|
if (u.getIsBlack()) {
|
|
|
@@ -213,9 +213,6 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
if (StrUtil.isNotEmpty(orderNo)) {
|
|
|
conditionSql += String.format(" and exists(select 1 from order_don o where o.relation_id = gr.id and o.user_id = gr.user_id and o.order_no = %s and o.status not in ('close','noPayment','refund'))", orderNo);
|
|
|
}
|
|
|
- if (isVip == null) {
|
|
|
- builder.field(RenewalView::getIsVip, false);
|
|
|
- }
|
|
|
SearchResult<RenewalView> list = beanSearcher.search(RenewalView.class, builder
|
|
|
.field(RenewalView::getUserId, 0).op(Operator.GreaterThan)
|
|
|
.field(RenewalView::getUserId, userIds).op(Operator.InList)
|