|
|
@@ -121,10 +121,10 @@ public class VipFrontServiceImpl implements VipFrontService {
|
|
|
for (Long vipSkuId : vipSkuIds) {
|
|
|
GroupsRelationView relation = beanSearcher.searchFirst(GroupsRelationView.class, MapUtils.builder()
|
|
|
.field(GroupsRelationView::getSkuId, vipSkuId)
|
|
|
- .field(GroupsRelationView::getUserId, userIdList)
|
|
|
+ .field(GroupsRelationView::getUserId, userIdList).op(Operator.InList)
|
|
|
.field(GroupsRelationView::getIsVip, false)
|
|
|
.field(GroupsRelationView::getExpiryTime, DateTime.now()).op(Operator.GreaterThan)
|
|
|
- .op(Operator.InList).orderBy(GroupsRelationView::getExpiryTime).desc()
|
|
|
+ .orderBy(GroupsRelationView::getExpiryTime).desc()
|
|
|
.build());
|
|
|
if (relation != null) {
|
|
|
Long goodsId = relation.getGoodsId();
|